org.picketlink.idm.file.internal
@CredentialHandlers(value={org.picketlink.idm.credential.handler.PasswordCredentialHandler.class,org.picketlink.idm.credential.handler.X509CertificateCredentialHandler.class,org.picketlink.idm.credential.handler.DigestCredentialHandler.class,org.picketlink.idm.credential.handler.TOTPCredentialHandler.class}) public class FileIdentityStore extends AbstractIdentityStore<FileIdentityStoreConfiguration> implements PartitionStore<FileIdentityStoreConfiguration>, CredentialStore<FileIdentityStoreConfiguration>, AttributeStore<FileIdentityStoreConfiguration>
File based IdentityStore
implementation.
Constructor and Description |
---|
FileIdentityStore() |
add, countQueryResults, countQueryResults, getConfig, remove, update, updateCredential, validateCredentials
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, countQueryResults, countQueryResults, getConfig, remove, update, updateCredential, validateCredentials
public void setup(FileIdentityStoreConfiguration configuration)
setup
in interface IdentityStore<FileIdentityStoreConfiguration>
setup
in class AbstractIdentityStore<FileIdentityStoreConfiguration>
public void addAttributedType(IdentityContext context, AttributedType attributedType)
addAttributedType
in class AbstractIdentityStore<FileIdentityStoreConfiguration>
public void updateAttributedType(IdentityContext context, AttributedType attributedType)
updateAttributedType
in class AbstractIdentityStore<FileIdentityStoreConfiguration>
public void removeAttributedType(IdentityContext context, AttributedType attributedType)
removeAttributedType
in class AbstractIdentityStore<FileIdentityStoreConfiguration>
protected void removeFromRelationships(IdentityContext context, IdentityType identityType)
removeFromRelationships
in class AbstractIdentityStore<FileIdentityStoreConfiguration>
protected void removeCredentials(IdentityContext context, Account account)
removeCredentials
in class AbstractIdentityStore<FileIdentityStoreConfiguration>
public void add(IdentityContext identityContext, Partition partition, String configurationName)
add
in interface PartitionStore<FileIdentityStoreConfiguration>
public void update(IdentityContext identityContext, Partition partition)
update
in interface PartitionStore<FileIdentityStoreConfiguration>
public void remove(IdentityContext identityContext, Partition partition)
remove
in interface PartitionStore<FileIdentityStoreConfiguration>
public <P extends Partition> P get(IdentityContext identityContext, Class<P> partitionClass, String name)
get
in interface PartitionStore<FileIdentityStoreConfiguration>
public <P extends Partition> List<P> get(IdentityContext identityContext, Class<P> partitionClass)
get
in interface PartitionStore<FileIdentityStoreConfiguration>
public <P extends Partition> P lookupById(IdentityContext context, Class<P> partitionClass, String id)
lookupById
in interface PartitionStore<FileIdentityStoreConfiguration>
public String getConfigurationName(IdentityContext identityContext, Partition partition)
getConfigurationName
in interface PartitionStore<FileIdentityStoreConfiguration>
public void storeCredential(IdentityContext context, Account account, CredentialStorage storage)
storeCredential
in interface CredentialStore<FileIdentityStoreConfiguration>
public <T extends CredentialStorage> T retrieveCurrentCredential(IdentityContext context, Account account, Class<T> storageClass)
retrieveCurrentCredential
in interface CredentialStore<FileIdentityStoreConfiguration>
public <T extends CredentialStorage> List<T> retrieveCredentials(IdentityContext context, Account account, Class<T> storageClass)
retrieveCredentials
in interface CredentialStore<FileIdentityStoreConfiguration>
public <V extends IdentityType> List<V> fetchQueryResults(IdentityContext context, IdentityQuery<V> identityQuery)
fetchQueryResults
in interface IdentityStore<FileIdentityStoreConfiguration>
public <T extends Relationship> List<T> fetchQueryResults(IdentityContext context, RelationshipQuery<T> query)
fetchQueryResults
in interface IdentityStore<FileIdentityStoreConfiguration>
public void setAttribute(IdentityContext context, AttributedType type, Attribute<? extends Serializable> attribute)
setAttribute
in interface AttributeStore<FileIdentityStoreConfiguration>
public <V extends Serializable> Attribute<V> getAttribute(IdentityContext context, AttributedType type, String attributeName)
getAttribute
in interface AttributeStore<FileIdentityStoreConfiguration>
public void loadAttributes(IdentityContext context, AttributedType attributedType)
loadAttributes
in interface AttributeStore<FileIdentityStoreConfiguration>
public void removeAttribute(IdentityContext context, AttributedType type, String attributeName)
removeAttribute
in interface AttributeStore<FileIdentityStoreConfiguration>
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.