|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.itim.dataservices.model.DirectoryEntry
com.ibm.itim.dataservices.model.DirectoryObject
com.ibm.itim.dataservices.model.policy.SeparationOfDutyRule
public class SeparationOfDutyRule
This class represents a Separation Of Duty Policy Rule. This is made up of a name, cardinality, and list of role DNs. This is used in conjunction with the SeparationOfDutyPolicy value object.
SeparationOfDutyPolicy,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
PROFILE_NAME
The profile name for SeparationOfDutyPolicy |
| Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
|---|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME |
| Fields inherited from interface com.ibm.itim.util.Sortable |
|---|
ATTR_NAME |
| Constructor Summary | |
|---|---|
SeparationOfDutyRule()
Default empty constructor |
|
SeparationOfDutyRule(java.lang.String name,
int cardinality,
java.util.Collection<java.lang.String> roles)
Constructor which allos setting all values for the separation of duty rule |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object object)
|
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getActualRolesMap()
Gets a map containing the roles that are associated with this Separation of Duty Rule as the keys to the map. |
int |
getCardinality()
Gets the cardinality value for this separation of duty rule |
java.lang.String |
getName()
Gets the name of the separation of duty rule. |
java.lang.String |
getProfileName()
Returns the name of the profile associated to the object |
java.util.Collection<java.lang.String> |
getRoles()
Gets the list of roles that are associated with this Separation of Duty Rule |
int |
hashCode()
|
void |
setCardinality(int cardinality)
Sets the cardinality value for this spearation of duty rule |
void |
setName(java.lang.String name)
Sets the name of the separation of duty rule. |
void |
setRoles(java.util.Collection<java.lang.String> roles)
A set of roles this rule should apply. |
| Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject |
|---|
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString |
| Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry |
|---|
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROFILE_NAME
| Constructor Detail |
|---|
public SeparationOfDutyRule()
public SeparationOfDutyRule(java.lang.String name,
int cardinality,
java.util.Collection<java.lang.String> roles)
name - name of the separation of duty rulecardinality - the cardinality of the separation of duty rule (should be less than the number of roles)roles - Collection of DistinguishedName representing the organizational roles that are in this rule| Method Detail |
|---|
public java.lang.String getProfileName()
DirectoryObject
getProfileName in class DirectoryObjectpublic void setName(java.lang.String name)
name - public java.lang.String getName()
getName in class DirectoryObjectpublic int getCardinality()
public void setCardinality(int cardinality)
cardinality - the cardinality to set for this rule (should be less than the number of roles in the rule)public java.util.Collection<java.lang.String> getRoles()
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getActualRolesMap()
public void setRoles(java.util.Collection<java.lang.String> roles)
roles cannot be null.
roles - public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||