Class PatchedHibernateIdentityStoreImpl
java.lang.Object
org.picketlink.idm.impl.store.hibernate.PatchedHibernateIdentityStoreImpl
- All Implemented Interfaces:
Serializable,org.picketlink.idm.spi.store.AttributeStore,org.picketlink.idm.spi.store.IdentityStore,org.picketlink.idm.spi.store.IdentityStoreSessionFactory
- Direct Known Subclasses:
ExoHibernateIdentityStoreImpl
public class PatchedHibernateIdentityStoreImpl
extends Object
implements org.picketlink.idm.spi.store.IdentityStore, Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectAttribute[] attributes) voidaddIdentityObjectRelationshipType(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectRelationshipType type) voidaddIdentityObjectType(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectType type) voidvoidbootstrap(org.picketlink.idm.spi.configuration.IdentityStoreConfigurationContext configurationContext) protected org.hibernate.SessionFactorybootstrapHibernateSessionFactory(org.picketlink.idm.spi.configuration.IdentityStoreConfigurationContext configurationContext) org.picketlink.idm.spi.model.IdentityObjectcreateIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCtx, String name, org.picketlink.idm.spi.model.IdentityObjectType identityObjectType) org.picketlink.idm.spi.model.IdentityObjectcreateIdentityObject(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.IdentityStoreSessionorg.picketlink.idm.spi.store.IdentityStoreSessioncreateIdentityStoreSession(Map<String, Object> sessionOptions) org.picketlink.idm.spi.model.IdentityObjectRelationshipcreateRelationship(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 name, boolean createNames) createRelationshipName(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name) org.picketlink.idm.spi.model.IdentityObjectfindIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String id) org.picketlink.idm.spi.model.IdentityObjectfindIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name, org.picketlink.idm.spi.model.IdentityObjectType type) Collection<org.picketlink.idm.spi.model.IdentityObject> findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, boolean parent) 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.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, Collection<org.picketlink.idm.spi.model.IdentityObjectType> excludes, 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) 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 criteria) org.picketlink.idm.spi.model.IdentityObjectfindIdentityObjectByUniqueAttribute(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationCtx, org.picketlink.idm.spi.model.IdentityObjectType identityObjectType, org.picketlink.idm.spi.model.IdentityObjectAttribute attribute) org.picketlink.idm.spi.model.IdentityObjectAttributegetAttribute(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, String name) getAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity) getAttributesMetaData(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext, org.picketlink.idm.spi.model.IdentityObjectType identityType) protected org.hibernate.SessiongetHibernateSession(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx) getId()intgetIdentityObjectCount(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) intgetIdentityObjectCount(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, Collection<org.picketlink.idm.spi.model.IdentityObjectType> excludes, boolean parent, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) intgetIdentityObjectsCount(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectType identityType) getRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name) getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx) getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity) getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) getRelationshipProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectRelationship relationship) intgetRelationshipsCount(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType type, boolean parent, boolean named, String name, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) getSupportedAttributeNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectType identityType) org.picketlink.idm.spi.store.FeaturesMetaDatabooleanprotected booleanbooleanvoidpopulateCredentialTypes(org.hibernate.Session hibernateSession, String[] typeNames) voidpopulateObjectTypes(org.hibernate.Session hibernateSession, String[] typeNames) voidpopulateRelationshipTypes(org.hibernate.Session hibernateSession, String[] typeNames) org.hibernate.query.Query<?> prepareIdentityObjectQuery(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, Collection<org.picketlink.idm.spi.model.IdentityObjectType> excludes, boolean parent, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria, boolean count) org.hibernate.query.Query<?> prepareResolveRelationshipsCriteria(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType type, boolean parent, boolean named, String name, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria, boolean count) voidremoveAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, String[] attributes) voidremoveIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity) voidremoveRelationship(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 name) removeRelationshipName(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name) voidremoveRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name, Set<String> properties) voidremoveRelationshipProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectRelationship relationship, Set<String> properties) voidremoveRelationships(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 identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType type, boolean parent, boolean named, String name, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) 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) voidvoidsetRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name, Map<String, String> properties) voidsetRelationshipProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectRelationship relationship, Map<String, String> properties) voidupdateAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectAttribute[] attributes) voidupdateCredential(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identityObject, org.picketlink.idm.spi.model.IdentityObjectCredential credential) booleanvalidateCredential(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identityObject, org.picketlink.idm.spi.model.IdentityObjectCredential credential)
-
Field Details
-
HIBERNATE_SESSION_FACTORY_REGISTRY_NAME
- See Also:
-
HIBERNATE_CONFIGURATION
- See Also:
-
ADD_HIBERNATE_MAPPINGS
- See Also:
-
HIBERNATE_SESSION_FACTORY_JNDI_NAME
- See Also:
-
POPULATE_MEMBERSHIP_TYPES
- See Also:
-
POPULATE_IDENTITY_OBJECT_TYPES
- See Also:
-
IS_REALM_AWARE
- See Also:
-
MANAGE_TRANSACTION_DURING_BOOTSTRAP
- See Also:
-
ALLOW_NOT_DEFINED_ATTRIBUTES
- See Also:
-
ALLOW_NOT_DEFINED_IDENTITY_OBJECT_TYPES_OPTION
- See Also:
-
ALLOW_NOT_CASE_SENSITIVE_SEARCH
- See Also:
-
LAZY_START_OF_HIBERNATE_TRANSACTION
- See Also:
-
DEFAULT_REALM_NAME
-
CREDENTIAL_TYPE_PASSWORD
- See Also:
-
CREDENTIAL_TYPE_BINARY
- See Also:
-
ALL_GROUPS_TYPE
- See Also:
-
-
Constructor Details
-
PatchedHibernateIdentityStoreImpl
-
-
Method Details
-
bootstrap
public void bootstrap(org.picketlink.idm.spi.configuration.IdentityStoreConfigurationContext configurationContext) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
bootstrapin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
bootstrapHibernateSessionFactory
protected org.hibernate.SessionFactory bootstrapHibernateSessionFactory(org.picketlink.idm.spi.configuration.IdentityStoreConfigurationContext configurationContext) throws org.picketlink.idm.common.exception.IdentityException - Throws:
org.picketlink.idm.common.exception.IdentityException
-
createIdentityStoreSession
public org.picketlink.idm.spi.store.IdentityStoreSession createIdentityStoreSession() throws org.picketlink.idm.common.exception.IdentityException- Specified by:
createIdentityStoreSessionin interfaceorg.picketlink.idm.spi.store.IdentityStoreSessionFactory- Throws:
org.picketlink.idm.common.exception.IdentityException
-
createIdentityStoreSession
public org.picketlink.idm.spi.store.IdentityStoreSession createIdentityStoreSession(Map<String, Object> sessionOptions) throws org.picketlink.idm.common.exception.IdentityException- Specified by:
createIdentityStoreSessionin interfaceorg.picketlink.idm.spi.store.IdentityStoreSessionFactory- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getId
- Specified by:
getIdin interfaceorg.picketlink.idm.spi.store.AttributeStore- Specified by:
getIdin interfaceorg.picketlink.idm.spi.store.IdentityStore
-
setId
-
getSupportedFeatures
public org.picketlink.idm.spi.store.FeaturesMetaData getSupportedFeatures()- Specified by:
getSupportedFeaturesin interfaceorg.picketlink.idm.spi.store.IdentityStore
-
createIdentityObject
public 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 - Specified by:
createIdentityObjectin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
createIdentityObject
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- Specified by:
createIdentityObjectin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
removeIdentityObject
public void removeIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
removeIdentityObjectin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getIdentityObjectsCount
public int getIdentityObjectsCount(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectType identityType) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
getIdentityObjectsCountin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
findIdentityObject
public org.picketlink.idm.spi.model.IdentityObject findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name, org.picketlink.idm.spi.model.IdentityObjectType type) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
findIdentityObjectin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
findIdentityObject
public org.picketlink.idm.spi.model.IdentityObject findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String id) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
findIdentityObjectin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
findIdentityObject
public 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 criteria) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
findIdentityObjectin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
findIdentityObject
public Collection<org.picketlink.idm.spi.model.IdentityObject> findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectType identityType) throws org.picketlink.idm.common.exception.IdentityException - Throws:
org.picketlink.idm.common.exception.IdentityException
-
getIdentityObjectCount
public int getIdentityObjectCount(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 - Specified by:
getIdentityObjectCountin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
findIdentityObject
public 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 - Specified by:
findIdentityObjectin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getIdentityObjectCount
public int getIdentityObjectCount(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, Collection<org.picketlink.idm.spi.model.IdentityObjectType> excludes, boolean parent, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
getIdentityObjectCountin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
findIdentityObject
public Collection<org.picketlink.idm.spi.model.IdentityObject> findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, Collection<org.picketlink.idm.spi.model.IdentityObjectType> excludes, boolean parent, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
findIdentityObjectin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
prepareIdentityObjectQuery
public org.hibernate.query.Query<?> prepareIdentityObjectQuery(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, Collection<org.picketlink.idm.spi.model.IdentityObjectType> excludes, boolean parent, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria, boolean count) throws org.picketlink.idm.common.exception.IdentityException - Throws:
org.picketlink.idm.common.exception.IdentityException
-
findIdentityObject
public Collection<org.picketlink.idm.spi.model.IdentityObject> findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, boolean parent) throws org.picketlink.idm.common.exception.IdentityException - Throws:
org.picketlink.idm.common.exception.IdentityException
-
createRelationship
public org.picketlink.idm.spi.model.IdentityObjectRelationship createRelationship(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 name, boolean createNames) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
createRelationshipin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
removeRelationship
public 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 name) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
removeRelationshipin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
removeRelationships
public 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 - Specified by:
removeRelationshipsin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
resolveRelationships
public 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 - Specified by:
resolveRelationshipsin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getRelationshipsCount
public int getRelationshipsCount(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType type, boolean parent, boolean named, String name, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
getRelationshipsCountin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
resolveRelationships
public 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 type, boolean parent, boolean named, String name, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
resolveRelationshipsin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
prepareResolveRelationshipsCriteria
public org.hibernate.query.Query<?> prepareResolveRelationshipsCriteria(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType type, boolean parent, boolean named, String name, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria, boolean count) throws org.picketlink.idm.common.exception.IdentityException - Throws:
org.picketlink.idm.common.exception.IdentityException
-
createRelationshipName
public String createRelationshipName(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
createRelationshipNamein interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
removeRelationshipName
public String removeRelationshipName(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
removeRelationshipNamein interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getRelationshipNames
public Set<String> getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
getRelationshipNamesin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getRelationshipNames
public Set<String> getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx) throws org.picketlink.idm.common.exception.IdentityException - Throws:
org.picketlink.idm.common.exception.IdentityException
-
getRelationshipNames
public Set<String> getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
getRelationshipNamesin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getRelationshipNames
public Set<String> getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity) throws org.picketlink.idm.common.exception.IdentityException - Throws:
org.picketlink.idm.common.exception.IdentityException
-
getRelationshipNameProperties
public Map<String,String> getRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
getRelationshipNamePropertiesin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
setRelationshipNameProperties
public void setRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name, Map<String, String> properties) throws org.picketlink.idm.common.exception.IdentityException- Specified by:
setRelationshipNamePropertiesin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
removeRelationshipNameProperties
public void removeRelationshipNameProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, String name, Set<String> properties) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
removeRelationshipNamePropertiesin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getRelationshipProperties
public 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 - Specified by:
getRelationshipPropertiesin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
setRelationshipProperties
public 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- Specified by:
setRelationshipPropertiesin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
removeRelationshipProperties
public 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 - Specified by:
removeRelationshipPropertiesin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getSupportedAttributeNames
public Set<String> getSupportedAttributeNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectType identityType) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
getSupportedAttributeNamesin interfaceorg.picketlink.idm.spi.store.AttributeStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getAttribute
public 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 - Specified by:
getAttributein interfaceorg.picketlink.idm.spi.store.AttributeStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getAttributes
public Map<String,org.picketlink.idm.spi.model.IdentityObjectAttribute> getAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
getAttributesin interfaceorg.picketlink.idm.spi.store.AttributeStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getAttributesMetaData
public Map<String,org.picketlink.idm.spi.configuration.metadata.IdentityObjectAttributeMetaData> getAttributesMetaData(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext, org.picketlink.idm.spi.model.IdentityObjectType identityType) - Specified by:
getAttributesMetaDatain interfaceorg.picketlink.idm.spi.store.AttributeStore
-
updateAttributes
public void updateAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectAttribute[] attributes) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
updateAttributesin interfaceorg.picketlink.idm.spi.store.AttributeStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
addAttributes
public void addAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectAttribute[] attributes) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
addAttributesin interfaceorg.picketlink.idm.spi.store.AttributeStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
removeAttributes
public void removeAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObject identity, String[] attributes) throws org.picketlink.idm.common.exception.IdentityException - Specified by:
removeAttributesin interfaceorg.picketlink.idm.spi.store.AttributeStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
findIdentityObjectByUniqueAttribute
public 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 - Specified by:
findIdentityObjectByUniqueAttributein interfaceorg.picketlink.idm.spi.store.AttributeStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
validateCredential
public 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 - Specified by:
validateCredentialin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
updateCredential
public 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 - Specified by:
updateCredentialin interfaceorg.picketlink.idm.spi.store.IdentityStore- Throws:
org.picketlink.idm.common.exception.IdentityException
-
addIdentityObjectType
public void addIdentityObjectType(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectType type) throws org.picketlink.idm.common.exception.IdentityException - Throws:
org.picketlink.idm.common.exception.IdentityException
-
addIdentityObjectRelationshipType
public void addIdentityObjectRelationshipType(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.model.IdentityObjectRelationshipType type) throws org.picketlink.idm.common.exception.IdentityException - Throws:
org.picketlink.idm.common.exception.IdentityException
-
getHibernateSession
protected org.hibernate.Session getHibernateSession(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx) throws org.picketlink.idm.common.exception.IdentityException - Throws:
org.picketlink.idm.common.exception.IdentityException
-
populateObjectTypes
-
populateRelationshipTypes
-
populateCredentialTypes
-
addRealm
public void addRealm(org.hibernate.Session hibernateSession, String realmName) throws org.picketlink.idm.common.exception.IdentityException - Throws:
org.picketlink.idm.common.exception.IdentityException
-
isAllowNotDefinedIdentityObjectTypes
protected boolean isAllowNotDefinedIdentityObjectTypes() -
isManageTransactionDuringBootstrap
public boolean isManageTransactionDuringBootstrap() -
isAllowNotCaseSensitiveSearch
public boolean isAllowNotCaseSensitiveSearch()
-