public class DynamicRole extends Role
DynamicRoleEntity,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFINITION
Constant for the definition (LDAP filter rule) attribute name.
|
static java.lang.String |
PROFILE_NAME
Constant defining the dynamic role profile name.
|
static java.lang.String |
SCOPE
Constant for the scope attribute name.
|
static int |
SINGLE_LEVEL_SCOPE
Constant defining a scope of single level.
|
static int |
SUBTREE_SCOPE
Constant defining a sub-tree scope.
|
HELPDESK_ROLE, isMultiValue, isSingleValue, OWNER, ROLE_ATTR_ASSIGNMENT_KEY, ROLE_ATTR_CLASSIFICATION, ROLE_ATTR_DESCRIPTION, ROLE_ATTR_NAME, ROLE_ATTR_POLICY_TARGET, ROLE_ATTR_SUBROLES, ROLE_CLASSIFICATION_NONE, SERVICEOWNER_ROLE, SUPERVISOR_ROLE, SYSTEMADMIN_ROLEATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME| Constructor and Description |
|---|
DynamicRole()
Default empty constructor
|
DynamicRole(AttributeValues attributes)
Constructs object with attribute information.
|
DynamicRole(DirectoryObject dirObj)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefinition()
Returns the definition (rule) of the dynamic role.
|
int |
getScope()
Returns the scope of the role.
|
void |
setDefinition(java.lang.String definition)
Replaces the definition (rule) of the dynamic role.
|
void |
setScope(int scope)
Changes the scope of the role.
|
equals, getClassification, getDescription, getOwnerDNs, getPolicyTarget, hashCode, removeOwnerDNs, setClassification, setDescription, setOwnerDNs, setPolicyTargetaddAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toStringclearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedNamepublic static final int SINGLE_LEVEL_SCOPE
public static final int SUBTREE_SCOPE
public static final java.lang.String DEFINITION
public static final java.lang.String SCOPE
public static java.lang.String PROFILE_NAME
public DynamicRole()
public DynamicRole(AttributeValues attributes)
attributes - AttributeValues holding the attributes of the dynamic role.public DynamicRole(DirectoryObject dirObj)
public java.lang.String getDefinition()
public void setDefinition(java.lang.String definition)
definition - New String definition (rule) of the dynamic role. This is an LDAP filter
rule that defines the attributes of users that will receive the
role. For example, (departmentnumber=audit123) may be used to select
all members in an auditing department that is named audit123.public int getScope()
public void setScope(int scope)
scope - Enumerated int representing the scope. Possible values are
SINGLE_LEVEL_SCOPE and SUBTREE_SCOPE.