|
|
|
|
@ -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 |
|
|
|
|
|