Class UpdateLoginEntityListener

java.lang.Object
ch.tocco.nice2.persist.core.api.util.CollectingEntityListener
ch.tocco.nice2.usermanager.impl.entitylistener.UpdateLoginEntityListener
All Implemented Interfaces:
ContextListener, EntityFacadeListener, CommitListener, EventListener

public class UpdateLoginEntityListener extends CollectingEntityListener
if someone change his email address and User.email==Principal.username → set the new email as Principal.username if the email address was empty before, set it as Principal.username in case the username is standard firstname_lastname