mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-27 18:38:28 +00:00
Add missing Javadoc
Closes gh-8743
This commit is contained in:
parent
6e0d2f3324
commit
c854f6b190
@ -538,6 +538,14 @@ public class SwitchUserFilter extends GenericFilterBean
|
||||
this.switchUserAuthorityChanger = switchUserAuthorityChanger;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the {@link UserDetailsChecker} that is called on the target user
|
||||
* whenever the user is switched.
|
||||
*
|
||||
* @param userDetailsChecker the {@link UserDetailsChecker} that checks the
|
||||
* status of the user that is being switched to. Defaults to
|
||||
* {@link AccountStatusUserDetailsChecker}.
|
||||
*/
|
||||
public void setUserDetailsChecker(UserDetailsChecker userDetailsChecker) {
|
||||
this.userDetailsChecker = userDetailsChecker;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user