Skip to content

Commit c854f6b

Browse files
committed
Add missing Javadoc
Closes gh-8743
1 parent 6e0d2f3 commit c854f6b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,14 @@ public void setSwitchUserAuthorityChanger(
538538
this.switchUserAuthorityChanger = switchUserAuthorityChanger;
539539
}
540540

541+
/**
542+
* Sets the {@link UserDetailsChecker} that is called on the target user
543+
* whenever the user is switched.
544+
*
545+
* @param userDetailsChecker the {@link UserDetailsChecker} that checks the
546+
* status of the user that is being switched to. Defaults to
547+
* {@link AccountStatusUserDetailsChecker}.
548+
*/
541549
public void setUserDetailsChecker(UserDetailsChecker userDetailsChecker) {
542550
this.userDetailsChecker = userDetailsChecker;
543551
}

0 commit comments

Comments
 (0)