Modifier and Type | Method and Description |
---|---|
<T extends IdentityType> |
IdentityManager.createIdentityQuery(Class<T> identityType)
Deprecated.
Use the
IdentityManager.getQueryBuilder() to create queries. |
<T extends IdentityType> |
IdentityManager.lookupIdentityById(Class<T> identityType,
String id)
Retrieves an
IdentityType with the given identifier. |
Modifier and Type | Method and Description |
---|---|
void |
IdentityManager.add(IdentityType identityType)
Adds the given
IdentityType instance to the configured identity store. |
void |
PermissionManager.grantPermission(IdentityType assignee,
Object resource,
String operation)
Grant the specified permission
|
boolean |
RelationshipManager.inheritsPrivileges(IdentityType identity,
IdentityType assignee)
Returns true if the specified identity is the same or inherits privileges assigned to the specified assignee,
either via a relationship or a direct reference from the identity (or a combination of these)
|
void |
IdentityCache.invalidate(Partition partition,
IdentityType identity) |
List<Permission> |
PermissionManager.listPermissions(IdentityType identityType)
Returns a list of all
Permission for the given IdentityType . |
void |
IDMLog.partitionUndefinedForTypeUsingDefault(IdentityType identityType,
IdentityStore identityStore,
Realm defaultPartition) |
void |
IDMLog_$logger.partitionUndefinedForTypeUsingDefault(IdentityType identityType,
IdentityStore identityStore,
Realm defaultPartition) |
IdentityManagementException |
IDMMessages.permissionGrantFailed(IdentityType assignee,
Object resource,
String operation,
Throwable t) |
IdentityManagementException |
IDMMessages_$bundle.permissionGrantFailed(IdentityType assignee,
Object resource,
String operation,
Throwable t) |
IdentityManagementException |
IDMMessages.permissionRevokeFailed(IdentityType assignee,
Object resource,
String operation,
Throwable t) |
IdentityManagementException |
IDMMessages_$bundle.permissionRevokeFailed(IdentityType assignee,
Object resource,
String operation,
Throwable t) |
void |
IdentityManager.remove(IdentityType value)
Removes the given
IdentityType instance from the configured identity store. |
void |
PermissionManager.revokePermission(IdentityType assignee,
Class<?> resourceclass,
String operation)
Revoke the specified permission
|
void |
PermissionManager.revokePermission(IdentityType assignee,
Object resource,
String operation)
Revoke the specified permission
|
void |
IdentityManager.update(IdentityType identityType)
Updates the given
IdentityType instance. |
Modifier and Type | Method and Description |
---|---|
IdentityManagementException |
IDMMessages.credentialInvalidAccountType(Class<? extends IdentityType> aClass) |
Modifier and Type | Method and Description |
---|---|
<I extends IdentityType> |
Token.Consumer.extractIdentity(T token,
Class<I> identityType,
StereotypeProperty.Property stereotypeProperty,
Object identifier)
Extracts a certain
IdentityType considering the information from the given Token . |
<I extends IdentityType> |
AbstractTokenConsumer.extractIdentity(T token,
Class<I> identityType,
StereotypeProperty.Property stereotypeProperty,
Object identifier) |
Modifier and Type | Method and Description |
---|---|
IdentityType |
IdentityTypeUpdatedEvent.getIdentityType() |
IdentityType |
IdentityTypeDeletedEvent.getIdentityType() |
IdentityType |
IdentityTypeCreatedEvent.getIdentityType() |
Constructor and Description |
---|
IdentityTypeCreatedEvent(IdentityType identityType,
PartitionManager partitionManager) |
IdentityTypeDeletedEvent(IdentityType identityType,
PartitionManager partitionManager) |
IdentityTypeUpdatedEvent(IdentityType identityType,
PartitionManager partitionManager) |
Modifier and Type | Interface and Description |
---|---|
interface |
Account
Parent interface of all identity types that are capable of authenticating.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractIdentityType
Abstract base class for IdentityType implementations
|
Modifier and Type | Class and Description |
---|---|
class |
Agent
An
Account implementation that represents a non-human authenticating entity |
class |
Group
Represents a Group, which may be used to form collections of other identity objects
|
class |
Role
Represents a role, which may be assigned to account objects in various ways
to grant specific application privileges
|
class |
User
This class represents a User; a human agent that may authenticate with the application
|
Modifier and Type | Method and Description |
---|---|
IdentityType |
Grant.getAssignee() |
Modifier and Type | Method and Description |
---|---|
static void |
BasicModel.grantGroupRole(RelationshipManager relationshipManager,
IdentityType assignee,
Role role,
Group group)
|
static void |
BasicModel.grantRole(RelationshipManager relationshipManager,
IdentityType assignee,
Role role)
Grants the given
Role to the provided IdentityType . |
static boolean |
BasicModel.hasGroupRole(RelationshipManager relationshipManager,
IdentityType assignee,
Role role,
Group group)
|
static boolean |
BasicModel.hasRole(RelationshipManager relationshipManager,
IdentityType assignee,
Role role)
Checks if the given
Role is granted to the provided IdentityType . |
static void |
BasicModel.revokeGroupRole(RelationshipManager relationshipManager,
IdentityType assignee,
Role role,
Group group)
|
static void |
BasicModel.revokeRole(RelationshipManager relationshipManager,
IdentityType assignee,
Role role)
Revokes the given
Role from the provided IdentityType . |
void |
Grant.setAssignee(IdentityType assignee) |
Constructor and Description |
---|
Grant(IdentityType assignee,
Role role) |
GroupRole(IdentityType assignee,
Group group,
Role role) |
Modifier and Type | Method and Description |
---|---|
IdentityType |
IdentityPermission.getAssignee()
Returns the identity to which the permission is assigned.
|
Constructor and Description |
---|
IdentityPermission(Class<?> resourceClass,
Serializable resourceIdentifier,
IdentityType assignee,
String operation) |
IdentityPermission(Object resource,
IdentityType assignee,
String operation) |
Modifier and Type | Method and Description |
---|---|
boolean |
PermissionStore.grantPermission(IdentityContext context,
IdentityType assignee,
Object resource,
String operation)
Grants the specified permission
|
PermissionVoter.VotingResult |
PersistentPermissionVoter.hasPermission(IdentityType recipient,
Class<?> resourceClass,
Serializable identifier,
String operation) |
PermissionVoter.VotingResult |
PersistentPermissionVoter.hasPermission(IdentityType recipient,
Object resource,
String operation) |
List<Permission> |
PermissionStore.listPermissions(IdentityContext context,
IdentityType identityType)
Returns a list of all
Permission for the given IdentityType . |
boolean |
PermissionStore.revokePermission(IdentityContext context,
IdentityType assignee,
Object resource,
String operation)
Revokes the specified permission
|
Modifier and Type | Method and Description |
---|---|
PermissionVoter.VotingResult |
PermissionVoter.hasPermission(IdentityType recipient,
Class<?> resourceClass,
Serializable identifier,
String operation) |
PermissionVoter.VotingResult |
PermissionVoter.hasPermission(IdentityType recipient,
Object resource,
String operation) |
boolean |
PermissionResolver.resolvePermission(IdentityType recipient,
Class<?> resourceClass,
Serializable identifier,
String operation) |
boolean |
PermissionResolver.resolvePermission(IdentityType recipient,
Object resource,
String operation) |
Modifier and Type | Interface and Description |
---|---|
interface |
IdentityQuery<T extends IdentityType>
An
IdentityQuery is responsible for querying the underlying identity stores for instances of
a given IdentityType . |
Modifier and Type | Method and Description |
---|---|
<T extends IdentityType> |
IdentityQueryBuilder.createIdentityQuery(Class<T> identityType)
Create an
IdentityQuery that can be used to query for IdentityType instances of a the given identityType . |
Modifier and Type | Method and Description |
---|---|
IdentityType |
RelationshipCriteria.getCriteria(String propertyName) |
Modifier and Type | Method and Description |
---|---|
void |
RelationshipCriteria.addCriteria(String propertyName,
IdentityType identity) |
Modifier and Type | Method and Description |
---|---|
<V extends IdentityType> |
IdentityStore.countQueryResults(IdentityContext context,
IdentityQuery<V> identityQuery) |
<V extends IdentityType> |
IdentityStore.fetchQueryResults(IdentityContext context,
IdentityQuery<V> identityQuery) |
Modifier and Type | Method and Description |
---|---|
Set<IdentityStore<?>> |
StoreSelector.getStoresForIdentityQuery(IdentityContext context,
Class<? extends IdentityType> identityType)
Returns all available
IdentityStore instances that support the given IdentityType . |
Modifier and Type | Method and Description |
---|---|
static void |
IDMUtil.configureDefaultPartition(IdentityType identityType,
IdentityStore identityStore,
PartitionManager partitionManager)
Configure the default partition for the given identity type, if necessary.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.