public class OperationalConfig
extends java.lang.Object
SEARCH_BASE, CREATE_BASE, NAME_ATTR, etc.
Identity Directory level properties are
OP_SIZE_LIMIT, OP_TIME_LIMIT, GROUPMEMBER_ATTR, etc.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_NAME_ATTR_SEARCH |
static java.lang.String |
ADD_SCHEMA_ENTITYATTRS |
static java.lang.String |
APPROLE_ENTITY |
static java.lang.String |
CREATE_BASE |
static java.lang.String |
CREATE_OBJCLASSES |
static java.lang.String |
ENTITY_FILTER |
static java.lang.String |
FILTER_EXCLUDE_OBJCLASSES |
static java.lang.String |
FILTER_OBJCLASSES |
static java.lang.String |
GROUP_ENTITY |
static java.lang.String |
GROUPMANAGER_ATTR |
static java.lang.String |
GROUPMEMBER_ATTR |
static java.lang.String |
GROUPOWNER_ATTR |
static java.lang.String |
LOGIN_ATTR |
static java.lang.String |
MANAGER_ATTR |
static java.lang.String |
MEMBEROF_ATTR |
static java.lang.String |
MULTILANG_ATTRS |
static java.lang.String |
NAME_ATTR |
static java.lang.String |
OP_SIZE_LIMIT |
static java.lang.String |
OP_TIME_LIMIT |
static java.lang.String |
ORG_ENTITY |
static java.lang.String |
PASSWORD_ATTRS |
static java.lang.String |
SEARCH_BASE |
static java.lang.String |
USER_ENTITY |
| Constructor and Description |
|---|
OperationalConfig()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
OperationalConfig |
clone()
Clones this object
|
java.util.Set<java.lang.String> |
getAllEntities()
Gets all entity names
|
char[] |
getApplicationPassword()
Gets the application user's credentials
|
java.lang.String |
getApplicationUser()
Gets the application user
|
static OperationalConfig |
getDefaultOperationalConfig()
Gets new OperationalConfig object with default configuration
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getEntityDefaultFetchAttrs()
Gets the default fetch attributes map for all entitities
|
java.util.List<java.lang.String> |
getEntityDefaultFetchAttrs(java.lang.String entityName)
Gets the list of default fetch attributes for an entity
|
java.util.Map<java.lang.String,java.lang.String> |
getEntityProperties(java.lang.String entityName)
Gets entity properties for a given entity name
|
java.lang.String |
getEntityProperty(java.lang.String entityName,
java.lang.String propName)
Gets entity property value for given entity name and property name
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Gets Identity Directory properties
|
java.lang.String |
getProperty(java.lang.String propName)
Gets the property value
|
java.lang.String |
getSearchEntityProperty(java.lang.String entityName,
java.lang.String propName)
Gets entity property value for given entity name and property name
to use only for search specific operation
This will be made to call getEntityProperty() directly once ER fix is ready
|
int |
getSizeLimit()
Gets default sizelimit, maximum number of entities to be returned in search
methods.
|
int |
getTimeLimit()
Gets default timelimit, maximum time allowed for the Identity Store
operation
|
boolean |
isAddAttrsFromSchema()
Gets the add attributes from IDStore schema flag
|
void |
setAddAttrsFromSchema(boolean addAttrsFromSchema)
Sets the flag whether to add all entity attributs from IDStore schema.
|
void |
setApplicationPassword(char[] appPasswd)
Sets the application user's credentials.
|
void |
setApplicationUser(java.lang.String appUser)
Sets the application user.
|
void |
setEntityDefaultFetchAttrs(java.lang.String entityName,
java.util.List<java.lang.String> defaultFetchAttrs)
Sets the default fetch attributes for an entity.
|
void |
setEntityProperty(java.lang.String entityName,
java.lang.String propName,
java.lang.String propVal)
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets Identity Directory properties
|
void |
setProperty(java.lang.String propName,
java.lang.String propVal)
Sets the properties
|
void |
setSizeLimit(int sizeLimit)
Sets default sizelimit, maximum number of entities to be returned in search
methods.
|
void |
setTimeLimit(int timeLimit)
Sets default timelimit, maximum time allowed for the Identity Store
operation.
|
java.lang.String |
toString() |
public static final java.lang.String USER_ENTITY
public static final java.lang.String GROUP_ENTITY
public static final java.lang.String ORG_ENTITY
public static final java.lang.String APPROLE_ENTITY
public static final java.lang.String SEARCH_BASE
public static final java.lang.String CREATE_BASE
public static final java.lang.String NAME_ATTR
public static final java.lang.String _NAME_ATTR_SEARCH
public static final java.lang.String LOGIN_ATTR
public static final java.lang.String CREATE_OBJCLASSES
public static final java.lang.String FILTER_OBJCLASSES
public static final java.lang.String FILTER_EXCLUDE_OBJCLASSES
public static final java.lang.String ENTITY_FILTER
public static final java.lang.String PASSWORD_ATTRS
public static final java.lang.String MULTILANG_ATTRS
public static final java.lang.String OP_SIZE_LIMIT
public static final java.lang.String OP_TIME_LIMIT
public static final java.lang.String MANAGER_ATTR
public static final java.lang.String GROUPMEMBER_ATTR
public static final java.lang.String MEMBEROF_ATTR
public static final java.lang.String GROUPOWNER_ATTR
public static final java.lang.String GROUPMANAGER_ATTR
public static final java.lang.String ADD_SCHEMA_ENTITYATTRS
public void setProperty(java.lang.String propName,
java.lang.String propVal)
propName - Name of the propertypropVal - Property valuepublic java.lang.String getProperty(java.lang.String propName)
propName - Name of the propertypublic void setApplicationUser(java.lang.String appUser)
appUser - Distinguished name of the userpublic java.lang.String getApplicationUser()
public void setApplicationPassword(char[] appPasswd)
appPasswd - Application user passwordpublic char[] getApplicationPassword()
public int getSizeLimit()
public void setSizeLimit(int sizeLimit)
sizeLimit - maximum number of entities to be returned in search callsSearchOptions.setSizeLimit(int)public int getTimeLimit()
public void setTimeLimit(int timeLimit)
timeLimit - time limit for the identity store operationReadOptions.setTimeLimit(int)public void setEntityProperty(java.lang.String entityName,
java.lang.String propName,
java.lang.String propVal)
entityName - Name of the entity for which the property to be setpropName - Name of the propertypropVal - Property valuepublic java.util.Map<java.lang.String,java.lang.String> getEntityProperties(java.lang.String entityName)
entityName - Name of the entitypublic java.lang.String getEntityProperty(java.lang.String entityName,
java.lang.String propName)
entityName - Name of the entitypropName - Name of the propertypublic java.lang.String getSearchEntityProperty(java.lang.String entityName,
java.lang.String propName)
entityName - Name of the entitypropName - Name of the propertypublic java.util.Map<java.lang.String,java.lang.String> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties - map of property name and value pairpublic java.util.Set<java.lang.String> getAllEntities()
public void setAddAttrsFromSchema(boolean addAttrsFromSchema)
addAttrsFromSchema - If set to true all entity attributes from IDStore schema gets
added to entity definitionpublic boolean isAddAttrsFromSchema()
public void setEntityDefaultFetchAttrs(java.lang.String entityName,
java.util.List<java.lang.String> defaultFetchAttrs)
entityName - Entity for which default fetch attributes to be setdefaultFetchAttrs - List of default fetch attributespublic java.util.List<java.lang.String> getEntityDefaultFetchAttrs(java.lang.String entityName)
entityName - Entity for which default fetch attributes to be returnedpublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> getEntityDefaultFetchAttrs()
public static OperationalConfig getDefaultOperationalConfig()
public OperationalConfig clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object