Package | Description |
---|---|
org.picketlink.idm.config | |
org.picketlink.idm.credential.handler | |
org.picketlink.idm.credential.util | |
org.picketlink.idm.permission.acl.spi | |
org.picketlink.idm.spi |
Modifier and Type | Method and Description |
---|---|
void |
IdentityStoreConfiguration.initializeContext(IdentityContext context,
IdentityStore<?> store)
Initialize the specified
IdentityContext |
void |
AbstractIdentityStoreConfiguration.initializeContext(IdentityContext context,
IdentityStore<?> store) |
Modifier and Type | Method and Description |
---|---|
CredentialStorage |
DigestCredentialHandler.createCredentialStorage(IdentityContext context,
Account account,
Digest digest,
CredentialStore<?> store,
Date effectiveDate,
Date expiryDate) |
CredentialStorage |
PasswordCredentialHandler.createCredentialStorage(IdentityContext context,
Account account,
U password,
S store,
Date effectiveDate,
Date expiryDate) |
protected abstract CredentialStorage |
AbstractCredentialHandler.createCredentialStorage(IdentityContext context,
Account account,
U password,
S store,
Date effectiveDate,
Date expiryDate) |
CredentialStorage |
TokenCredentialHandler.createCredentialStorage(IdentityContext context,
Account account,
U credential,
S store,
Date effectiveDate,
Date expiryDate) |
CredentialStorage |
X509CertificateCredentialHandler.createCredentialStorage(IdentityContext context,
Account account,
X509Certificate cert,
CredentialStore<?> store,
Date effectiveDate,
Date expiryDate) |
protected Account |
DigestCredentialHandler.getAccount(IdentityContext context,
DigestCredentials credentials) |
protected Account |
AbstractCredentialHandler.getAccount(IdentityContext context,
String userName)
Custom
CredentialHandler implementations may override this method to perform the lookup of Account instances based on the userName . |
protected Account |
PasswordCredentialHandler.getAccount(IdentityContext context,
V credentials) |
protected abstract Account |
AbstractCredentialHandler.getAccount(IdentityContext context,
V credentials) |
protected Account |
TokenCredentialHandler.getAccount(IdentityContext context,
V credentials) |
protected Account |
X509CertificateCredentialHandler.getAccount(IdentityContext context,
X509CertificateCredentials credentials) |
protected Account |
AbstractCredentialHandler.getAccountById(IdentityContext context,
String identifier)
Custom
CredentialHandler implementations may override this method to perform the lookup of Account instances based on the identifier . |
protected CredentialStorage |
DigestCredentialHandler.getCredentialStorage(IdentityContext context,
Account account,
DigestCredentials credentials,
CredentialStore<?> store) |
protected CredentialStorage |
PasswordCredentialHandler.getCredentialStorage(IdentityContext context,
Account account,
V credentials,
S store) |
protected abstract CredentialStorage |
AbstractCredentialHandler.getCredentialStorage(IdentityContext context,
Account account,
V credentials,
S store) |
protected CredentialStorage |
TokenCredentialHandler.getCredentialStorage(IdentityContext context,
Account account,
V credentials,
S store) |
protected X509CertificateStorage |
X509CertificateCredentialHandler.getCredentialStorage(IdentityContext context,
Account account,
X509CertificateCredentials credentials,
CredentialStore<?> store) |
protected IdentityManager |
AbstractCredentialHandler.getIdentityManager(IdentityContext context) |
void |
TOTPCredentialHandler.update(IdentityContext context,
Account account,
TOTPCredential credential,
CredentialStore<?> store,
Date effectiveDate,
Date expiryDate) |
void |
AbstractCredentialHandler.update(IdentityContext context,
Account account,
U password,
S store,
Date effectiveDate,
Date expiryDate) |
void |
CredentialHandler.update(IdentityContext context,
Account account,
U credential,
S store,
Date effectiveDate,
Date expiryDate)
Updates the credential for a certain
Account . |
void |
TOTPCredentialHandler.validate(IdentityContext context,
TOTPCredentials credentials,
CredentialStore<?> store) |
void |
AbstractCredentialHandler.validate(IdentityContext context,
V credentials,
S store) |
void |
CredentialHandler.validate(IdentityContext context,
V credentials,
S store)
Validates a credential.
|
protected boolean |
DigestCredentialHandler.validateCredential(IdentityContext context,
CredentialStorage credentialStorage,
DigestCredentials credentials,
CredentialStore<?> store) |
protected boolean |
PasswordCredentialHandler.validateCredential(IdentityContext context,
CredentialStorage storage,
V credentials,
S store) |
protected abstract boolean |
AbstractCredentialHandler.validateCredential(IdentityContext context,
CredentialStorage credentialStorage,
V credentials,
S store) |
protected boolean |
TokenCredentialHandler.validateCredential(IdentityContext context,
CredentialStorage credentialStorage,
V credentials,
S store) |
protected boolean |
X509CertificateCredentialHandler.validateCredential(IdentityContext context,
CredentialStorage storage,
X509CertificateCredentials credentials,
CredentialStore<?> store) |
Modifier and Type | Method and Description |
---|---|
static <T extends CredentialStorage> |
CredentialUtils.getCurrentCredential(IdentityContext context,
Account agent,
CredentialStore<?> store,
Class<T> storageClass)
Returns the current credential for the given
Agent . |
static boolean |
CredentialUtils.isLastCredentialExpired(IdentityContext context,
Account agent,
CredentialStore<?> store,
Class<? extends CredentialStorage> storageClass) |
Modifier and Type | Method and Description |
---|---|
boolean |
PermissionStore.grantPermission(IdentityContext context,
IdentityType assignee,
Object resource,
String operation)
Grants the specified permission
|
List<Permission> |
PermissionStore.listPermissions(IdentityContext context,
Class<?> resourceClass,
Serializable identifier)
Returns a List containing all the permissions for a resource that has not yet been loaded,
using the specified resource class and resource identifier value.
|
List<Permission> |
PermissionStore.listPermissions(IdentityContext context,
Class<?> resourceClass,
Serializable identifier,
String operation)
Returns a List containing all the permissions for a resource that has not yet been loaded,
using the specified resource class and resource identifier value, with the specified operation.
|
List<Permission> |
PermissionStore.listPermissions(IdentityContext context,
IdentityType identityType)
Returns a list of all
Permission for the given IdentityType . |
List<Permission> |
PermissionStore.listPermissions(IdentityContext context,
Object resource)
Returns a List value containing all permissions for the specified resource.
|
List<Permission> |
PermissionStore.listPermissions(IdentityContext context,
Object resource,
String operation)
Returns a List value containing all permissions for the specified resource, having the specified operation
|
List<Permission> |
PermissionStore.listPermissions(IdentityContext context,
Set<Object> resources,
String operation)
Returns a List value containing all permissions for all of the specified resource,
having the specified operation
|
void |
PermissionStore.revokeAllPermissions(IdentityContext context,
Object resource)
Revokes all permissions for the specified resource
|
boolean |
PermissionStore.revokePermission(IdentityContext context,
IdentityType assignee,
Object resource,
String operation)
Revokes the specified permission
|
Modifier and Type | Method and Description |
---|---|
void |
IdentityStore.add(IdentityContext context,
AttributedType value)
Persists the specified IdentityType
|
void |
PartitionStore.add(IdentityContext identityContext,
Partition partition,
String configurationName) |
<V extends IdentityType> |
IdentityStore.countQueryResults(IdentityContext context,
IdentityQuery<V> identityQuery) |
<V extends Relationship> |
IdentityStore.countQueryResults(IdentityContext context,
RelationshipQuery<V> query) |
<V extends IdentityType> |
IdentityStore.fetchQueryResults(IdentityContext context,
IdentityQuery<V> identityQuery) |
<V extends Relationship> |
IdentityStore.fetchQueryResults(IdentityContext context,
RelationshipQuery<V> query) |
<P extends Partition> |
PartitionStore.get(IdentityContext identityContext,
Class<P> partitionClass) |
<P extends Partition> |
PartitionStore.get(IdentityContext identityContext,
Class<P> partitionClass,
String name) |
<V extends Serializable> |
AttributeStore.getAttribute(IdentityContext context,
AttributedType type,
String attributeName)
Returns the Attribute value with the specified name, for the specified IdentityType
|
String |
PartitionStore.getConfigurationName(IdentityContext identityContext,
Partition partition) |
<T extends AttributeStore<?>> |
StoreSelector.getStoreForAttributeOperation(IdentityContext context)
Returns the AttributeStore that manages attributes.
|
<T extends CredentialStore<?>> |
StoreSelector.getStoreForCredentialOperation(IdentityContext context,
Class<?> credentialClass) |
<T extends IdentityStore<?>> |
StoreSelector.getStoreForIdentityOperation(IdentityContext context,
Class<T> storeType,
Class<? extends AttributedType> type,
IdentityStoreConfiguration.IdentityOperation operation) |
<T extends PartitionStore<?>> |
StoreSelector.getStoreForPartitionOperation(IdentityContext context,
Class<? extends Partition> partitionClass)
Returns the PartitionStore that manages partitions.
|
PermissionStore |
StoreSelector.getStoreForPermissionOperation(IdentityContext context)
Returns a PermissionStore instance
|
IdentityStore<?> |
StoreSelector.getStoreForRelationshipOperation(IdentityContext context,
Class<? extends Relationship> relationshipClass,
Relationship relationship,
IdentityStoreConfiguration.IdentityOperation operation)
Returns the IdentityStore that manages relationships of the specified type, for the specified partition/s.
|
Set<CredentialStore<?>> |
StoreSelector.getStoresForCredentialStorage(IdentityContext context,
Class<? extends CredentialStorage> storageClass)
Returns all available
CredentialStore instances that support the given CredentialStorage
type. |
Set<IdentityStore<?>> |
StoreSelector.getStoresForIdentityQuery(IdentityContext context,
Class<? extends IdentityType> identityType)
Returns all available
IdentityStore instances that support the given IdentityType . |
Set<IdentityStore<?>> |
StoreSelector.getStoresForRelationshipQuery(IdentityContext context,
Class<? extends Relationship> relationshipClass,
Set<Partition> partitions)
Returns all available
IdentityStore instances that support the given IdentityType . |
void |
ContextInitializer.initContextForStore(IdentityContext context,
IdentityStore<?> store)
This method is invoked once and right after the
IdentityContext is created. |
void |
AttributeStore.loadAttributes(IdentityContext context,
AttributedType attributedType)
Loads all attributes for the given
AttributedType . |
<P extends Partition> |
PartitionStore.lookupById(IdentityContext context,
Class<P> partitionClass,
String id) |
void |
IdentityStore.remove(IdentityContext context,
AttributedType value)
Removes the specified IdentityType
|
void |
PartitionStore.remove(IdentityContext identityContext,
Partition partition) |
void |
AttributeStore.removeAttribute(IdentityContext context,
AttributedType type,
String attributeName)
Removes the specified Attribute value, for the specified IdentityType
|
void |
CredentialStore.removeCredential(IdentityContext context,
Account account,
Class<? extends CredentialStorage> storageClass)
Removes all credentials stored by a certain
CredentialStorage associated
with the given Account . |
<T extends CredentialStorage> |
CredentialStore.retrieveCredentials(IdentityContext context,
Account account,
Class<T> storageClass)
Returns a list of all credential state of the specified
T , for the specified Account . |
<T extends CredentialStorage> |
CredentialStore.retrieveCurrentCredential(IdentityContext context,
Account account,
Class<T> storageClass)
Returns the currently active credential state of the specified
T , for the specified Account . |
void |
AttributeStore.setAttribute(IdentityContext context,
AttributedType type,
Attribute<? extends Serializable> attribute)
Sets the specified Attribute value for the specified IdentityType
|
void |
CredentialStore.storeCredential(IdentityContext context,
Account account,
CredentialStorage storage)
Stores the specified credential state.
|
void |
IdentityStore.update(IdentityContext context,
AttributedType value)
Updates the specified IdentityType
|
void |
PartitionStore.update(IdentityContext identityContext,
Partition partition) |
void |
IdentityStore.updateCredential(IdentityContext context,
Account account,
Object credential,
Date effectiveDate,
Date expiryDate)
Updates the specified credential value for the specified Agent.
|
void |
IdentityStore.validateCredentials(IdentityContext context,
Credentials credentials)
Validates the specified credentials.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.