HiRISE

HiRISE.HiReport.servlets
Class FileAndFolderFilter

java.lang.Object
  extended by HiRISE.HiReport.servlets.FileAndFolderFilter
All Implemented Interfaces:
javax.servlet.Filter

public class FileAndFolderFilter
extends Object
implements javax.servlet.Filter

Security filter to check if user is logged in (has value under session key)


Constructor Summary
FileAndFolderFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain fch)
           
 void init(javax.servlet.FilterConfig cfg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileAndFolderFilter

public FileAndFolderFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig cfg)
          throws javax.servlet.ServletException
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 fch)
              throws IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
IOException
javax.servlet.ServletException

destroy

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

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona