public class AuthenticationPrincipal extends Object implements Principal, Serializable
| Constructor and Description |
|---|
AuthenticationPrincipal(String userName,
String password,
List roles)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthType() |
String |
getName() |
String |
getPassword() |
boolean |
isUserIsInRole(String role)
Searches for the requested role in this user's roleset.
|
void |
setAuthType(String authType) |
Copyright © 2014. All rights reserved.