|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 fromRoleData
and contain
configuration information about a role, e.g. if the role is managed
externally.
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 |
---|
RoleType getRoleType()
ObjectID getResourceID()
boolean isExternalized()
true
if the role is externalized, false
otherwise.java.lang.String getExternalizedRoleName()
java.lang.String getExternalizedRoleAlias()
null
if the alias
is not set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |