public class PatchedHibernateIdentityStoreImpl extends Object implements org.picketlink.idm.spi.store.IdentityStore, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
ADD_HIBERNATE_MAPPINGS |
static String |
ALLOW_NOT_CASE_SENSITIVE_SEARCH |
static String |
ALLOW_NOT_DEFINED_ATTRIBUTES |
static String |
ALLOW_NOT_DEFINED_IDENTITY_OBJECT_TYPES_OPTION |
static String |
CREDENTIAL_TYPE_BINARY |
static String |
CREDENTIAL_TYPE_PASSWORD |
static String |
DEFAULT_REALM_NAME |
static String |
HIBERNATE_CONFIGURATION |
static String |
HIBERNATE_SESSION_FACTORY_JNDI_NAME |
static String |
HIBERNATE_SESSION_FACTORY_REGISTRY_NAME |
static String |
IS_REALM_AWARE |
static String |
LAZY_START_OF_HIBERNATE_TRANSACTION |
static String |
MANAGE_TRANSACTION_DURING_BOOTSTRAP |
static String |
POPULATE_IDENTITY_OBJECT_TYPES |
static String |
POPULATE_MEMBERSHIP_TYPES |
| Constructor and Description |
|---|
PatchedHibernateIdentityStoreImpl(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity,
org.picketlink.idm.spi.model.IdentityObjectAttribute[] attributes) |
void |
addIdentityObjectRelationshipType(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectRelationshipType type) |
void |
addIdentityObjectType(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectType type) |
void |
addRealm(org.hibernate.Session hibernateSession,
String realmName) |
void |
bootstrap(org.picketlink.idm.spi.configuration.IdentityStoreConfigurationContext configurationContext) |
protected org.hibernate.SessionFactory |
bootstrapHibernateSessionFactory(org.picketlink.idm.spi.configuration.IdentityStoreConfigurationContext configurationContext) |
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 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) |
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 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.IdentityObject |
findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
String id) |
org.picketlink.idm.spi.model.IdentityObject |
findIdentityObject(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
String name,
org.picketlink.idm.spi.model.IdentityObjectType type) |
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) |
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 identity) |
Map<String,org.picketlink.idm.spi.configuration.metadata.IdentityObjectAttributeMetaData> |
getAttributesMetaData(org.picketlink.idm.spi.store.IdentityStoreInvocationContext invocationContext,
org.picketlink.idm.spi.model.IdentityObjectType identityType) |
protected org.hibernate.Session |
getHibernateSession(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx) |
String |
getId() |
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) |
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) |
int |
getIdentityObjectsCount(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
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) |
Set<String> |
getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity) |
Set<String> |
getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity,
org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) |
Set<String> |
getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) |
Map<String,String> |
getRelationshipProperties(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectRelationship relationship) |
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) |
Set<String> |
getSupportedAttributeNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectType identityType) |
org.picketlink.idm.spi.store.FeaturesMetaData |
getSupportedFeatures() |
boolean |
isAllowNotCaseSensitiveSearch() |
protected boolean |
isAllowNotDefinedIdentityObjectTypes() |
boolean |
isManageTransactionDuringBootstrap() |
void |
populateCredentialTypes(org.hibernate.Session hibernateSession,
String[] typeNames) |
void |
populateObjectTypes(org.hibernate.Session hibernateSession,
String[] typeNames) |
void |
populateRelationshipTypes(org.hibernate.Session hibernateSession,
String[] typeNames) |
org.hibernate.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.Criteria |
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) |
void |
removeAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity,
String[] attributes) |
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 name) |
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 type,
boolean parent,
boolean named,
String name,
org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) |
void |
setId(String id) |
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 |
updateAttributes(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObject identity,
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 HIBERNATE_SESSION_FACTORY_REGISTRY_NAME
public static final String HIBERNATE_CONFIGURATION
public static final String ADD_HIBERNATE_MAPPINGS
public static final String HIBERNATE_SESSION_FACTORY_JNDI_NAME
public static final String POPULATE_MEMBERSHIP_TYPES
public static final String POPULATE_IDENTITY_OBJECT_TYPES
public static final String IS_REALM_AWARE
public static final String MANAGE_TRANSACTION_DURING_BOOTSTRAP
public static final String ALLOW_NOT_DEFINED_ATTRIBUTES
public static final String ALLOW_NOT_DEFINED_IDENTITY_OBJECT_TYPES_OPTION
public static final String ALLOW_NOT_CASE_SENSITIVE_SEARCH
public static final String LAZY_START_OF_HIBERNATE_TRANSACTION
public static final String DEFAULT_REALM_NAME
public static final String CREDENTIAL_TYPE_PASSWORD
public static final String CREDENTIAL_TYPE_BINARY
public PatchedHibernateIdentityStoreImpl(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 org.hibernate.SessionFactory bootstrapHibernateSessionFactory(org.picketlink.idm.spi.configuration.IdentityStoreConfigurationContext configurationContext)
throws org.picketlink.idm.common.exception.IdentityException
org.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 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 String getId()
getId in interface org.picketlink.idm.spi.store.AttributeStoregetId in interface org.picketlink.idm.spi.store.IdentityStorepublic void setId(String id)
public org.picketlink.idm.spi.store.FeaturesMetaData getSupportedFeatures()
getSupportedFeatures in interface org.picketlink.idm.spi.store.IdentityStorepublic 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.IdentityExceptionpublic 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 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 int getIdentityObjectsCount(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
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 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
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 ctx,
String id)
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 criteria) 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) throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionpublic 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
getIdentityObjectCount 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 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 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
getIdentityObjectCount 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.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
findIdentityObject in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic org.hibernate.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
org.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.IdentityObject identity, org.picketlink.idm.spi.model.IdentityObjectRelationshipType relationshipType, boolean parent) throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionpublic 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
createRelationship 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 name)
throws org.picketlink.idm.common.exception.IdentityException
removeRelationship in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic 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 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
getRelationshipsCount 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 type, boolean parent, boolean named, String name, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria searchCriteria) throws org.picketlink.idm.common.exception.IdentityException
resolveRelationships in interface org.picketlink.idm.spi.store.IdentityStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic org.hibernate.Criteria 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)
throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionpublic 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 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 Set<String> getRelationshipNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, org.picketlink.idm.spi.search.IdentityObjectSearchCriteria criteria) 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) throws org.picketlink.idm.common.exception.IdentityException, org.picketlink.idm.spi.exception.OperationNotSupportedException
org.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 criteria) 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) throws org.picketlink.idm.common.exception.IdentityException, org.picketlink.idm.spi.exception.OperationNotSupportedException
org.picketlink.idm.common.exception.IdentityExceptionorg.picketlink.idm.spi.exception.OperationNotSupportedExceptionpublic 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 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 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 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 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.OperationNotSupportedExceptionpublic Set<String> getSupportedAttributeNames(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx, 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 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 identity) throws org.picketlink.idm.common.exception.IdentityException
getAttributes 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 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
updateAttributes in interface org.picketlink.idm.spi.store.AttributeStoreorg.picketlink.idm.common.exception.IdentityExceptionpublic 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
addAttributes 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 identity,
String[] attributes)
throws org.picketlink.idm.common.exception.IdentityException
removeAttributes in interface org.picketlink.idm.spi.store.AttributeStoreorg.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 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 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 void addIdentityObjectType(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectType type)
throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionpublic void addIdentityObjectRelationshipType(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx,
org.picketlink.idm.spi.model.IdentityObjectRelationshipType type)
throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionprotected org.hibernate.Session getHibernateSession(org.picketlink.idm.spi.store.IdentityStoreInvocationContext ctx)
throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionpublic void populateObjectTypes(org.hibernate.Session hibernateSession,
String[] typeNames)
throws Exception
Exceptionpublic void populateRelationshipTypes(org.hibernate.Session hibernateSession,
String[] typeNames)
throws Exception
Exceptionpublic void populateCredentialTypes(org.hibernate.Session hibernateSession,
String[] typeNames)
throws Exception
Exceptionpublic void addRealm(org.hibernate.Session hibernateSession,
String realmName)
throws org.picketlink.idm.common.exception.IdentityException
org.picketlink.idm.common.exception.IdentityExceptionprotected boolean isAllowNotDefinedIdentityObjectTypes()
public boolean isManageTransactionDuringBootstrap()
public boolean isAllowNotCaseSensitiveSearch()
Copyright © 2018 JBoss by Red Hat. All Rights Reserved.