|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jwall.web.audit.session.AbstractSessionTracker
org.jwall.web.audit.session.CookieSessionTracker
public class CookieSessionTracker
This tracker creates a session-context wrt to a specific session-cookie. Sessions are
only created by events that contain a Set-Cookie header, thus this tracker
is somewhat immune to session-fixation.
| Constructor Summary | |
|---|---|
CookieSessionTracker(String cookieName)
This tracker creates sessions on behalf of a id sent in the request-cookie names cookieName. |
|
| Method Summary | |
|---|---|
void |
expireSession(Session s)
Expire the session as normally, but also remove the session-id from the valid-list. |
String |
extractKey(AuditEvent evt)
This method extracts the session-id that is sent in this event within the cookie, identified by sessionCookie. |
String |
toString()
This method returns a string of all events grouped by their session-id. |
| Methods inherited from class org.jwall.web.audit.session.AbstractSessionTracker |
|---|
eventArrived, eventsArrived, getSession, getSessions, getSessionTimeOut, isExpired, reset, setSessionTimeOut, setStrictSessions, usesStrictSessions |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CookieSessionTracker(String cookieName)
cookieName.
cookieName - The name of the session-cookie.| Method Detail |
|---|
public String extractKey(AuditEvent evt)
sessionCookie.
extractKey in class AbstractSessionTrackerevt - The AuditEvent from which the session-id is to be extracted.
public void expireSession(Session s)
s - The session to expire.public String toString()
AbstractSessionTracker
toString in class AbstractSessionTracker
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||