public class JpaIdentityStore extends Object implements org.picketlink.idm.spi.store.IdentityStore, Serializable
| Modifier and Type | Class and Description |
|---|---|
protected class |
JpaIdentityStore.AttributeValue |
| Modifier and Type | Field and Description |
|---|---|
static String |
OPTION_ATTRIBUTE_CLASS_NAME |
static String |
OPTION_CREDENTIAL_CLASS_NAME |
static String |
OPTION_IDENTITY_CLASS_NAME |
static String |
OPTION_RELATIONSHIP_CLASS_NAME |
static String |
OPTION_ROLE_TYPE_CLASS_NAME |
| Constructor and Description |
|---|
JpaIdentityStore(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identityObject,
org.picketlink.idm.spi.model.IdentityObjectAttribute[] attributes) |
void |
bootstrap(org.picketlink.idm.spi.configuration.IdentityStoreConfigurationContext configurationContext) |
protected void |
configureAttributes() |
protected void |
configureCredentials() |
protected void |
configureIdentityId() |
protected void |
configureIdentityName() |
protected void |
configureIdentityType() |
protected void |
configureRelationships() |
protected void |
configureRoleTypeName() |
org.picketlink.idm.spi.model.IdentityObject |
createIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCtx,
String name,
org.picketlink.idm.spi.model.IdentityObjectType identityObjectType) |
org.picketlink.idm.spi.model.IdentityObject |
createIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
String name,
org.picketlink.idm.spi.model.IdentityObjectType identityObjectType,
Map<String,String[]> attributes) |
org.picketlink.idm.spi.store.IdentityStoreSession |
createIdentityStoreSession() |
org.picketlink.idm.spi.store.IdentityStoreSession |
createIdentityStoreSession(Map<String,Object> sessionOptions) |
org.picketlink.idm.spi.model.IdentityObjectRelationship |
createRelationship(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCtx,
org.picketlink.idm.spi.model.IdentityObject fromIdentity,
org.picketlink.idm.spi.model.IdentityObject toIdentity,
org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType,
String relationshipName,
boolean createNames) |
String |
createRelationshipName(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
String name) |
Collection<org.picketlink.idm.spi.model.IdentityObject> |
findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCxt,
org.picketlink.idm.spi.model.IdentityObject identity,
org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType,
boolean parent,
org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) |
Collection<org.picketlink.idm.spi.model.IdentityObject> |
findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectType identityType,
org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) |
org.picketlink.idm.spi.model.IdentityObject |
findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext,
String id) |
org.picketlink.idm.spi.model.IdentityObject |
findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext,
String name,
org.picketlink.idm.spi.model.IdentityObjectType identityObjectType) |
org.picketlink.idm.spi.model.IdentityObject |
findIdentityObjectByUniqueAttribute(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCtx,
org.picketlink.idm.spi.model.IdentityObjectType identityObjectType,
org.picketlink.idm.spi.model.IdentityObjectAttribute attribute) |
protected org.jboss.solder.properties.Property<Object> |
findNamedProperty(Class<?> targetClass,
String... allowedNames) |
org.picketlink.idm.spi.model.IdentityObjectAttribute |
getAttribute(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity,
String name) |
Map<String,org.picketlink.idm.spi.model.IdentityObjectAttribute> |
getAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identityObject) |
Map<String,org.picketlink.idm.spi.configuration.metadata.IdentityObjectAttributeMetaData> |
getAttributesMetaData(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext,
org.picketlink.idm.spi.model.IdentityObjectType identityType) |
javax.persistence.EntityManager |
getEntityManager(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext) |
String |
getGroupIdentityType() |
String |
getId() |
int |
getIdentityObjectsCount(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCtx,
org.picketlink.idm.spi.model.IdentityObjectType identityType) |
Map<String,String> |
getRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
String name) |
Set<String> |
getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity,
org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) |
Set<String> |
getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) |
Map<String,String> |
getRelationshipProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectRelationship relationship) |
String |
getRelationshipTypeMembership() |
String |
getRelationshipTypeRole() |
String |
getRoleIdentityType() |
Set<String> |
getSupportedAttributeNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext,
org.picketlink.idm.spi.model.IdentityObjectType identityType) |
org.picketlink.idm.spi.store.FeaturesMetaData |
getSupportedFeatures() |
String |
getUserIdentityType() |
protected Object |
lookupCredentialTypeEntity(String name,
javax.persistence.EntityManager em) |
protected Object |
lookupIdentity(org.picketlink.idm.spi.model.IdentityObject obj,
javax.persistence.EntityManager em) |
protected Object |
lookupIdentityType(String identityType,
javax.persistence.EntityManager em) |
protected Object |
lookupRelationshipType(org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType,
javax.persistence.EntityManager em) |
void |
removeAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identityObject,
String[] attributeNames)
Removes the attributes specified by the attributeNames property.
|
void |
removeIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity) |
void |
removeRelationship(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject fromIdentity,
org.picketlink.idm.spi.model.IdentityObject toIdentity,
org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType,
String relationshipName) |
String |
removeRelationshipName(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
String name) |
void |
removeRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
String name,
Set<String> properties) |
void |
removeRelationshipProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectRelationship relationship,
Set<String> properties) |
void |
removeRelationships(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity1,
org.picketlink.idm.spi.model.IdentityObject identity2,
boolean named) |
Set<org.picketlink.idm.spi.model.IdentityObjectRelationship> |
resolveRelationships(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject fromIdentity,
org.picketlink.idm.spi.model.IdentityObject toIdentity,
org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType) |
Set<org.picketlink.idm.spi.model.IdentityObjectRelationship> |
resolveRelationships(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity,
org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType,
boolean parent,
boolean named,
String name) |
void |
setGroupIdentityType(String groupIdentityType) |
void |
setRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
String name,
Map<String,String> properties) |
void |
setRelationshipProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectRelationship relationship,
Map<String,String> properties) |
void |
setRelationshipTypeMembership(String relationshipTypeMembership) |
void |
setRelationshipTypeRole(String relationshipTypeRole) |
void |
setRoleIdentityType(String roleIdentityType) |
void |
setUserIdentityType(String userIdentityType) |
void |
updateAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identityObject,
org.picketlink.idm.spi.model.IdentityObjectAttribute[] attributes) |
void |
updateCredential(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identityObject,
org.picketlink.idm.spi.model.IdentityObjectCredential credential) |
boolean |
validateCredential(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identityObject,
org.picketlink.idm.spi.model.IdentityObjectCredential credential) |
public static final String OPTION_IDENTITY_CLASS_NAME
public static final String OPTION_CREDENTIAL_CLASS_NAME
public static final String OPTION_RELATIONSHIP_CLASS_NAME
public static final String OPTION_ROLE_TYPE_CLASS_NAME
public static final String OPTION_ATTRIBUTE_CLASS_NAME
public JpaIdentityStore(String id)
public void bootstrap(org.picketlink.idm.spi.configuration.IdentityStoreConfigurationContext configurationContext)
throws org.picketlink.idm.common.exception.IdentityException
bootstrap in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionprotected void configureIdentityId()
throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionprotected void configureIdentityName()
throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionprotected void configureIdentityType()
throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionprotected org.jboss.solder.properties.Property<Object> findNamedProperty(Class<?> targetClass, String... allowedNames)
protected void configureCredentials()
throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionprotected void configureRelationships()
throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionprotected void configureAttributes()
throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionprotected void configureRoleTypeName()
public String getUserIdentityType()
public void setUserIdentityType(String userIdentityType)
public String getRoleIdentityType()
public void setRoleIdentityType(String roleIdentityType)
public String getGroupIdentityType()
public void setGroupIdentityType(String groupIdentityType)
public String getRelationshipTypeMembership()
public void setRelationshipTypeMembership(String relationshipTypeMembership)
public String getRelationshipTypeRole()
public void setRelationshipTypeRole(String relationshipTypeRole)
public org.picketlink.idm.spi.store.IdentityStoreSession createIdentityStoreSession(Map<String,Object> sessionOptions) throws org.picketlink.idm.common.exception.IdentityException
createIdentityStoreSession in interface org.picketlink.idm.spi.store.IdentityStoreSessionFactoryorg.picketlink.idm.common.exception.IdentityExceptionpublic org.picketlink.idm.spi.model.IdentityObject createIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCtx,
String name,
org.picketlink.idm.spi.model.IdentityObjectType identityObjectType)
throws org.picketlink.idm.common.exception.IdentityException
createIdentityObject in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionprotected Object lookupIdentityType(String identityType, javax.persistence.EntityManager em)
public org.picketlink.idm.spi.model.IdentityObject createIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
String name,
org.picketlink.idm.spi.model.IdentityObjectType identityObjectType,
Map<String,String[]> attributes)
throws org.picketlink.idm.common.exception.IdentityException
createIdentityObject in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic org.picketlink.idm.spi.model.IdentityObjectRelationship createRelationship(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCtx,
org.picketlink.idm.spi.model.IdentityObject fromIdentity,
org.picketlink.idm.spi.model.IdentityObject toIdentity,
org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType,
String relationshipName,
boolean createNames)
throws org.picketlink.idm.common.exception.IdentityException
createRelationship in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionprotected Object lookupIdentity(org.picketlink.idm.spi.model.IdentityObject obj, javax.persistence.EntityManager em)
protected Object lookupCredentialTypeEntity(String name, javax.persistence.EntityManager em)
protected Object lookupRelationshipType(org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, javax.persistence.EntityManager em)
public String createRelationshipName(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name) throws org.picketlink.idm.common.exception.IdentityException, org.picketlink.idm.spi.exception.OperationNotSupportedException
createRelationshipName in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionorg.picketlink.idm.spi.exception.OperationNotSupportedExceptionpublic javax.persistence.EntityManager getEntityManager(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext)
public org.picketlink.idm.spi.model.IdentityObject findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext,
String id)
throws org.picketlink.idm.common.exception.IdentityException
findIdentityObject in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic org.picketlink.idm.spi.model.IdentityObject findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext,
String name,
org.picketlink.idm.spi.model.IdentityObjectType identityObjectType)
throws org.picketlink.idm.common.exception.IdentityException
findIdentityObject in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic Collection<org.picketlink.idm.spi.model.IdentityObject> findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectType identityType, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) throws org.picketlink.idm.common.exception.IdentityException
findIdentityObject in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic String getId()
getId in interface org.picketlink.idm.spi.store.AttributeStoregetId in interface org.picketlink.idm.spi.store.IdentityStorepublic Set<String> getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) throws org.picketlink.idm.common.exception.IdentityException, org.picketlink.idm.spi.exception.OperationNotSupportedException
getRelationshipNames in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionorg.picketlink.idm.spi.exception.OperationNotSupportedExceptionpublic Set<String> getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) throws org.picketlink.idm.common.exception.IdentityException, org.picketlink.idm.spi.exception.OperationNotSupportedException
getRelationshipNames in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionorg.picketlink.idm.spi.exception.OperationNotSupportedExceptionpublic Map<String,String> getRelationshipProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectRelationship relationship) throws org.picketlink.idm.common.exception.IdentityException, org.picketlink.idm.spi.exception.OperationNotSupportedException
getRelationshipProperties in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionorg.picketlink.idm.spi.exception.OperationNotSupportedExceptionpublic org.picketlink.idm.spi.store.FeaturesMetaData getSupportedFeatures()
getSupportedFeatures in interface org.picketlink.idm.spi.store.IdentityStorepublic void removeIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity)
throws org.picketlink.idm.common.exception.IdentityException
removeIdentityObject in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic void removeRelationship(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject fromIdentity,
org.picketlink.idm.spi.model.IdentityObject toIdentity,
org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType,
String relationshipName)
throws org.picketlink.idm.common.exception.IdentityException
removeRelationship in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic String removeRelationshipName(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name) throws org.picketlink.idm.common.exception.IdentityException, org.picketlink.idm.spi.exception.OperationNotSupportedException
removeRelationshipName in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionorg.picketlink.idm.spi.exception.OperationNotSupportedExceptionpublic void removeRelationships(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity1,
org.picketlink.idm.spi.model.IdentityObject identity2,
boolean named)
throws org.picketlink.idm.common.exception.IdentityException
removeRelationships in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic Set<org.picketlink.idm.spi.model.IdentityObjectRelationship> resolveRelationships(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject fromIdentity, org.picketlink.idm.spi.model.IdentityObject toIdentity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType) throws org.picketlink.idm.common.exception.IdentityException
resolveRelationships in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic Set<org.picketlink.idm.spi.model.IdentityObjectRelationship> resolveRelationships(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, boolean parent, boolean named, String name) throws org.picketlink.idm.common.exception.IdentityException
resolveRelationships in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic void updateCredential(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identityObject,
org.picketlink.idm.spi.model.IdentityObjectCredential credential)
throws org.picketlink.idm.common.exception.IdentityException
updateCredential in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic boolean validateCredential(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identityObject,
org.picketlink.idm.spi.model.IdentityObjectCredential credential)
throws org.picketlink.idm.common.exception.IdentityException
validateCredential in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic void addAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identityObject,
org.picketlink.idm.spi.model.IdentityObjectAttribute[] attributes)
throws org.picketlink.idm.common.exception.IdentityException
addAttributes in interface org.picketlink.idm.spi.store.AttributeStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic org.picketlink.idm.spi.model.IdentityObjectAttribute getAttribute(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity,
String name)
throws org.picketlink.idm.common.exception.IdentityException
getAttribute in interface org.picketlink.idm.spi.store.AttributeStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic Map<String,org.picketlink.idm.spi.model.IdentityObjectAttribute> getAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identityObject) throws org.picketlink.idm.common.exception.IdentityException
getAttributes in interface org.picketlink.idm.spi.store.AttributeStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic void removeAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identityObject,
String[] attributeNames)
throws org.picketlink.idm.common.exception.IdentityException
removeAttributes in interface org.picketlink.idm.spi.store.AttributeStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic void updateAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identityObject,
org.picketlink.idm.spi.model.IdentityObjectAttribute[] attributes)
throws org.picketlink.idm.common.exception.IdentityException
updateAttributes in interface org.picketlink.idm.spi.store.AttributeStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic org.picketlink.idm.spi.store.IdentityStoreSession createIdentityStoreSession()
throws org.picketlink.idm.common.exception.IdentityException
createIdentityStoreSession in interface org.picketlink.idm.spi.store.IdentityStoreSessionFactoryorg.picketlink.idm.common.exception.IdentityExceptionpublic Collection<org.picketlink.idm.spi.model.IdentityObject> findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCxt, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, boolean parent, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) throws org.picketlink.idm.common.exception.IdentityException
findIdentityObject in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic org.picketlink.idm.spi.model.IdentityObject findIdentityObjectByUniqueAttribute(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCtx,
org.picketlink.idm.spi.model.IdentityObjectType identityObjectType,
org.picketlink.idm.spi.model.IdentityObjectAttribute attribute)
throws org.picketlink.idm.common.exception.IdentityException
findIdentityObjectByUniqueAttribute in interface org.picketlink.idm.spi.store.AttributeStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic Map<String,org.picketlink.idm.spi.configuration.metadata.IdentityObjectAttributeMetaData> getAttributesMetaData(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext, org.picketlink.idm.spi.model.IdentityObjectType identityType)
getAttributesMetaData in interface org.picketlink.idm.spi.store.AttributeStorepublic Set<String> getSupportedAttributeNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext, org.picketlink.idm.spi.model.IdentityObjectType identityType) throws org.picketlink.idm.common.exception.IdentityException
getSupportedAttributeNames in interface org.picketlink.idm.spi.store.AttributeStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic int getIdentityObjectsCount(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCtx,
org.picketlink.idm.spi.model.IdentityObjectType identityType)
throws org.picketlink.idm.common.exception.IdentityException
getIdentityObjectsCount in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic Map<String,String> getRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name) throws org.picketlink.idm.common.exception.IdentityException, org.picketlink.idm.spi.exception.OperationNotSupportedException
getRelationshipNameProperties in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionorg.picketlink.idm.spi.exception.OperationNotSupportedExceptionpublic void setRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
String name,
Map<String,String> properties)
throws org.picketlink.idm.common.exception.IdentityException,
org.picketlink.idm.spi.exception.OperationNotSupportedException
setRelationshipNameProperties in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionorg.picketlink.idm.spi.exception.OperationNotSupportedExceptionpublic void setRelationshipProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectRelationship relationship,
Map<String,String> properties)
throws org.picketlink.idm.common.exception.IdentityException,
org.picketlink.idm.spi.exception.OperationNotSupportedException
setRelationshipProperties in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionorg.picketlink.idm.spi.exception.OperationNotSupportedExceptionpublic void removeRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
String name,
Set<String> properties)
throws org.picketlink.idm.common.exception.IdentityException,
org.picketlink.idm.spi.exception.OperationNotSupportedException
removeRelationshipNameProperties in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionorg.picketlink.idm.spi.exception.OperationNotSupportedExceptionpublic void removeRelationshipProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectRelationship relationship,
Set<String> properties)
throws org.picketlink.idm.common.exception.IdentityException,
org.picketlink.idm.spi.exception.OperationNotSupportedException
removeRelationshipProperties in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionorg.picketlink.idm.spi.exception.OperationNotSupportedExceptionCopyright © 2013 Seam Framework. All Rights Reserved.