public class ContextualIdentityManager extends AbstractIdentityContext implements org.picketlink.idm.IdentityManager
Default implementation of the IdentityManager interface.
This lightweight class is intended to be created any time a batch of partition-specific identity management operations are to be performed. In a web environment, it is recommended that instances are scoped to the web request lifecycle.
This class is not thread-safe.
| Constructor and Description |
|---|
ContextualIdentityManager(org.picketlink.idm.model.Partition partition,
org.picketlink.idm.event.EventBridge eventBridge,
org.picketlink.idm.IdGenerator idGenerator,
org.picketlink.idm.spi.StoreSelector storeSelector,
org.picketlink.idm.RelationshipManager relationshipManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.picketlink.idm.model.IdentityType identityType) |
<T extends org.picketlink.idm.model.IdentityType> |
createIdentityQuery(Class<T> identityType) |
<T extends org.picketlink.idm.model.IdentityType> |
lookupIdentityById(Class<T> identityType,
String id) |
void |
remove(org.picketlink.idm.model.IdentityType identityType) |
<T extends org.picketlink.idm.credential.storage.CredentialStorage> |
retrieveCredentials(org.picketlink.idm.model.Account account,
Class<T> storageClass) |
<T extends org.picketlink.idm.credential.storage.CredentialStorage> |
retrieveCurrentCredential(org.picketlink.idm.model.Account account,
Class<T> storageClass) |
void |
update(org.picketlink.idm.model.IdentityType identityType) |
void |
updateCredential(org.picketlink.idm.model.Account account,
Object credential) |
void |
updateCredential(org.picketlink.idm.model.Account account,
Object credential,
Date effectiveDate,
Date expiryDate) |
void |
validateCredentials(org.picketlink.idm.credential.Credentials credentials) |
getEventBridge, getIdGenerator, getParameter, getPartition, isParameterSet, setParameterpublic ContextualIdentityManager(org.picketlink.idm.model.Partition partition,
org.picketlink.idm.event.EventBridge eventBridge,
org.picketlink.idm.IdGenerator idGenerator,
org.picketlink.idm.spi.StoreSelector storeSelector,
org.picketlink.idm.RelationshipManager relationshipManager)
public void add(org.picketlink.idm.model.IdentityType identityType)
throws org.picketlink.idm.IdentityManagementException
add in interface org.picketlink.idm.IdentityManagerorg.picketlink.idm.IdentityManagementExceptionpublic void update(org.picketlink.idm.model.IdentityType identityType)
throws org.picketlink.idm.IdentityManagementException
update in interface org.picketlink.idm.IdentityManagerorg.picketlink.idm.IdentityManagementExceptionpublic void remove(org.picketlink.idm.model.IdentityType identityType)
throws org.picketlink.idm.IdentityManagementException
remove in interface org.picketlink.idm.IdentityManagerorg.picketlink.idm.IdentityManagementExceptionpublic <T extends org.picketlink.idm.model.IdentityType> T lookupIdentityById(Class<T> identityType, String id)
lookupIdentityById in interface org.picketlink.idm.IdentityManagerpublic <T extends org.picketlink.idm.model.IdentityType> org.picketlink.idm.query.IdentityQuery<T> createIdentityQuery(Class<T> identityType)
createIdentityQuery in interface org.picketlink.idm.IdentityManagerpublic void validateCredentials(org.picketlink.idm.credential.Credentials credentials)
validateCredentials in interface org.picketlink.idm.IdentityManagerpublic void updateCredential(org.picketlink.idm.model.Account account,
Object credential)
updateCredential in interface org.picketlink.idm.IdentityManagerpublic void updateCredential(org.picketlink.idm.model.Account account,
Object credential,
Date effectiveDate,
Date expiryDate)
updateCredential in interface org.picketlink.idm.IdentityManagerpublic <T extends org.picketlink.idm.credential.storage.CredentialStorage> T retrieveCurrentCredential(org.picketlink.idm.model.Account account,
Class<T> storageClass)
retrieveCurrentCredential in interface org.picketlink.idm.IdentityManagerCopyright © 2013. All Rights Reserved.