net.sf.jguard.jee.authentication.http
Class AccessFilter

java.lang.Object
  extended by net.sf.jguard.jee.authentication.http.AccessFilter
All Implemented Interfaces:
javax.servlet.Filter

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

Bound HTTP call (contained into AccessContext) to AuthenticationLifeCycle via via AuthenticationBindings.

Author:
Charles Gay

Field Summary
static java.lang.String FILTER_CHAIN
           
static java.lang.String SERVLET_CONTEXT
           
static java.lang.String SERVLET_REQUEST
           
static java.lang.String SERVLET_RESPONSE
           
 
Constructor Summary
AccessFilter()
          Creates a new instance of HttpServletAuthenticationFilter
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain)
           
 void init(javax.servlet.FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVLET_REQUEST

public static final java.lang.String SERVLET_REQUEST
See Also:
Constant Field Values

SERVLET_RESPONSE

public static final java.lang.String SERVLET_RESPONSE
See Also:
Constant Field Values

FILTER_CHAIN

public static final java.lang.String FILTER_CHAIN
See Also:
Constant Field Values

SERVLET_CONTEXT

public static final java.lang.String SERVLET_CONTEXT
See Also:
Constant Field Values
Constructor Detail

AccessFilter

public AccessFilter()
Creates a new instance of HttpServletAuthenticationFilter

Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.ServletRequest servletRequest,
                     javax.servlet.ServletResponse servletResponse,
                     javax.servlet.FilterChain filterChain)
              throws java.io.IOException,
                     javax.servlet.ServletException
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 © 2004-2009. All Rights Reserved.