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, _userIdentityNOT_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, isUserInRolepublic static final String __J_AUTHENTICATED
public SessionAuthentication(String method, UserIdentity userIdentity, Object credentials)
public void logout()
logout in interface Authentication.Userpublic void sessionWillPassivate(HttpSessionEvent se)
sessionWillPassivate in interface HttpSessionActivationListenerpublic void sessionDidActivate(HttpSessionEvent se)
sessionDidActivate in interface HttpSessionActivationListenerpublic void valueBound(HttpSessionBindingEvent event)
valueBound in interface HttpSessionBindingListenerpublic void valueUnbound(HttpSessionBindingEvent event)
valueUnbound in interface HttpSessionBindingListenerCopyright © 1995-2015 Webtide. All Rights Reserved.