|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.dataservices.model.policy.RoleTarget
public class RoleTarget
The RoleTarget
class allows for an ITIM policy
to target individual roles or all roles in the system.
Constructor Summary | |
---|---|
RoleTarget()
Creates a RoleTarget , targeting all static roles
in the organization. |
|
RoleTarget(java.lang.String roleId)
Creates a RoleTarget , targeting a specific role in
the system, which is specified with the String distinguished
name. |
Method Summary | |
---|---|
java.lang.String |
convertToLDAPString()
Converts this RoleTarget instance into its String
representation for storage in LDAP. |
boolean |
equals(java.lang.Object o)
Compares the given object with this RoleTarget object for equality. |
boolean |
getIncludeAllStatic()
Returns a flag, indicating whether or not this target includes all static roles in the organization. |
java.lang.String |
getRoleId()
Returns the String distinguished name for an individual
specified role. |
int |
hashCode()
Returns the hash code value for this RoleTarget. |
boolean |
isExistInTargetList(java.util.Collection<IPolicyTarget> targetList)
Checks to see if this target exists in the specified collection of IPolicyTarget
instances. |
static boolean |
isRoleTarget(java.lang.String str)
Checks the IPolicyTarget String representation
to see if it is a RoleTarget |
static RoleTarget |
loadFromLDAPString(java.lang.String str)
Builds a new RoleTarget instance from its String
representation. |
java.lang.String |
toString()
Returns a string representation of this RoleTarget. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RoleTarget()
RoleTarget
, targeting all static roles
in the organization.
public RoleTarget(java.lang.String roleId)
RoleTarget
, targeting a specific role in
the system, which is specified with the String
distinguished
name.
roleId
- the distinguished name of the role as a String
.Method Detail |
---|
public boolean isExistInTargetList(java.util.Collection<IPolicyTarget> targetList)
IPolicyTarget
IPolicyTarget
instances.
isExistInTargetList
in interface IPolicyTarget
targetList
- a collection of IPolicyTarget objects
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to be compared for equality with this RoleTarget.
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String convertToLDAPString()
String
representation for storage in LDAP.
convertToLDAPString
in interface IPolicyTarget
String
encoding of this targetpublic static boolean isRoleTarget(java.lang.String str)
IPolicyTarget
String
representation
to see if it is a RoleTarget
str
- the String
encoding of a target
public static RoleTarget loadFromLDAPString(java.lang.String str)
String
representation.
str
- the String
encoding of this target
public boolean getIncludeAllStatic()
boolean
flagpublic java.lang.String getRoleId()
String
distinguished name for an individual
specified role. If this target includes multiple roles (wildcard),
then this method can return null
.
String
id for the targeted role
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |