|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.dataservices.model.AccessRight
Class that represents an access right, or Access Control Information (ACI).
Field Summary | |
---|---|
static java.lang.String |
SINGLE_SCOPE
Constant indicating the scope of the ACI is to be only one level of the logical tree. |
static java.lang.String |
SUBTREE_SCOPE
Constant indicating the scope of the ACI is to be the current level and all sub-levels of the logical tree. |
Constructor Summary | |
---|---|
AccessRight()
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
getFilter()
Returns the ACI's LDAP search filter, if any. |
java.lang.String |
getName()
Returns a descriptive name or label for the ACI. |
java.util.Collection |
getPermissions()
Returns the collection of permissions that define the level of access to the target. |
java.util.Collection |
getPrincipals()
Returns the set of principals that the permissions apply to. |
java.util.Collection |
getRoles()
Returns a Collection String DN that point to the groups whose members are authorized by the ACI this AccessRight represents. |
java.lang.String |
getScope()
Returns the scope of the ACI. |
java.lang.String |
getTarget()
Returns the target entity, or set of entities, this ACI is protecting. |
void |
setFilter(java.lang.String filter)
Sets the ACI's LDAP search filter. |
void |
setName(java.lang.String name)
Changes the descriptive name or label of the ACI. |
void |
setScope(java.lang.String scope)
Changes the scope of the ACI. |
void |
setTarget(java.lang.String target)
Changes the target entity, or set of entities, this ACI is protecting. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SINGLE_SCOPE
public static final java.lang.String SUBTREE_SCOPE
Constructor Detail |
public AccessRight()
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- String name for the ACI.public java.lang.String getTarget()
public void setTarget(java.lang.String target)
target
- description of the target entity, or entities.public java.util.Collection getPermissions()
Permission
public java.util.Collection getRoles()
public java.util.Collection getPrincipals()
public java.lang.String getScope()
public void setScope(java.lang.String scope)
scope
- Enumeration of scope levels, SINGLE_SCOPE, SUBTREE_SCOPE.public java.lang.String getFilter()
public void setFilter(java.lang.String filter)
filter
- an RFC 2254 LDAP search filter.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |