public class SessionAuthentication extends AbstractUserAuthentication implements Serializable, HttpSessionActivationListener, 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(HttpSessionEvent se) |
void |
sessionWillPassivate(HttpSessionEvent se) |
String |
toString() |
void |
valueBound(HttpSessionBindingEvent event) |
void |
valueUnbound(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(HttpSessionEvent se)
sessionWillPassivate
in interface HttpSessionActivationListener
public void sessionDidActivate(HttpSessionEvent se)
sessionDidActivate
in interface HttpSessionActivationListener
public void valueBound(HttpSessionBindingEvent event)
valueBound
in interface HttpSessionBindingListener
public void valueUnbound(HttpSessionBindingEvent event)
valueUnbound
in interface HttpSessionBindingListener
Copyright © 1995-2015 Webtide. All Rights Reserved.