public abstract class AbstractIdentityStore<C extends IdentityStoreConfiguration> extends Object implements IdentityStore<C>
Constructor and Description |
---|
AbstractIdentityStore() |
Modifier and Type | Method and Description |
---|---|
void |
add(IdentityContext context,
AttributedType attributedType)
Persists the specified IdentityType
|
protected void |
addAttributedType(IdentityContext context,
AttributedType attributedType) |
<V extends IdentityType> |
countQueryResults(IdentityContext context,
IdentityQuery<V> identityQuery) |
<V extends Relationship> |
countQueryResults(IdentityContext context,
RelationshipQuery<V> query) |
C |
getConfig()
Returns the configuration for this IdentityStore instance
|
void |
remove(IdentityContext context,
AttributedType attributedType)
Removes the specified IdentityType
|
protected abstract void |
removeAttributedType(IdentityContext context,
AttributedType attributedType) |
protected abstract void |
removeCredentials(IdentityContext context,
Account account) |
protected abstract void |
removeFromRelationships(IdentityContext context,
IdentityType identityType) |
void |
setup(C config)
Sets the configuration and context in which the IdentityStore will execute its operations
|
void |
update(IdentityContext context,
AttributedType attributedType)
Updates the specified IdentityType
|
protected abstract void |
updateAttributedType(IdentityContext context,
AttributedType attributedType) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fetchQueryResults, fetchQueryResults
public void setup(C config)
IdentityStore
setup
in interface IdentityStore<C extends IdentityStoreConfiguration>
public C getConfig()
IdentityStore
getConfig
in interface IdentityStore<C extends IdentityStoreConfiguration>
public void add(IdentityContext context, AttributedType attributedType)
IdentityStore
add
in interface IdentityStore<C extends IdentityStoreConfiguration>
public void update(IdentityContext context, AttributedType attributedType)
IdentityStore
update
in interface IdentityStore<C extends IdentityStoreConfiguration>
public void remove(IdentityContext context, AttributedType attributedType)
IdentityStore
remove
in interface IdentityStore<C extends IdentityStoreConfiguration>
protected abstract void removeFromRelationships(IdentityContext context, IdentityType identityType)
protected abstract void removeCredentials(IdentityContext context, Account account)
public void validateCredentials(IdentityContext context, Credentials credentials)
IdentityStore
validateCredentials
in interface IdentityStore<C extends IdentityStoreConfiguration>
public void updateCredential(IdentityContext context, Account account, Object credential, Date effectiveDate, Date expiryDate)
IdentityStore
updateCredential
in interface IdentityStore<C extends IdentityStoreConfiguration>
public <V extends IdentityType> int countQueryResults(IdentityContext context, IdentityQuery<V> identityQuery)
countQueryResults
in interface IdentityStore<C extends IdentityStoreConfiguration>
public <V extends Relationship> int countQueryResults(IdentityContext context, RelationshipQuery<V> query)
countQueryResults
in interface IdentityStore<C extends IdentityStoreConfiguration>
protected void addAttributedType(IdentityContext context, AttributedType attributedType)
protected abstract void updateAttributedType(IdentityContext context, AttributedType attributedType)
protected abstract void removeAttributedType(IdentityContext context, AttributedType attributedType)
Copyright © 2018 JBoss by Red Hat. All rights reserved.