public class SessionAuthentication extends AbstractUserAuthentication implements java.io.Serializable, javax.servlet.http.HttpSessionActivationListener, javax.servlet.http.HttpSessionBindingListener
Authentication.Challenge, Authentication.Deferred, Authentication.Failed, Authentication.Failure, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.Wrapped| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
__J_AUTHENTICATED |
_method, _userIdentityNOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED| Constructor and Description |
|---|
SessionAuthentication(java.lang.String method,
UserIdentity userIdentity,
java.lang.Object credentials) |
| Modifier and Type | Method and Description |
|---|---|
UserIdentity |
getUserIdentity() |
void |
logout() |
void |
sessionDidActivate(javax.servlet.http.HttpSessionEvent se) |
void |
sessionWillPassivate(javax.servlet.http.HttpSessionEvent se) |
java.lang.String |
toString() |
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event) |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event) |
declaredRolesContains, getAuthMethod, isUserInRolepublic static final java.lang.String __J_AUTHENTICATED
public SessionAuthentication(java.lang.String method,
UserIdentity userIdentity,
java.lang.Object credentials)
public UserIdentity getUserIdentity()
getUserIdentity in interface Authentication.UsergetUserIdentity in class AbstractUserAuthenticationpublic void logout()
logout in interface Authentication.Userpublic java.lang.String toString()
toString in class java.lang.Objectpublic void sessionWillPassivate(javax.servlet.http.HttpSessionEvent se)
sessionWillPassivate in interface javax.servlet.http.HttpSessionActivationListenerpublic void sessionDidActivate(javax.servlet.http.HttpSessionEvent se)
sessionDidActivate in interface javax.servlet.http.HttpSessionActivationListenerpublic void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound in interface javax.servlet.http.HttpSessionBindingListenerpublic void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound in interface javax.servlet.http.HttpSessionBindingListenerCopyright © 1995–2021 Webtide. All rights reserved.