Class CreatePrincipalTask

java.lang.Object
ch.tocco.nice2.persist.core.api.exec.AbstractPartitionedPersistTask<Entity,Void,ch.tocco.nice2.usermanager.api.tasks.CreatePrincipalTask.TaskData>
ch.tocco.nice2.usermanager.api.tasks.CreatePrincipalTask
All Implemented Interfaces:
PersistTask<Iterable<Entity>,Iterable<Void>>

public class CreatePrincipalTask extends AbstractPartitionedPersistTask<Entity,Void,ch.tocco.nice2.usermanager.api.tasks.CreatePrincipalTask.TaskData>
CreatePrincipalTask can be used to to create Principals for Users which do not have at least one Principal assigned. As each User needs at least one Principal to login, they get automatically created by the PrincipalEntityListener during creation of new Users in the backend or by importing users using the GenericImporterActionService.
See Also: