Class BusinessUnitPrincipalRenameHandler
java.lang.Object
ch.tocco.nice2.userbase.impl.entitylistener.BusinessUnitPrincipalRenameHandler
- All Implemented Interfaces:
PrincipalRenameHandler
@Component
@Order(100)
public class BusinessUnitPrincipalRenameHandler
extends Object
implements PrincipalRenameHandler
If the principal name changes, cached SecurityContext for business units might be incorrect and need to be invalidated
-
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
-
BusinessUnitPrincipalRenameHandler
-
-
Method Details
-
usernameIsChanging
Description copied from interface:PrincipalRenameHandler
Notified at the time the value for the username is changing.- Specified by:
usernameIsChanging
in interfacePrincipalRenameHandler
-