Modifier and Type | Method and Description |
---|---|
<T extends Partition> |
PartitionManager.getPartition(Class<T> partitionClass,
String name)
Return the partition specified by the partition class and name.
|
<T extends Partition> |
PartitionManager.getPartitions(Class<T> partitionClass)
Return all
Partition instances for a given partitionClass . |
<T extends Partition> |
PartitionManager.lookupById(Class<T> partitionClass,
String id)
Return the partition specified by the partition class and identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
PartitionManager.add(Partition partition)
Adds a partition to the default configuration.
|
void |
PartitionManager.add(Partition partition,
String configurationName)
Adds a new partition with a reference to the given
configurationName . |
IdentityManagementException |
IDMInternalMessages.attributedTypeNotFoundWithId(Class<? extends AttributedType> type,
String id,
Partition partition) |
IdentityManager |
PartitionManager.createIdentityManager(Partition partition)
Creates an
IdentityManager for the specified partition. |
PermissionManager |
PartitionManager.createPermissionManager(Partition partition)
Creates a
PermissionManager for the specified partition. |
IdentityManagementException |
IDMInternalMessages.identityTypeAlreadyExists(Class<? extends IdentityType> type,
String identifier,
Partition partition) |
void |
IdentityCache.invalidate(Partition partition,
IdentityType identity) |
Group |
IdentityCache.lookupGroup(Partition partition,
String groupPath)
Returns the cached Group object with the specified group id, in the specified partition.
|
Role |
IdentityCache.lookupRole(Partition partition,
String name)
Returns the cached Role object with the specified name, in the specified partition.
|
IdentityManagementException |
IDMInternalMessages.partitionAddFailed(Partition partition,
String configurationName,
Exception e) |
IdentityManagementException |
IDMInternalMessages.partitionCouldNotCreateIdentityManager(Partition partition,
Throwable t) |
IdentityManagementException |
IDMInternalMessages.partitionCouldNotCreatePermissionManager(Partition partition) |
IdentityManagementException |
IDMInternalMessages.partitionReferencesInvalidConfiguration(Partition partition) |
IdentityManagementException |
IDMInternalMessages.partitionRemoveFailed(Partition partition,
Exception e) |
IdentityManagementException |
IDMInternalMessages.partitionUnsupportedType(Partition partition,
Class<? extends AttributedType> type) |
IdentityManagementException |
IDMInternalMessages.partitionUpdateFailed(Partition partition,
Exception e) |
IdentityManagementException |
IDMInternalMessages.partitionWithNoConfigurationName(Partition partition) |
void |
IdentityCache.putGroup(Partition partition,
Group group)
Inserts the specified group into the cache, within the specified Partition.
|
void |
IdentityCache.putRole(Partition partition,
Role role)
Inserts the specified role into the cache, within the specified Partition.
|
void |
PartitionManager.remove(Partition partition)
Removes the specified partition.
|
void |
PartitionManager.update(Partition partition)
Updates the attributes of the specified partition.
|
Modifier and Type | Method and Description |
---|---|
IdentityManagementException |
IDMInternalMessages.partitionAlreadyExistsWithName(Class<? extends Partition> type,
String name) |
IdentityManagementException |
IDMInternalMessages.partitionFoundWithSameNameAndType(String name,
Class<? extends Partition> partitionClass) |
IdentityManagementException |
IDMInternalMessages.partitionGetFailed(Class<? extends Partition> partitionClass,
String name,
Exception e) |
OperationNotSupportedException |
IDMInternalMessages.partitionManagementNoSupported(Class<Partition> partitionClass,
IdentityStoreConfiguration.IdentityOperation create) |
IdentityManagementException |
IDMInternalMessages.partitionNotFoundWithName(Class<? extends Partition> type,
String name) |
Modifier and Type | Method and Description |
---|---|
Partition |
PartitionDeletedEvent.getPartition() |
Partition |
PartitionCreatedEvent.getPartition() |
Partition |
PartitionUpdatedEvent.getPartition() |
Constructor and Description |
---|
PartitionCreatedEvent(Partition partition,
PartitionManager partitionManager) |
PartitionDeletedEvent(Partition partition,
PartitionManager partitionManager) |
PartitionUpdatedEvent(Partition partition,
PartitionManager partitionManager) |
Modifier and Type | Method and Description |
---|---|
<P extends Partition> |
FileIdentityStore.get(IdentityContext identityContext,
Class<P> partitionClass) |
<P extends Partition> |
FileIdentityStore.get(IdentityContext identityContext,
Class<P> partitionClass,
String name) |
<P extends Partition> |
FileIdentityStore.lookupById(IdentityContext context,
Class<P> partitionClass,
String id) |
Modifier and Type | Method and Description |
---|---|
protected Partition |
FilePartition.doCreateInstance(Map<String,Serializable> properties) |
protected Partition |
FilePartition.doPopulateEntry(Map<String,Serializable> properties) |
Modifier and Type | Method and Description |
---|---|
void |
FileIdentityStore.add(IdentityContext identityContext,
Partition partition,
String configurationName) |
String |
FileIdentityStore.getConfigurationName(IdentityContext identityContext,
Partition partition) |
void |
FileIdentityStore.remove(IdentityContext identityContext,
Partition partition) |
void |
FileIdentityStore.update(IdentityContext identityContext,
Partition partition) |
Constructor and Description |
---|
FilePartition(Partition object,
String configurationName) |
Modifier and Type | Method and Description |
---|---|
<T extends Partition> |
DefaultPartitionManager.getPartition(Class<T> partitionClass,
String name) |
<T extends Partition> |
DefaultPartitionManager.getPartitions(Class<T> partitionClass) |
<T extends Partition> |
DefaultPartitionManager.lookupById(Class<T> partitionClass,
String id) |
Modifier and Type | Method and Description |
---|---|
Partition |
AbstractIdentityContext.getPartition() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultPartitionManager.add(Partition partition) |
void |
DefaultPartitionManager.add(Partition partition,
String configurationName) |
IdentityManager |
DefaultPartitionManager.createIdentityManager(Partition partition) |
PermissionManager |
DefaultPartitionManager.createPermissionManager(Partition partition) |
void |
DefaultIdentityCache.invalidate(Partition partition,
IdentityType identityType) |
Group |
DefaultIdentityCache.lookupGroup(Partition partition,
String groupPath) |
Role |
DefaultIdentityCache.lookupRole(Partition partition,
String name) |
void |
DefaultIdentityCache.putGroup(Partition partition,
Group group) |
void |
DefaultIdentityCache.putRole(Partition partition,
Role role) |
void |
DefaultPartitionManager.remove(Partition partition) |
void |
DefaultPartitionManager.update(Partition partition) |
Modifier and Type | Method and Description |
---|---|
<T extends PartitionStore<?>> |
DefaultPartitionManager.getStoreForPartitionOperation(IdentityContext context,
Class<? extends Partition> partitionClass) |
Set<IdentityStore<?>> |
DefaultPartitionManager.getStoresForRelationshipQuery(IdentityContext context,
Class<? extends Relationship> relationshipClass,
Set<Partition> partitions) |
Constructor and Description |
---|
AbstractIdentityContext(Partition partition,
EventBridge eventBridge,
IdGenerator idGenerator) |
AbstractIdentityContext(Partition partition,
EventBridge eventBridge,
IdGenerator idGenerator,
PermissionHandlerPolicy permissionHandlerPolicy) |
ContextualIdentityManager(Partition partition,
EventBridge eventBridge,
IdGenerator idGenerator,
StoreSelector storeSelector,
RelationshipManager relationshipManager,
PermissionManager permissionManager) |
ContextualPermissionManager(Partition partition,
EventBridge eventBridge,
IdGenerator idGenerator,
PermissionHandlerPolicy permissionHandlerPolicy,
StoreSelector storeSelector) |
Modifier and Type | Method and Description |
---|---|
Set<Partition> |
RelationshipMetadata.getRelationshipPartitions(Relationship relationship) |
Modifier and Type | Method and Description |
---|---|
<P extends Partition> |
JDBCIdentityStore.get(IdentityContext identityContext,
Class<P> partitionClass) |
<P extends Partition> |
JDBCIdentityStore.get(IdentityContext identityContext,
Class<P> partitionClass,
String name) |
<P extends Partition> |
JDBCIdentityStore.lookupById(IdentityContext context,
Class<P> partitionClass,
String id) |
Modifier and Type | Method and Description |
---|---|
void |
JDBCIdentityStore.add(IdentityContext identityContext,
Partition partition,
String configurationName) |
String |
JDBCIdentityStore.getConfigurationName(IdentityContext identityContext,
Partition partition) |
void |
JDBCIdentityStore.remove(IdentityContext identityContext,
Partition partition) |
void |
JDBCIdentityStore.update(IdentityContext identityContext,
Partition partition) |
Modifier and Type | Class and Description |
---|---|
class |
PartitionJdbcType
The JDBC Type for
Partition |
Modifier and Type | Method and Description |
---|---|
protected Partition |
AbstractStorageUtil.loadPartition(DataSource dataSource,
String id) |
Partition |
PartitionStorageUtil.loadPartitionById(DataSource dataSource,
String id)
Load a
Partition given its id |
Partition |
PartitionStorageUtil.loadPartitionByName(DataSource dataSource,
String name)
Load a
Partition given its name |
Modifier and Type | Method and Description |
---|---|
<P extends Partition> |
JPAIdentityStore.get(IdentityContext identityContext,
Class<P> partitionClass) |
<P extends Partition> |
JPAIdentityStore.get(IdentityContext identityContext,
Class<P> partitionClass,
String name) |
<P extends Partition> |
JPAIdentityStore.getPartitions(IdentityContext identityContext,
Class<P> partitionClass,
String name) |
<P extends Partition> |
JPAIdentityStore.lookupById(IdentityContext context,
Class<P> partitionClass,
String id) |
Modifier and Type | Method and Description |
---|---|
void |
JPAIdentityStore.add(IdentityContext identityContext,
Partition partition,
String configurationName) |
String |
JPAIdentityStore.getConfigurationName(IdentityContext identityContext,
Partition partition) |
void |
JPAIdentityStore.remove(IdentityContext identityContext,
Partition partition) |
void |
JPAIdentityStore.update(IdentityContext identityContext,
Partition partition) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPartition
Base class for
Partition implementations. |
Modifier and Type | Method and Description |
---|---|
Partition |
IdentityType.getPartition()
Returns the owning Partition for this identity object.
|
Partition |
AbstractIdentityType.getPartition() |
Modifier and Type | Method and Description |
---|---|
void |
IdentityType.setPartition(Partition partition)
Sets the
Partition for this object. |
void |
AbstractIdentityType.setPartition(Partition partition) |
Modifier and Type | Class and Description |
---|---|
class |
Realm
A Realm defines a boundary for certain identity state.
|
class |
Tier
A hierarchical abstraction representing a partitioned set or subset of services, for which
specialized Roles and Groups may be created.
|
Modifier and Type | Method and Description |
---|---|
<P extends Partition> |
PartitionStore.get(IdentityContext identityContext,
Class<P> partitionClass) |
<P extends Partition> |
PartitionStore.get(IdentityContext identityContext,
Class<P> partitionClass,
String name) |
<P extends Partition> |
PartitionStore.lookupById(IdentityContext context,
Class<P> partitionClass,
String id) |
Modifier and Type | Method and Description |
---|---|
Partition |
IdentityContext.getPartition()
Return the active Partition for this context
|
Modifier and Type | Method and Description |
---|---|
void |
PartitionStore.add(IdentityContext identityContext,
Partition partition,
String configurationName) |
String |
PartitionStore.getConfigurationName(IdentityContext identityContext,
Partition partition) |
void |
PartitionStore.remove(IdentityContext identityContext,
Partition partition) |
void |
PartitionStore.update(IdentityContext identityContext,
Partition partition) |
Modifier and Type | Method and Description |
---|---|
<T extends PartitionStore<?>> |
StoreSelector.getStoreForPartitionOperation(IdentityContext context,
Class<? extends Partition> partitionClass)
Returns the PartitionStore that manages partitions.
|
Set<IdentityStore<?>> |
StoreSelector.getStoresForRelationshipQuery(IdentityContext context,
Class<? extends Relationship> relationshipClass,
Set<Partition> partitions)
Returns all available
IdentityStore instances that support the given IdentityType . |
Modifier and Type | Method and Description |
---|---|
<P extends Partition> |
TokenIdentityStore.get(IdentityContext identityContext,
Class<P> partitionClass) |
<P extends Partition> |
TokenIdentityStore.get(IdentityContext identityContext,
Class<P> partitionClass,
String name) |
<P extends Partition> |
TokenIdentityStore.lookupById(IdentityContext context,
Class<P> partitionClass,
String id) |
Modifier and Type | Method and Description |
---|---|
void |
TokenIdentityStore.add(IdentityContext identityContext,
Partition partition,
String configurationName) |
String |
TokenIdentityStore.getConfigurationName(IdentityContext identityContext,
Partition partition) |
void |
TokenIdentityStore.remove(IdentityContext identityContext,
Partition partition) |
void |
TokenIdentityStore.update(IdentityContext identityContext,
Partition partition) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.