We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e0d2f3 commit c854f6bCopy full SHA for c854f6b
web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java
@@ -538,6 +538,14 @@ public void setSwitchUserAuthorityChanger(
538
this.switchUserAuthorityChanger = switchUserAuthorityChanger;
539
}
540
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
+ */
549
public void setUserDetailsChecker(UserDetailsChecker userDetailsChecker) {
550
this.userDetailsChecker = userDetailsChecker;
551
0 commit comments