|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.security.authorities.RoleAuthority
public class RoleAuthority
Defines an association of a role by-name.
The RoleAuthority
s' Authority.getAuthority()
String representation format:
RolePrivilege role
Where:
role = role-name
Nested Class Summary | |
---|---|
static class |
RoleAuthority.RolePrivilege
Empty placeholder for Role privilege (part of authority format) |
Constructor Summary | |
---|---|
RoleAuthority(String role)
A role authority with a specified role name. |
Method Summary | |
---|---|
String |
getAuthority()
An Authority that can be represented as a String which is
sufficient in precision to be relied upon for an access control decisions. |
String |
getRole()
|
String |
toString()
|
static RoleAuthority |
valueOf(String authority)
Parses the getAuthority() string representation of an Authority. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RoleAuthority(String role)
role
- The role name.Method Detail |
---|
public static RoleAuthority valueOf(String authority)
getAuthority()
string representation of an Authority.
authority
- The role authority to be parsed.
public String getAuthority()
Authority
Authority
that can be represented as a String
which is
sufficient in precision to be relied upon for an access control decisions.
getAuthority
in interface Authority
String
with
sufficient precision).public String toString()
toString
in class Object
public String getRole()
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |