Class SecurityContextPrincipalRenameHandler
java.lang.Object
ch.tocco.nice2.userbase.impl.entitylistener.SecurityContextPrincipalRenameHandler
- All Implemented Interfaces:
PrincipalRenameHandler
@Component
@Order(0)
public class SecurityContextPrincipalRenameHandler
extends Object
implements PrincipalRenameHandler
If the principal name changes, the principal name on the thread must be changed, too.
-
Field Summary
Fields inherited from interface ch.tocco.nice2.userbase.api.PrincipalRenameHandler
SECURITY_CONTEXT_HANDLER_ORDER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notified at the time the value for the username is changing.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.userbase.api.PrincipalRenameHandler
usernameChanged
-
Constructor Details
-
SecurityContextPrincipalRenameHandler
public SecurityContextPrincipalRenameHandler()
-
-
Method Details
-
usernameIsChanging
Description copied from interface:PrincipalRenameHandler
Notified at the time the value for the username is changing.- Specified by:
usernameIsChanging
in interfacePrincipalRenameHandler
-