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.LoginAuthentication, Authentication.LogoutAuthentication, Authentication.NonAuthenticated, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.Wrapped
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
__J_AUTHENTICATED |
_method, _userIdentity
NOT_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()
Deprecated.
|
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)
Deprecated.
|
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Deprecated.
|
declaredRolesContains, getAuthMethod, isUserInRole, logout
public 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.User
getUserIdentity
in class AbstractUserAuthentication
@Deprecated public void logout()
logout
in interface Authentication.User
public java.lang.String toString()
toString
in class java.lang.Object
public void sessionWillPassivate(javax.servlet.http.HttpSessionEvent se)
sessionWillPassivate
in interface javax.servlet.http.HttpSessionActivationListener
public void sessionDidActivate(javax.servlet.http.HttpSessionEvent se)
sessionDidActivate
in interface javax.servlet.http.HttpSessionActivationListener
@Deprecated public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
@Deprecated public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
Copyright © 1995–2022 Webtide. All rights reserved.