|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RoleHierarchyPolicy
This interface provides the methods for enquiring the Role Hierarchy Policy. The users of the policy will normally only need to know how to convert the role OID into the type as it is specified in the policy (the authorisation tokens may contain an OID as the identifier of the role type, which is not human readable in the policy, and would probably be replaced by a human-readable string). The other thing the users may wish to know is the reference to the node representing the given role value of a particular type. The node can tell the hierarchical relationship to other nodes.
Method Summary | |
---|---|
RoleHierarchyNode |
getRole(java.lang.String roleType,
java.lang.String roleValue)
This method returns a reference to the role in the hierarchy. |
java.lang.String |
getTypeByOID(java.lang.String roleOID)
This method returns the type of the attribute corresponding to the given OID. |
java.util.Map |
getTypeOid()
This method returns a hashtable that map between type and corresponding OID |
Method Detail |
---|
java.lang.String getTypeByOID(java.lang.String roleOID)
roleOID
- is the requested OID in the dotted form
java.util.Map getTypeOid()
RoleHierarchyNode getRole(java.lang.String roleType, java.lang.String roleValue)
roleType
- is the identifier of the role type in the policyroleValue
- is the value of the role to give the reference to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |