org.alfresco.web.app.servlet
Class HTTPRequestAuthenticationFilter

java.lang.Object
  extended by org.alfresco.web.app.servlet.HTTPRequestAuthenticationFilter
All Implemented Interfaces:
javax.servlet.Filter

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

Generic HTTP request filter for setting the authenticated user when used with authentication systems such as SiteMinder, Novell IChains and CAS.


Constructor Summary
HTTPRequestAuthenticationFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest sreq, javax.servlet.ServletResponse sresp, javax.servlet.FilterChain chain)
          Run the filter
 void init(javax.servlet.FilterConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPRequestAuthenticationFilter

public HTTPRequestAuthenticationFilter()
Method Detail

destroy

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

doFilter

public void doFilter(javax.servlet.ServletRequest sreq,
                     javax.servlet.ServletResponse sresp,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Run the filter

Specified by:
doFilter in interface javax.servlet.Filter
Parameters:
sreq - ServletRequest
sresp - ServletResponse
chain - FilterChain
Throws:
java.io.IOException
javax.servlet.ServletException

init

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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.