public class UserAuthentication extends Object implements Authentication.User
Authentication.Challenge, Authentication.Deferred, Authentication.Failure, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.WrappedNOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED| Constructor and Description |
|---|
UserAuthentication(String method,
UserIdentity userIdentity) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthMethod() |
UserIdentity |
getUserIdentity() |
boolean |
isUserInRole(UserIdentity.Scope scope,
String role) |
void |
logout() |
String |
toString() |
public UserAuthentication(String method, UserIdentity userIdentity)
public String getAuthMethod()
getAuthMethod in interface Authentication.Userpublic UserIdentity getUserIdentity()
getUserIdentity in interface Authentication.Userpublic boolean isUserInRole(UserIdentity.Scope scope, String role)
isUserInRole in interface Authentication.Userpublic void logout()
logout in interface Authentication.UserCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.