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 SummaryFields inherited from interface ch.tocco.nice2.userbase.api.PrincipalRenameHandlerSECURITY_CONTEXT_HANDLER_ORDER
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidNotified at the time the value for the username is changing.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.userbase.api.PrincipalRenameHandlerusernameChanged
- 
Constructor Details- 
SecurityContextPrincipalRenameHandlerpublic SecurityContextPrincipalRenameHandler()
 
- 
- 
Method Details- 
usernameIsChangingDescription copied from interface:PrincipalRenameHandlerNotified at the time the value for the username is changing.- Specified by:
- usernameIsChangingin interface- PrincipalRenameHandler
 
 
-