public class DefaultIdentityManager extends Object implements org.picketlink.idm.IdentityManager
| Constructor and Description |
|---|
DefaultIdentityManager(org.picketlink.idm.spi.SecurityContext context,
org.picketlink.idm.spi.StoreFactory storeFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.picketlink.idm.model.IdentityType identityType) |
void |
add(org.picketlink.idm.model.Relationship relationship) |
void |
addToGroup(org.picketlink.idm.model.Agent member,
org.picketlink.idm.model.Group group) |
<T extends org.picketlink.idm.model.IdentityType> |
createIdentityQuery(Class<T> identityType) |
<T extends org.picketlink.idm.model.Relationship> |
createRelationshipQuery(Class<T> relationshipType) |
org.picketlink.idm.model.Agent |
getAgent(String loginName) |
org.picketlink.idm.model.Group |
getGroup(String path) |
org.picketlink.idm.model.Group |
getGroup(String name,
org.picketlink.idm.model.Group parent) |
org.picketlink.idm.model.Role |
getRole(String name) |
org.picketlink.idm.model.User |
getUser(String loginName) |
void |
grantGroupRole(org.picketlink.idm.model.IdentityType assignee,
org.picketlink.idm.model.Role role,
org.picketlink.idm.model.Group group) |
void |
grantRole(org.picketlink.idm.model.IdentityType identityType,
org.picketlink.idm.model.Role role) |
boolean |
hasGroupRole(org.picketlink.idm.model.IdentityType assignee,
org.picketlink.idm.model.Role role,
org.picketlink.idm.model.Group group) |
boolean |
hasRole(org.picketlink.idm.model.IdentityType identityType,
org.picketlink.idm.model.Role role) |
boolean |
isMember(org.picketlink.idm.model.IdentityType identityType,
org.picketlink.idm.model.Group group) |
void |
loadAttribute(org.picketlink.idm.model.IdentityType identityType,
String attributeName) |
<T extends org.picketlink.idm.model.IdentityType> |
lookupIdentityById(Class<T> identityType,
String id) |
void |
remove(org.picketlink.idm.model.IdentityType identityType) |
void |
remove(org.picketlink.idm.model.Relationship relationship) |
void |
removeFromGroup(org.picketlink.idm.model.Agent member,
org.picketlink.idm.model.Group group) |
<T extends org.picketlink.idm.credential.spi.CredentialStorage> |
retrieveCredentials(org.picketlink.idm.model.Agent agent,
Class<T> storageClass) |
<T extends org.picketlink.idm.credential.spi.CredentialStorage> |
retrieveCurrentCredential(org.picketlink.idm.model.Agent agent,
Class<T> storageClass) |
void |
revokeGroupRole(org.picketlink.idm.model.IdentityType assignee,
org.picketlink.idm.model.Role role,
org.picketlink.idm.model.Group group) |
void |
revokeRole(org.picketlink.idm.model.IdentityType identityType,
org.picketlink.idm.model.Role role) |
void |
update(org.picketlink.idm.model.IdentityType identityType) |
void |
update(org.picketlink.idm.model.Relationship relationship) |
void |
updateCredential(org.picketlink.idm.model.Agent agent,
Object value) |
void |
updateCredential(org.picketlink.idm.model.Agent agent,
Object credential,
Date effectiveDate,
Date expiryDate) |
void |
validateCredentials(org.picketlink.idm.credential.Credentials credentials) |
public DefaultIdentityManager(org.picketlink.idm.spi.SecurityContext context,
org.picketlink.idm.spi.StoreFactory storeFactory)
public void add(org.picketlink.idm.model.IdentityType identityType)
add in interface org.picketlink.idm.IdentityManagerpublic void add(org.picketlink.idm.model.Relationship relationship)
add in interface org.picketlink.idm.IdentityManagerpublic void update(org.picketlink.idm.model.IdentityType identityType)
update in interface org.picketlink.idm.IdentityManagerpublic void update(org.picketlink.idm.model.Relationship relationship)
update in interface org.picketlink.idm.IdentityManagerpublic void remove(org.picketlink.idm.model.IdentityType identityType)
remove in interface org.picketlink.idm.IdentityManagerpublic void remove(org.picketlink.idm.model.Relationship relationship)
remove in interface org.picketlink.idm.IdentityManagerpublic org.picketlink.idm.model.Agent getAgent(String loginName)
getAgent in interface org.picketlink.idm.IdentityManagerpublic org.picketlink.idm.model.User getUser(String loginName)
getUser in interface org.picketlink.idm.IdentityManagerpublic org.picketlink.idm.model.Group getGroup(String path)
getGroup in interface org.picketlink.idm.IdentityManagerpublic org.picketlink.idm.model.Group getGroup(String name, org.picketlink.idm.model.Group parent)
getGroup in interface org.picketlink.idm.IdentityManagerpublic boolean isMember(org.picketlink.idm.model.IdentityType identityType,
org.picketlink.idm.model.Group group)
isMember in interface org.picketlink.idm.IdentityManagerpublic void addToGroup(org.picketlink.idm.model.Agent member,
org.picketlink.idm.model.Group group)
addToGroup in interface org.picketlink.idm.IdentityManagerpublic void removeFromGroup(org.picketlink.idm.model.Agent member,
org.picketlink.idm.model.Group group)
removeFromGroup in interface org.picketlink.idm.IdentityManagerpublic org.picketlink.idm.model.Role getRole(String name)
getRole in interface org.picketlink.idm.IdentityManagerpublic boolean hasGroupRole(org.picketlink.idm.model.IdentityType assignee,
org.picketlink.idm.model.Role role,
org.picketlink.idm.model.Group group)
hasGroupRole in interface org.picketlink.idm.IdentityManagerpublic void grantGroupRole(org.picketlink.idm.model.IdentityType assignee,
org.picketlink.idm.model.Role role,
org.picketlink.idm.model.Group group)
grantGroupRole in interface org.picketlink.idm.IdentityManagerpublic void revokeGroupRole(org.picketlink.idm.model.IdentityType assignee,
org.picketlink.idm.model.Role role,
org.picketlink.idm.model.Group group)
revokeGroupRole in interface org.picketlink.idm.IdentityManagerpublic boolean hasRole(org.picketlink.idm.model.IdentityType identityType,
org.picketlink.idm.model.Role role)
hasRole in interface org.picketlink.idm.IdentityManagerpublic void grantRole(org.picketlink.idm.model.IdentityType identityType,
org.picketlink.idm.model.Role role)
grantRole in interface org.picketlink.idm.IdentityManagerpublic void revokeRole(org.picketlink.idm.model.IdentityType identityType,
org.picketlink.idm.model.Role role)
revokeRole 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.Agent agent,
Object value)
updateCredential in interface org.picketlink.idm.IdentityManagerpublic void updateCredential(org.picketlink.idm.model.Agent agent,
Object credential,
Date effectiveDate,
Date expiryDate)
updateCredential 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 <T extends org.picketlink.idm.model.Relationship> org.picketlink.idm.query.RelationshipQuery<T> createRelationshipQuery(Class<T> relationshipType)
createRelationshipQuery in interface org.picketlink.idm.IdentityManagerpublic <T extends org.picketlink.idm.model.IdentityType> T lookupIdentityById(Class<T> identityType, String id)
lookupIdentityById in interface org.picketlink.idm.IdentityManagerpublic void loadAttribute(org.picketlink.idm.model.IdentityType identityType,
String attributeName)
loadAttribute in interface org.picketlink.idm.IdentityManagerpublic <T extends org.picketlink.idm.credential.spi.CredentialStorage> T retrieveCurrentCredential(org.picketlink.idm.model.Agent agent,
Class<T> storageClass)
retrieveCurrentCredential in interface org.picketlink.idm.IdentityManagerCopyright © 2013. All Rights Reserved.