Bladeren bron

Fix formatting

Eleftheria Stein 4 jaren geleden
bovenliggende
commit
34a21cd80c

+ 2 - 2
web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java

@@ -371,8 +371,8 @@ public class SwitchUserFilter extends GenericFilterBean implements ApplicationEv
 
 	/**
 	 * Sets the authentication data access object.
-	 * @param userDetailsService The <tt>UserDetailsService</tt> which will be used to load
-	 * information for the user that is being switched to.
+	 * @param userDetailsService The <tt>UserDetailsService</tt> which will be used to
+	 * load information for the user that is being switched to.
 	 */
 	public void setUserDetailsService(UserDetailsService userDetailsService) {
 		this.userDetailsService = userDetailsService;

+ 4 - 4
web/src/main/java/org/springframework/security/web/server/authentication/SwitchUserWebFilter.java

@@ -115,8 +115,8 @@ public class SwitchUserWebFilter implements WebFilter {
 
 	/**
 	 * Creates a filter for the user context switching
-	 * @param userDetailsService The <tt>UserDetailsService</tt> which will be used to load
-	 * information for the user that is being switched to.
+	 * @param userDetailsService The <tt>UserDetailsService</tt> which will be used to
+	 * load information for the user that is being switched to.
 	 * @param successHandler Used to define custom behaviour on a successful switch or
 	 * exit user.
 	 * @param failureHandler Used to define custom behaviour when a switch fails.
@@ -135,8 +135,8 @@ public class SwitchUserWebFilter implements WebFilter {
 
 	/**
 	 * Creates a filter for the user context switching
-	 * @param userDetailsService The <tt>UserDetailsService</tt> which will be used to load
-	 * information for the user that is being switched to.
+	 * @param userDetailsService The <tt>UserDetailsService</tt> which will be used to
+	 * load information for the user that is being switched to.
 	 * @param successTargetUrl Sets the URL to go to after a successful switch / exit user
 	 * request
 	 * @param failureTargetUrl The URL to which a user should be redirected if the switch