DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.security.access
Class AuthorizationFilter

java.lang.Object
  extended by org.dlese.dpc.schemedit.security.access.AuthorizationFilter
All Implemented Interfaces:
Filter

public class AuthorizationFilter
extends Object
implements Filter

NOT YET DOCUMENTED

Version:
$Id: AuthorizationFilter.java,v 1.18 2010/08/30 19:04:47 ostwald Exp $
Author:
Jonathan Ostwald

Constructor Summary
AuthorizationFilter()
           
 
Method Summary
 void destroy()
          NOT YET DOCUMENTED
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
          This filter gets every page request, and must decide how to handle each one.
static String getDateStamp()
          Return a string for the current time and date, sutiable for display in log files and output to standout:
 void init(FilterConfig filterConfig)
          Sets SessionRegistry attribute from servletContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationFilter

public AuthorizationFilter()
Method Detail

init

public void init(FilterConfig filterConfig)
          throws ServletException
Sets SessionRegistry attribute from servletContext. NOTE: SessionRegistry is instantianted before filters are initialized only because it is registered as a Listener. Otherwise, the SessionRegistry would not yet be available in the servletContext.

Specified by:
init in interface Filter
Parameters:
filterConfig - NOT YET DOCUMENTED
Throws:
ServletException - NOT YET DOCUMENTED

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws IOException,
                     ServletException
This filter gets every page request, and must decide how to handle each one.

Specified by:
doFilter in interface Filter
Parameters:
request - NOT YET DOCUMENTED
response - NOT YET DOCUMENTED
chain - NOT YET DOCUMENTED
Throws:
IOException - NOT YET DOCUMENTED
ServletException - NOT YET DOCUMENTED

destroy

public void destroy()
NOT YET DOCUMENTED

Specified by:
destroy in interface Filter

getDateStamp

public static String getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout:

Returns:
The dateStamp value

DLESE Tools
v1.6.0