| 
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gigaspaces.security.authorities.RoleAuthority
public class RoleAuthority
Defines an association of a role by-name.
 The RoleAuthoritys' 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()
AuthorityAuthority that can be represented as a String which is
 sufficient in precision to be relied upon for an access control decisions.
getAuthority in interface AuthorityString with
         sufficient precision).public String toString()
toString in class Objectpublic String getRole()
  | 
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||