Browse Source

Fix formatting

pull/9197/head
Eleftheria Stein 5 years ago
parent
commit
34a21cd80c
  1. 4
      web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java
  2. 8
      web/src/main/java/org/springframework/security/web/server/authentication/SwitchUserWebFilter.java

4
web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java

@ -371,8 +371,8 @@ public class SwitchUserFilter extends GenericFilterBean implements ApplicationEv @@ -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;

8
web/src/main/java/org/springframework/security/web/server/authentication/SwitchUserWebFilter.java

@ -115,8 +115,8 @@ public class SwitchUserWebFilter implements WebFilter { @@ -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 { @@ -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

Loading…
Cancel
Save