public class SessionAuthentication extends AbstractUserAuthentication implements 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 String |
__J_AUTHENTICATED |
_method, _userIdentity
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED
Constructor and Description |
---|
SessionAuthentication(String method,
UserIdentity userIdentity,
Object credentials) |
Modifier and Type | Method and Description |
---|---|
void |
logout() |
void |
sessionDidActivate(javax.servlet.http.HttpSessionEvent se) |
void |
sessionWillPassivate(javax.servlet.http.HttpSessionEvent se) |
String |
toString() |
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event) |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event) |
declaredRolesContains, getAuthMethod, getUserIdentity, isUserInRole
public static final String __J_AUTHENTICATED
public SessionAuthentication(String method, UserIdentity userIdentity, Object credentials)
public void logout()
logout
in interface Authentication.User
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
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
Copyright © 1995-2014 Webtide. All Rights Reserved.