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, waitfetchQueryResults, fetchQueryResultspublic void setup(C config)
IdentityStoresetup in interface IdentityStore<C extends IdentityStoreConfiguration>public C getConfig()
IdentityStoregetConfig in interface IdentityStore<C extends IdentityStoreConfiguration>public void add(IdentityContext context, AttributedType attributedType)
IdentityStoreadd in interface IdentityStore<C extends IdentityStoreConfiguration>public void update(IdentityContext context, AttributedType attributedType)
IdentityStoreupdate in interface IdentityStore<C extends IdentityStoreConfiguration>public void remove(IdentityContext context, AttributedType attributedType)
IdentityStoreremove 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)
IdentityStorevalidateCredentials in interface IdentityStore<C extends IdentityStoreConfiguration>public void updateCredential(IdentityContext context, Account account, Object credential, Date effectiveDate, Date expiryDate)
IdentityStoreupdateCredential 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.