public abstract class CustomIdentityDirectory extends IdentityDirectory
IDS_APP_NAME, IDS_CONFIG_FILE, IDS_ENTITY_CONFIG_NAME, IDS_OVD_CONTEXT_NAME
Constructor and Description |
---|
CustomIdentityDirectory()
Any custom IdentityDirectory implementation must use this constructor to initialize the IdentityDirectory instance.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
This method unregisters the already created custom IdentityDirectory implementation.
|
void |
finalize()
Releases the resources.
|
AppRoleManager |
getAppRoleManager()
The default AppRoleManager functionality is unsupported in the custom IdentityDirectory implementation and this unmodifiable method throws an exception if used.
|
AttributeSchema |
getAttributeSchema(java.lang.String attrName)
This default functionality is unsupported in the custom implementation of the IdentityDirectory and throws an Exception if used.
|
Capabilities |
getCapabilities()
Get the CRUD (Create , Read, Update , Delete) capabilities related to the users and groups.
|
EntitiesConfig |
getEntitiesConfig()
Get the entitiesConfig information pertaining to the current custom IdentityDirectory implementation.
|
EntityManager |
getEntityManager(java.lang.String entityName)
The default EntityManager functionality is unsupported in the custom IdentityDirectory implementation and this unmodifiable method throws an exception if used.
|
EntityRelationManager |
getEntityRelationManager()
The default EntityRelationManager functionality is unsupported in the custom IdentityDirectory implementation and this unmodifiable method throws an exception if used.
|
abstract GroupManager |
getGroupManager()
This method must be implemented by the custom IdentityDirectory implementation to return the custom implementation of GroupManager as required.
|
java.lang.String |
getIdsName()
Get the custom IdentityDirectory implementation name ,if any, being currently used.
|
java.util.Map<java.lang.String,java.util.Set<IDSLDAPConnectionPoolStats>> |
getLDAPConnectionPoolStats()
This default functionality is unsupported in the custom implementation of the IdentityDirectory and throws an Exception if used.
|
LDAPSchemaUtil |
getLDAPSchemaUtil()
This default functionality is unsupported in the custom implementation of the IdentityDirectory and throws an Exception if used.
|
java.lang.String |
getLogicalToPhysicalAttr(java.lang.String logicalAttr)
This default functionality is unsupported in the custom implementation of the IdentityDirectory and throws an Exception if used.
|
OrgManager |
getOrgManager()
The default OrgManager functionality is unsupported in the custom IdentityDirectory implementation and this unmodifiable method throws an exception if used.
|
java.util.List<java.lang.String> |
getPhysicalToLogicalAttr(java.lang.String physicalAttr)
This default functionality is unsupported in the custom implementation of the IdentityDirectory and throws an Exception if used.
|
abstract UserManager |
getUserManager()
This method must be implemented by the custom IdentityDirectory implementation to return the custom implementation of UserManager as required.
|
abstract UserManager |
getUserManager(java.lang.String entityName)
This method must be implemented by the custom IdentityDirectory implementation to return the custom implementation of UserManager , with the entity name parameter, if required.
|
void |
reload()
The default functionality is not supported with custom IdentityDirectory implementation.
|
getIdentityStoreConfig, getOperationalConfig
public CustomIdentityDirectory() throws IDSException
idsName
-idStoreConfig
-IDSException
public EntitiesConfig getEntitiesConfig()
getEntitiesConfig
in class IdentityDirectory
public void reload() throws IDSException
reload
in class IdentityDirectory
IDSException
public abstract UserManager getUserManager() throws IDSException
getUserManager
in class IdentityDirectory
IDSException
public abstract UserManager getUserManager(java.lang.String entityName) throws IDSException
getUserManager
in class IdentityDirectory
entityName
- The entityName with which the custom UserManager implementation is to be associated.IDSException
public abstract GroupManager getGroupManager() throws IDSException
getGroupManager
in class IdentityDirectory
IDSException
public final OrgManager getOrgManager() throws IDSException
getOrgManager
in class IdentityDirectory
IDSException
public final EntityManager getEntityManager(java.lang.String entityName) throws IDSException
getEntityManager
in class IdentityDirectory
entityName
- Name of the entity defined in Entity configurationIDSException
public final AppRoleManager getAppRoleManager() throws IDSException
getAppRoleManager
in class IdentityDirectory
IDSException
- on exceptionpublic final EntityRelationManager getEntityRelationManager()
getEntityRelationManager
in class IdentityDirectory
public Capabilities getCapabilities()
getCapabilities
in class IdentityDirectory
public void close()
close
in class IdentityDirectory
public AttributeSchema getAttributeSchema(java.lang.String attrName)
getAttributeSchema
in class IdentityDirectory
attrName
- Name of attributepublic java.lang.String getLogicalToPhysicalAttr(java.lang.String logicalAttr)
getLogicalToPhysicalAttr
in class IdentityDirectory
logicalAttr
- Name of logical attributepublic java.util.List<java.lang.String> getPhysicalToLogicalAttr(java.lang.String physicalAttr)
getPhysicalToLogicalAttr
in class IdentityDirectory
physicalAttr
- Name of physical attributepublic LDAPSchemaUtil getLDAPSchemaUtil()
getLDAPSchemaUtil
in class IdentityDirectory
public java.util.Map<java.lang.String,java.util.Set<IDSLDAPConnectionPoolStats>> getLDAPConnectionPoolStats() throws IDSException
getLDAPConnectionPoolStats
in class IdentityDirectory
IDSException
public void finalize() throws java.lang.Throwable
finalize
in class IdentityDirectory
java.lang.Throwable
public java.lang.String getIdsName()