@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<org.picketlink.idm.config.FileIdentityStoreConfiguration>
implements org.picketlink.idm.spi.PartitionStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>, org.picketlink.idm.spi.CredentialStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>, org.picketlink.idm.spi.AttributeStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>
File based IdentityStore implementation.
| Constructor and Description |
|---|
FileIdentityStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.picketlink.idm.spi.IdentityContext identityContext,
org.picketlink.idm.model.Partition partition,
String configurationName) |
void |
addAttributedType(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType attributedType) |
<V extends org.picketlink.idm.model.IdentityType> |
countQueryResults(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.query.IdentityQuery<V> identityQuery) |
<V extends org.picketlink.idm.model.Relationship> |
countQueryResults(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.query.RelationshipQuery<V> query) |
<V extends org.picketlink.idm.model.IdentityType> |
fetchQueryResults(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.query.IdentityQuery<V> identityQuery) |
<T extends org.picketlink.idm.model.Relationship> |
fetchQueryResults(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.query.RelationshipQuery<T> query) |
<P extends org.picketlink.idm.model.Partition> |
get(org.picketlink.idm.spi.IdentityContext identityContext,
Class<P> partitionClass) |
<P extends org.picketlink.idm.model.Partition> |
get(org.picketlink.idm.spi.IdentityContext identityContext,
Class<P> partitionClass,
String name) |
<V extends Serializable> |
getAttribute(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType type,
String attributeName) |
String |
getConfigurationName(org.picketlink.idm.spi.IdentityContext identityContext,
org.picketlink.idm.model.Partition partition) |
void |
loadAttributes(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType attributedType) |
<P extends org.picketlink.idm.model.Partition> |
lookupById(org.picketlink.idm.spi.IdentityContext context,
Class<P> partitionClass,
String id) |
void |
remove(org.picketlink.idm.spi.IdentityContext identityContext,
org.picketlink.idm.model.Partition partition) |
void |
removeAttribute(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType type,
String attributeName) |
void |
removeAttributedType(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType attributedType) |
<T extends org.picketlink.idm.credential.storage.CredentialStorage> |
retrieveCredentials(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.Account account,
Class<T> storageClass) |
<T extends org.picketlink.idm.credential.storage.CredentialStorage> |
retrieveCurrentCredential(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.Account account,
Class<T> storageClass) |
void |
setAttribute(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType type,
org.picketlink.idm.model.Attribute<? extends Serializable> attribute) |
void |
setup(org.picketlink.idm.config.FileIdentityStoreConfiguration configuration) |
void |
storeCredential(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.Account account,
org.picketlink.idm.credential.storage.CredentialStorage storage) |
void |
update(org.picketlink.idm.spi.IdentityContext identityContext,
org.picketlink.idm.model.Partition partition) |
void |
updateAttributedType(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType attributedType) |
add, getConfig, remove, update, updateCredential, validateCredentialspublic void setup(org.picketlink.idm.config.FileIdentityStoreConfiguration configuration)
setup in interface org.picketlink.idm.spi.IdentityStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>setup in class AbstractIdentityStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public void addAttributedType(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType attributedType)
addAttributedType in class AbstractIdentityStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public void updateAttributedType(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType attributedType)
updateAttributedType in class AbstractIdentityStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public void removeAttributedType(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType attributedType)
removeAttributedType in class AbstractIdentityStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public void add(org.picketlink.idm.spi.IdentityContext identityContext,
org.picketlink.idm.model.Partition partition,
String configurationName)
add in interface org.picketlink.idm.spi.PartitionStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public void update(org.picketlink.idm.spi.IdentityContext identityContext,
org.picketlink.idm.model.Partition partition)
update in interface org.picketlink.idm.spi.PartitionStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public void remove(org.picketlink.idm.spi.IdentityContext identityContext,
org.picketlink.idm.model.Partition partition)
remove in interface org.picketlink.idm.spi.PartitionStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public <P extends org.picketlink.idm.model.Partition> P get(org.picketlink.idm.spi.IdentityContext identityContext,
Class<P> partitionClass,
String name)
get in interface org.picketlink.idm.spi.PartitionStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public <P extends org.picketlink.idm.model.Partition> List<P> get(org.picketlink.idm.spi.IdentityContext identityContext, Class<P> partitionClass)
get in interface org.picketlink.idm.spi.PartitionStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public <P extends org.picketlink.idm.model.Partition> P lookupById(org.picketlink.idm.spi.IdentityContext context,
Class<P> partitionClass,
String id)
lookupById in interface org.picketlink.idm.spi.PartitionStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public String getConfigurationName(org.picketlink.idm.spi.IdentityContext identityContext, org.picketlink.idm.model.Partition partition)
getConfigurationName in interface org.picketlink.idm.spi.PartitionStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public void storeCredential(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.Account account,
org.picketlink.idm.credential.storage.CredentialStorage storage)
storeCredential in interface org.picketlink.idm.spi.CredentialStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public <T extends org.picketlink.idm.credential.storage.CredentialStorage> T retrieveCurrentCredential(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.Account account,
Class<T> storageClass)
retrieveCurrentCredential in interface org.picketlink.idm.spi.CredentialStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public <T extends org.picketlink.idm.credential.storage.CredentialStorage> List<T> retrieveCredentials(org.picketlink.idm.spi.IdentityContext context, org.picketlink.idm.model.Account account, Class<T> storageClass)
retrieveCredentials in interface org.picketlink.idm.spi.CredentialStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public <V extends org.picketlink.idm.model.IdentityType> List<V> fetchQueryResults(org.picketlink.idm.spi.IdentityContext context, org.picketlink.idm.query.IdentityQuery<V> identityQuery)
fetchQueryResults in interface org.picketlink.idm.spi.IdentityStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public <V extends org.picketlink.idm.model.IdentityType> int countQueryResults(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.query.IdentityQuery<V> identityQuery)
countQueryResults in interface org.picketlink.idm.spi.IdentityStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public <T extends org.picketlink.idm.model.Relationship> List<T> fetchQueryResults(org.picketlink.idm.spi.IdentityContext context, org.picketlink.idm.query.RelationshipQuery<T> query)
fetchQueryResults in interface org.picketlink.idm.spi.IdentityStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public <V extends org.picketlink.idm.model.Relationship> int countQueryResults(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.query.RelationshipQuery<V> query)
countQueryResults in interface org.picketlink.idm.spi.IdentityStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public void setAttribute(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType type,
org.picketlink.idm.model.Attribute<? extends Serializable> attribute)
setAttribute in interface org.picketlink.idm.spi.AttributeStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public <V extends Serializable> org.picketlink.idm.model.Attribute<V> getAttribute(org.picketlink.idm.spi.IdentityContext context, org.picketlink.idm.model.AttributedType type, String attributeName)
getAttribute in interface org.picketlink.idm.spi.AttributeStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public void loadAttributes(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType attributedType)
loadAttributes in interface org.picketlink.idm.spi.AttributeStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>public void removeAttribute(org.picketlink.idm.spi.IdentityContext context,
org.picketlink.idm.model.AttributedType type,
String attributeName)
removeAttribute in interface org.picketlink.idm.spi.AttributeStore<org.picketlink.idm.config.FileIdentityStoreConfiguration>Copyright © 2013. All Rights Reserved.