| Modifier and Type | Field and Description |
|---|---|
| private final String[] | |
| private final Subject | |
| private final Principal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Subject | |
| public Principal | |
| public boolean | isUserInRole(String
A role name. role)Implements org. |
| public String |
| _roles | back to summary |
|---|---|
| private final String[] _roles | |
| _subject | back to summary |
|---|---|
| private final Subject _subject | |
| _userPrincipal | back to summary |
|---|---|
| private final Principal _userPrincipal | |
| DefaultUserIdentity | back to summary |
|---|---|
| public DefaultUserIdentity(Subject subject, Principal userPrincipal, String[] roles) | |
| getSubject | back to summary |
|---|---|
| public Subject getSubject() Implements org.
| |
| getUserPrincipal | back to summary |
|---|---|
| public Principal getUserPrincipal() Implements org.
| |
| isUserInRole | back to summary |
|---|---|
| public boolean isUserInRole(String role) Implements org. Doc from org. Check if the user is in a role. This call is used to satisfy authorization calls from container code which will be using translated role names. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |