public abstract class AbstractUserAuthentication extends Object implements Authentication.User, Serializable
Authentication.Challenge, Authentication.Deferred, Authentication.Failed, Authentication.Failure, Authentication.LoginAuthentication, Authentication.LogoutAuthentication, Authentication.NonAuthenticated, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.WrappedNOT_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) |
Authentication |
logout(ServletRequest request)
Remove any user information that may be present in the request
such that a call to getUserPrincipal/getRemoteUser will return null.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlogoutpublic AbstractUserAuthentication(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 boolean declaredRolesContains(String roleName)
public Authentication logout(ServletRequest request)
Authentication.LogoutAuthenticationlogout in interface Authentication.LogoutAuthenticationrequest - the requestCopyright © 2010 - 2020 Adobe. All Rights Reserved