Add missing Javadoc

Closes gh-8743
This commit is contained in:
Eleftheria Stein 2020-06-22 13:13:32 +02:00
parent 6e0d2f3324
commit c854f6b190

View File

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