public class UserAuthentication extends java.lang.Object implements Authentication.User
Authentication.Challenge, Authentication.Deferred, Authentication.Failure, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.Wrapped
NOT_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.User
public UserIdentity getUserIdentity()
getUserIdentity
in interface Authentication.User
public boolean isUserInRole(UserIdentity.Scope scope, java.lang.String role)
isUserInRole
in interface Authentication.User
public java.lang.String toString()
toString
in class java.lang.Object
public void logout()
logout
in interface Authentication.User
Copyright © 2013. All Rights Reserved.