From cdcf65de1e88320a5a642e84fb8988721b3a91eb Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Thu, 29 Jun 2017 16:56:16 +0900 Subject: [PATCH] Polish Fixes gh-4425 --- .../web/reactive/server/SecurityMockServerConfigurers.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/src/main/java/org/springframework/security/test/web/reactive/server/SecurityMockServerConfigurers.java b/test/src/main/java/org/springframework/security/test/web/reactive/server/SecurityMockServerConfigurers.java index 4fb903bc6f..5963b5a2f0 100644 --- a/test/src/main/java/org/springframework/security/test/web/reactive/server/SecurityMockServerConfigurers.java +++ b/test/src/main/java/org/springframework/security/test/web/reactive/server/SecurityMockServerConfigurers.java @@ -46,7 +46,7 @@ import java.util.function.Supplier; /** * Test utilities for working with Spring Security and - * {{@link org.springframework.test.web.reactive.server.WebTestClient.Builder#apply(WebTestClientConfigurer)}}. + * {@link org.springframework.test.web.reactive.server.WebTestClient.Builder#apply(WebTestClientConfigurer)}. * * @author Rob Winch * @since 5.0 @@ -71,7 +71,7 @@ public class SecurityMockServerConfigurers { * Updates the ServerWebExchange to use the provided Authentication as the Principal * * @param authentication the Authentication to use. - * @return the {@link WebTestClientConfigurer}} to use + * @return the configurer to use */ public static T mockAuthentication(Authentication authentication) { return (T) new MutatorWebTestClientConfigurer(() -> Mono.just(authentication).map(SecurityContextImpl::new)); @@ -82,7 +82,7 @@ public class SecurityMockServerConfigurers { * the Principal * * @param userDetails the UserDetails to use. - * @return the {@link WebTestClientConfigurer} to use + * @return the configurer to use */ public static T mockUser(UserDetails userDetails) { return mockAuthentication(new UsernamePasswordAuthenticationToken(userDetails, userDetails.getPassword(), userDetails.getAuthorities()));