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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidNotified 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, waitMethods inherited from interface ch.tocco.nice2.userbase.api.PrincipalRenameHandler
usernameChanged
-
Constructor Details
-
SecurityContextPrincipalRenameHandler
public SecurityContextPrincipalRenameHandler()
-
-
Method Details
-
usernameIsChanging
Description copied from interface:PrincipalRenameHandlerNotified at the time the value for the username is changing.- Specified by:
usernameIsChangingin interfacePrincipalRenameHandler
-