com.ibm.portal.ac.data
Interface Role


public interface Role

A Role object models a set of privileges on a resource and is therefore a tupel of a RoleType and a resource, for example MANAGER@TestPortlet.

Role objects can be retrieved from RoleData and contain configuration information about a role, e.g. if the role is managed externally.

Since:
6.1.0.3
See Also:
RoleAssignment, RoleData

Method Summary
 java.lang.String getExternalizedRoleAlias()
          Returns the alias for the role
 java.lang.String getExternalizedRoleName()
          Returns the name of this role.
 ObjectID getResourceID()
          Returns the ObjectID of the resource associated with this Role instance
 RoleType getRoleType()
          Returns the RoleType of this Role instance
 boolean isExternalized()
          Indicates whether the role has been externalized to an external security manager in order to manage access control by this external component.
 

Method Detail

getRoleType

RoleType getRoleType()
Returns the RoleType of this Role instance

Returns:
the RoleType of this Role

getResourceID

ObjectID getResourceID()
Returns the ObjectID of the resource associated with this Role instance

Returns:
the ObjectID of the resource associated with this Role instance

isExternalized

boolean isExternalized()
Indicates whether the role has been externalized to an external security manager in order to manage access control by this external component.

Returns:
true if the role is externalized, false otherwise.

getExternalizedRoleName

java.lang.String getExternalizedRoleName()
Returns the name of this role.

Returns:
String

getExternalizedRoleAlias

java.lang.String getExternalizedRoleAlias()
Returns the alias for the role

Returns:
The alias of the role according; null if the alias is not set.