public interface CredentialStore<T extends IdentityStoreConfiguration> extends IdentityStore<T>
| Modifier and Type | Method and Description |
|---|---|
void |
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> |
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> |
retrieveCurrentCredential(IdentityContext context,
Account account,
Class<T> storageClass)
Returns the currently active credential state of the specified
T, for the specified Account. |
void |
storeCredential(IdentityContext context,
Account account,
CredentialStorage storage)
Stores the specified credential state.
|
add, countQueryResults, countQueryResults, fetchQueryResults, fetchQueryResults, getConfig, remove, setup, update, updateCredential, validateCredentialsvoid storeCredential(IdentityContext context, Account account, CredentialStorage storage)
context - The contextual invocation context.account - The account which credentials should be removed.storage - The credential storage instance to be stored.<T extends CredentialStorage> T retrieveCurrentCredential(IdentityContext context, Account account, Class<T> storageClass)
T, for the specified Account.context - The contextual invocation context.account - The account which credentials should be removed.storageClass - The credential storage type specifying which credential types should be removed.<T extends CredentialStorage> List<T> retrieveCredentials(IdentityContext context, Account account, Class<T> storageClass)
T, for the specified Account.context - The contextual invocation context.account - The account which credentials should be removed.storageClass - The credential storage type specifying which credential types should be removed.void removeCredential(IdentityContext context, Account account, Class<? extends CredentialStorage> storageClass)
Removes all credentials stored by a certain CredentialStorage associated
with the given Account.
context - The contextual invocation context.account - The account which credentials should be removed.storageClass - The credential storage type specifying which credential types should be removed.Copyright © 2018 JBoss by Red Hat. All rights reserved.