public interface IdentityStore<T extends IdentityStoreConfiguration>
Modifier and Type | Method and Description |
---|---|
void |
add(IdentityContext context,
AttributedType value)
Persists the specified IdentityType
|
<V extends IdentityType> |
countQueryResults(IdentityContext context,
IdentityQuery<V> identityQuery) |
<V extends Relationship> |
countQueryResults(IdentityContext context,
RelationshipQuery<V> query) |
<V extends IdentityType> |
fetchQueryResults(IdentityContext context,
IdentityQuery<V> identityQuery) |
<V extends Relationship> |
fetchQueryResults(IdentityContext context,
RelationshipQuery<V> query) |
T |
getConfig()
Returns the configuration for this IdentityStore instance
|
void |
remove(IdentityContext context,
AttributedType value)
Removes the specified IdentityType
|
void |
setup(T config)
Sets the configuration and context in which the IdentityStore will execute its operations
|
void |
update(IdentityContext context,
AttributedType value)
Updates the specified IdentityType
|
void |
updateCredential(IdentityContext context,
Account account,
Object credential,
Date effectiveDate,
Date expiryDate)
Updates the specified credential value for the specified Agent.
|
void |
validateCredentials(IdentityContext context,
Credentials credentials)
Validates the specified credentials.
|
void setup(T config)
config
- context
- T getConfig()
void add(IdentityContext context, AttributedType value)
identityType
- void update(IdentityContext context, AttributedType value)
identityType
- void remove(IdentityContext context, AttributedType value)
identityType
- <V extends IdentityType> List<V> fetchQueryResults(IdentityContext context, IdentityQuery<V> identityQuery)
<V extends IdentityType> int countQueryResults(IdentityContext context, IdentityQuery<V> identityQuery)
<V extends Relationship> List<V> fetchQueryResults(IdentityContext context, RelationshipQuery<V> query)
<V extends Relationship> int countQueryResults(IdentityContext context, RelationshipQuery<V> query)
void validateCredentials(IdentityContext context, Credentials credentials)
credentials
- void updateCredential(IdentityContext context, Account account, Object credential, Date effectiveDate, Date expiryDate)
agent
- credential
- Copyright © 2018 JBoss by Red Hat. All rights reserved.