com.ibm.portal.ac.data
Interface RoleAssignment


public interface RoleAssignment

A RoleAssigment models the mapping of a Principal to a Role. As roles, in turn, represent the mapping of a set of privileges (RoleType) to a resource, a RoleAssignment represents a (sub)set of the privileges that a single principal has on a single resource.

Since:
6.1.0.3
See Also:
Role, RoleData

Method Summary
 Principal getPrincipal()
          Returns the Principal associated with this RoleAssignment
 Role getRole()
          Returns the Role associated with this RoleAssignment
 

Method Detail

getRole

Role getRole()
Returns the Role associated with this RoleAssignment

Returns:
the Role associated with this RoleAssignment

getPrincipal

Principal getPrincipal()
Returns the Principal associated with this RoleAssignment

Returns:
the Principal associated with this RoleAssignment