When using
JpaIdentityStore with IdentityManager, several events are raised when certain IdentityManager methods are invoked.
This event is raised in response to calling
IdentityManager.createUser(). Just before the user entity is persisted to the database, this event is raised to pass the entity instance as an event parameter. The entity will be an instance of the user-class configured for JpaIdentityStore.
An observer can be useful, here, for setting entity field values that are not part of standard
createUser() functionality.