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 after the transaction has been completed.void
Notified at the time the value for the username is changing.
-
Constructor Details
-
SecurityContextPrincipalRenameHandler
public SecurityContextPrincipalRenameHandler()
-
-
Method Details
-
usernameChanged
Description copied from interface:PrincipalRenameHandler
Notified after the transaction has been completed.- Specified by:
usernameChanged
in interfacePrincipalRenameHandler
-
usernameIsChanging
Description copied from interface:PrincipalRenameHandler
Notified at the time the value for the username is changing.- Specified by:
usernameIsChanging
in interfacePrincipalRenameHandler
-