org.alfresco.repo.webdav.auth
Class HTTPRequestAuthenticationFilter

java.lang.Object
  extended by org.alfresco.repo.webdav.auth.BaseAuthenticationFilter
      extended by org.alfresco.repo.webdav.auth.HTTPRequestAuthenticationFilter
All Implemented Interfaces:
javax.servlet.Filter

public class HTTPRequestAuthenticationFilter
extends BaseAuthenticationFilter
implements javax.servlet.Filter

WebDAV Authentication Filter Class for SSO linke SiteMinder and IChains


Field Summary
 
Fields inherited from class org.alfresco.repo.webdav.auth.BaseAuthenticationFilter
ARG_TICKET, AUTHENTICATION_USER, authenticationComponent, authenticationService, NO_AUTH_REQUIRED, nodeService, personService, remoteUserMapper, transactionService
 
Constructor Summary
HTTPRequestAuthenticationFilter()
           
 
Method Summary
 void destroy()
          Cleanup filter resources
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain)
          Run the authentication filter
protected  org.apache.commons.logging.Log getLogger()
          Return the logger.
 void init(javax.servlet.FilterConfig config)
          Initialize the filter
 
Methods inherited from class org.alfresco.repo.webdav.auth.BaseAuthenticationFilter
createUserEnvironment, createUserEnvironment, createUserObject, doInSystemTransaction, getSessionUser, getUserAttributeName, handleLoginForm, invalidateSession, setAuthenticationComponent, setAuthenticationService, setNodeService, setPersonService, setRemoteUserMapper, setTransactionService, setUserAttributeName
 
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

init

public void init(javax.servlet.FilterConfig config)
          throws javax.servlet.ServletException
Initialize the filter

Specified by:
init in interface javax.servlet.Filter
Parameters:
config - FitlerConfig
Throws:
javax.servlet.ServletException

doFilter

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

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

destroy

public void destroy()
Cleanup filter resources

Specified by:
destroy in interface javax.servlet.Filter

getLogger

protected org.apache.commons.logging.Log getLogger()
Description copied from class: BaseAuthenticationFilter
Return the logger.

Specified by:
getLogger in class BaseAuthenticationFilter
Returns:
Log


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