public abstract class AbstractUserAuthentication extends Object implements Authentication.User, Serializable
Authentication.Challenge, Authentication.Deferred, Authentication.Failed, Authentication.Failure, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.Wrapped
Modifier and Type | Field and Description |
---|---|
protected String |
_method |
protected UserIdentity |
_userIdentity |
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED
Constructor and Description |
---|
AbstractUserAuthentication(String method,
UserIdentity userIdentity) |
Modifier and Type | Method and Description |
---|---|
boolean |
declaredRolesContains(String roleName) |
String |
getAuthMethod() |
UserIdentity |
getUserIdentity() |
boolean |
isUserInRole(UserIdentity.Scope scope,
String role) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
logout
protected String _method
protected transient UserIdentity _userIdentity
public AbstractUserAuthentication(String method, UserIdentity userIdentity)
public String getAuthMethod()
getAuthMethod
in interface Authentication.User
public UserIdentity getUserIdentity()
getUserIdentity
in interface Authentication.User
public boolean isUserInRole(UserIdentity.Scope scope, String role)
isUserInRole
in interface Authentication.User
public boolean declaredRolesContains(String roleName)
Copyright © 1995-2015 Webtide. All Rights Reserved.