catalog.view.util
Class SecurityFilter

java.lang.Object
  extended bycatalog.view.util.SecurityFilter
All Implemented Interfaces:
javax.servlet.Filter

public class SecurityFilter
extends java.lang.Object
implements javax.servlet.Filter

This Filter class handle the security of the application.

It should be configured inside the web.xml.

Author:
Derek Y. Shen

Constructor Summary
SecurityFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)
          Standard doFilter object.
 void init(javax.servlet.FilterConfig filterConfig)
          Initializes the Filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityFilter

public SecurityFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Initializes the Filter.

Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.ServletRequest req,
                     javax.servlet.ServletResponse res,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Standard doFilter object.

Specified by:
doFilter in interface javax.servlet.Filter
Throws:
java.io.IOException
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter


Copyright (c) 2004 The JCatalog Project.