public class RoleAuthority extends Object implements Authority
 The RoleAuthoritys' Authority.getAuthority() String representation format:
 
 RolePrivilege role
 Where:
 role = role-name
 | Modifier and Type | Class and Description | 
|---|---|
static class  | 
RoleAuthority.RolePrivilege
Empty placeholder for Role privilege (part of authority format) 
 | 
| Constructor and Description | 
|---|
RoleAuthority(String role)
A role authority with a specified role name. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. | 
public RoleAuthority(String role)
role - The role name.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 getRole()
Copyright © GigaSpaces.