浏览代码

Fix wrong class name in JavaDoc

In the `ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver.Builder` class the JavaDoc comments mention the wrong class name. This commit fixes this.
sonallux 1 年之前
父节点
当前提交
6df9ef5ba6

+ 9 - 7
web/src/main/java/org/springframework/security/web/server/authentication/ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver.java

@@ -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.
@@ -27,7 +27,6 @@ import org.springframework.security.authentication.AuthenticationServiceExceptio
 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;
@@ -112,7 +111,8 @@ public final class ServerWebExchangeDelegatingReactiveAuthenticationManagerResol
 	}
 
 	/**
-	 * A builder for {@link RequestMatcherDelegatingAuthenticationManagerResolver}.
+	 * A builder for
+	 * {@link ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver}.
 	 */
 	public static final class Builder {
 
@@ -128,8 +128,8 @@ public final class ServerWebExchangeDelegatingReactiveAuthenticationManagerResol
 		 * @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) {
@@ -140,9 +140,11 @@ public final class ServerWebExchangeDelegatingReactiveAuthenticationManagerResol
 		}
 
 		/**
-		 * Creates a {@link RequestMatcherDelegatingAuthenticationManagerResolver}
+		 * Creates a
+		 * {@link ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver}
 		 * instance.
-		 * @return the {@link RequestMatcherDelegatingAuthenticationManagerResolver}
+		 * @return the
+		 * {@link ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver}
 		 * instance
 		 */
 		public ServerWebExchangeDelegatingReactiveAuthenticationManagerResolver build() {