public class RoleIdentifier extends Object implements Comparable<RoleIdentifier>
AuthorizationInfo.getRoles(), so in all authentication and authorization interfaces
the string representation as returned by toString() is used to identify roles.| Constructor and Description |
|---|
RoleIdentifier(String group,
String id) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(RoleIdentifier o) |
boolean |
equals(Object o) |
static RoleIdentifier |
fromString(String idStr) |
String |
getGroup() |
String |
getId() |
int |
hashCode() |
String |
toString() |
public static RoleIdentifier fromString(String idStr)
public String getId()
public int compareTo(RoleIdentifier o)
compareTo in interface Comparable<RoleIdentifier>Copyright © 2017. All Rights Reserved.