public class UserAuthentication extends java.lang.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(java.lang.String method,
UserIdentity userIdentity) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthMethod() |
UserIdentity |
getUserIdentity() |
boolean |
isUserInRole(UserIdentity.Scope scope,
java.lang.String role) |
void |
logout() |
java.lang.String |
toString() |
public UserAuthentication(java.lang.String method,
UserIdentity userIdentity)
public java.lang.String getAuthMethod()
getAuthMethod in interface Authentication.Userpublic UserIdentity getUserIdentity()
getUserIdentity in interface Authentication.Userpublic boolean isUserInRole(UserIdentity.Scope scope, java.lang.String role)
isUserInRole in interface Authentication.Userpublic java.lang.String toString()
toString in class java.lang.Objectpublic void logout()
logout in interface Authentication.UserCopyright © 2013 FuseSource, Corp.. All Rights Reserved.