ch.security4web.esapi.csrf
Class OwaspCSRFSessionListener

java.lang.Object
  extended by ch.security4web.esapi.csrf.OwaspCSRFSessionListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionListener

public class OwaspCSRFSessionListener
extends java.lang.Object
implements javax.servlet.http.HttpSessionListener

* OWASP Enterprise Security API (ESAPI) This file is part of the Open Web Application Security Project (OWASP) Enterprise Security API (ESAPI) project. For details, please see http://www.owasp.org/index.php/ESAPI. Copyright (c) 2007 - The OWASP Foundation The ESAPI is published by OWASP under the BSD license. You should read and accept the LICENSE before you use, modify, and/or redistribute this software.

Since:
1.0
Version:
2.0
Author:
Rakesh, Dr.Prof.Emmanuel, Matthey Samuel

Constructor Summary
OwaspCSRFSessionListener()
           
 
Method Summary
 java.lang.String generateRandomId()
           
 void sessionCreated(javax.servlet.http.HttpSessionEvent event)
           
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent arg0)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwaspCSRFSessionListener

public OwaspCSRFSessionListener()
Method Detail

sessionCreated

public void sessionCreated(javax.servlet.http.HttpSessionEvent event)
Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener

sessionDestroyed

public void sessionDestroyed(javax.servlet.http.HttpSessionEvent arg0)
Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener

generateRandomId

public java.lang.String generateRandomId()