Skip to content

Commit

Permalink
Fix wrong class name in JavaDoc
Browse files Browse the repository at this point in the history
In the `ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver.Builder` class the JavaDoc comments mention the wrong class name. This commit fixes this.
  • Loading branch information
sonallux authored and jzheaux committed Jan 19, 2024
1 parent 1e90bdf commit 6df9ef5
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,7 +27,6 @@
import org.springframework.security.authentication.ReactiveAuthenticationManager;
import org.springframework.security.authentication.ReactiveAuthenticationManagerResolver;
import org.springframework.security.web.access.intercept.RequestMatcherDelegatingAuthorizationManager;
import org.springframework.security.web.authentication.RequestMatcherDelegatingAuthenticationManagerResolver;
import org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher;
import org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcherEntry;
import org.springframework.util.Assert;
Expand Down Expand Up @@ -112,7 +111,8 @@ private Mono<Boolean> isMatch(ServerWebExchange exchange,
}

/**
* A builder for {@link RequestMatcherDelegatingAuthenticationManagerResolver}.
* A builder for
* {@link ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver}.
*/
public static final class Builder {

Expand All @@ -128,8 +128,8 @@ private Builder() {
* @param matcher the {@link ServerWebExchangeMatcher} to use
* @param manager the {@link ReactiveAuthenticationManager} to use
* @return the
* {@link RequestMatcherDelegatingAuthenticationManagerResolver.Builder} for
* further customizations
* {@link ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver.Builder}
* for further customizations
*/
public ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver.Builder add(
ServerWebExchangeMatcher matcher, ReactiveAuthenticationManager manager) {
Expand All @@ -140,9 +140,11 @@ public ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver.Builder
}

/**
* Creates a {@link RequestMatcherDelegatingAuthenticationManagerResolver}
* Creates a
* {@link ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver}
* instance.
* @return the {@link RequestMatcherDelegatingAuthenticationManagerResolver}
* @return the
* {@link ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver}
* instance
*/
public ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver build() {
Expand Down

0 comments on commit 6df9ef5

Please sign in to comment.