|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.talika.tarsis.security.SecuritySessionImpl
public final class SecuritySessionImpl
Implementation of SecuritySession
interface.
Constructor Summary | |
---|---|
SecuritySessionImpl(User user)
Creates a new SecuritySessionImpl . |
Method Summary | |
---|---|
User |
getUser()
Returns User of session. |
void |
invalidate()
Invalidates session. |
boolean |
isValid()
Returns true is session is valid. |
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
Notifies the object that it is being bound to a session and identifies the session. |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
Notifies the object that it is being unbound from a session and identifies the session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecuritySessionImpl(User user)
SecuritySessionImpl
.
user
- User user of session.Method Detail |
---|
public User getUser()
User
of session.
getUser
in interface SecuritySession
User
of session.SecuritySession.getUser()
public void invalidate()
invalidate
in interface SecuritySession
SecuritySession.invalidate()
public boolean isValid()
true
is session is valid.
isValid
in interface SecuritySession
true
is session is valid.SecuritySession.isValid()
public void valueBound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
httpSessionBindingEvent
- HttpSessionBindingEvent the event that
identifies the session.HttpSessionBindingListener.valueBound(HttpSessionBindingEvent)
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
httpSessionBindingEvent
- HttpSessionBindingEvent the event that
identifies the session.HttpSessionBindingListener.valueUnbound(HttpSessionBindingEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |