@ApplicationScoped public class IdentityManagementProducer extends Object
This bean is responsible for initializing the PicketLink IDM subsystem as well produce some core components such as:
PartitionManager
.IdentityManager
.RelationshipManager
.After the creation of the PartitionManager
an PartitionManagerCreateEvent
is fired to perform any
initialization before starting producing partition manager instances. Usually, the initialization will perform validations
against the stored state, create default partitions, etc. If no partition was created during the initialization a default
partition is always created if any of the provided configuration supports that.
Constructor and Description |
---|
IdentityManagementProducer() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
IdentityManager |
produceIdentityManager()
IdentityManager instances are produced accordingly to the current Partition in use. |
PartitionManager |
producePartitionManager() |
PermissionManager |
producePermissionManager() |
RelationshipManager |
produceRelationshipManager() |
@Inject public void init()
@Produces public PartitionManager producePartitionManager()
@Produces @RequestScoped public IdentityManager produceIdentityManager()
IdentityManager
instances are produced accordingly to the current Partition
in use. If no partition is
provided, the default partition will be used.
@Produces @RequestScoped public RelationshipManager produceRelationshipManager()
@Produces @RequestScoped public PermissionManager producePermissionManager()
Copyright © 2018 JBoss by Red Hat. All rights reserved.