public class JDBCIdentityStore extends AbstractIdentityStore<JDBCIdentityStoreConfiguration> implements CredentialStore<JDBCIdentityStoreConfiguration>, PartitionStore<JDBCIdentityStoreConfiguration>, AttributeStore<JDBCIdentityStoreConfiguration>
IdentityStore
using JDBCConstructor and Description |
---|
JDBCIdentityStore() |
add, getConfig, remove, update, updateCredential, validateCredentials
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, getConfig, remove, update, updateCredential, validateCredentials
public void setup(JDBCIdentityStoreConfiguration config)
setup
in interface IdentityStore<JDBCIdentityStoreConfiguration>
setup
in class AbstractIdentityStore<JDBCIdentityStoreConfiguration>
protected void removeFromRelationships(IdentityContext context, IdentityType identityType)
removeFromRelationships
in class AbstractIdentityStore<JDBCIdentityStoreConfiguration>
protected void removeCredentials(IdentityContext context, Account account)
removeCredentials
in class AbstractIdentityStore<JDBCIdentityStoreConfiguration>
protected void addAttributedType(IdentityContext context, AttributedType attributedType)
addAttributedType
in class AbstractIdentityStore<JDBCIdentityStoreConfiguration>
protected void updateAttributedType(IdentityContext context, AttributedType attributedType)
updateAttributedType
in class AbstractIdentityStore<JDBCIdentityStoreConfiguration>
protected void removeAttributedType(IdentityContext context, AttributedType attributedType)
removeAttributedType
in class AbstractIdentityStore<JDBCIdentityStoreConfiguration>
public void storeCredential(IdentityContext context, Account account, CredentialStorage storage)
storeCredential
in interface CredentialStore<JDBCIdentityStoreConfiguration>
public <T extends CredentialStorage> T retrieveCurrentCredential(IdentityContext context, Account account, Class<T> storageClass)
retrieveCurrentCredential
in interface CredentialStore<JDBCIdentityStoreConfiguration>
public <T extends CredentialStorage> List<T> retrieveCredentials(IdentityContext context, Account account, Class<T> storageClass)
retrieveCredentials
in interface CredentialStore<JDBCIdentityStoreConfiguration>
public void removeCredential(IdentityContext context, Account account, Class<? extends CredentialStorage> storageClass)
removeCredential
in interface CredentialStore<JDBCIdentityStoreConfiguration>
public <V extends IdentityType> List<V> fetchQueryResults(IdentityContext context, IdentityQuery<V> identityQuery)
fetchQueryResults
in interface IdentityStore<JDBCIdentityStoreConfiguration>
public <V extends IdentityType> int countQueryResults(IdentityContext context, IdentityQuery<V> identityQuery)
countQueryResults
in interface IdentityStore<JDBCIdentityStoreConfiguration>
countQueryResults
in class AbstractIdentityStore<JDBCIdentityStoreConfiguration>
public <V extends Relationship> List<V> fetchQueryResults(IdentityContext context, RelationshipQuery<V> query)
fetchQueryResults
in interface IdentityStore<JDBCIdentityStoreConfiguration>
public <V extends Relationship> int countQueryResults(IdentityContext context, RelationshipQuery<V> query)
countQueryResults
in interface IdentityStore<JDBCIdentityStoreConfiguration>
countQueryResults
in class AbstractIdentityStore<JDBCIdentityStoreConfiguration>
public void setAttribute(IdentityContext context, AttributedType attributedType, Attribute<? extends Serializable> attribute)
setAttribute
in interface AttributeStore<JDBCIdentityStoreConfiguration>
public <V extends Serializable> Attribute<V> getAttribute(IdentityContext context, AttributedType attributedType, String attributeName)
getAttribute
in interface AttributeStore<JDBCIdentityStoreConfiguration>
public void removeAttribute(IdentityContext context, AttributedType attributedType, String attributeName)
removeAttribute
in interface AttributeStore<JDBCIdentityStoreConfiguration>
public void loadAttributes(IdentityContext context, AttributedType attributedType)
loadAttributes
in interface AttributeStore<JDBCIdentityStoreConfiguration>
public String getConfigurationName(IdentityContext identityContext, Partition partition)
getConfigurationName
in interface PartitionStore<JDBCIdentityStoreConfiguration>
public <P extends Partition> P get(IdentityContext identityContext, Class<P> partitionClass, String name)
get
in interface PartitionStore<JDBCIdentityStoreConfiguration>
public <P extends Partition> List<P> get(IdentityContext identityContext, Class<P> partitionClass)
get
in interface PartitionStore<JDBCIdentityStoreConfiguration>
public <P extends Partition> P lookupById(IdentityContext context, Class<P> partitionClass, String id)
lookupById
in interface PartitionStore<JDBCIdentityStoreConfiguration>
public void add(IdentityContext identityContext, Partition partition, String configurationName)
add
in interface PartitionStore<JDBCIdentityStoreConfiguration>
public void update(IdentityContext identityContext, Partition partition)
update
in interface PartitionStore<JDBCIdentityStoreConfiguration>
public void remove(IdentityContext identityContext, Partition partition)
remove
in interface PartitionStore<JDBCIdentityStoreConfiguration>
Copyright © 2019 JBoss by Red Hat. All rights reserved.