Package org.alfresco.repo.webdav.auth
Class HTTPRequestAuthenticationFilter
java.lang.Object
org.alfresco.repo.webdav.auth.BaseAuthenticationFilter
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, authenticationListener, authenticationService, NO_AUTH_REQUIRED, nodeService, personService, remoteUserMapper, transactionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Cleanup filter resourcesvoid
doFilter
(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain) Run the authentication filterprotected org.apache.commons.logging.Log
Return the logger.void
init
(javax.servlet.FilterConfig config) Initialize the filterMethods inherited from class org.alfresco.repo.webdav.auth.BaseAuthenticationFilter
createUserEnvironment, createUserEnvironment, createUserObject, doInSystemTransaction, getSessionUser, getUserAttributeName, handleLoginForm, invalidateSession, setAuthenticationComponent, setAuthenticationListener, setAuthenticationService, setNodeService, setPersonService, setRemoteUserMapper, setTransactionService, setUserAttributeName
-
Constructor Details
-
HTTPRequestAuthenticationFilter
public HTTPRequestAuthenticationFilter()
-
-
Method Details
-
init
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException Initialize the filter- Specified by:
init
in interfacejavax.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 IOException, javax.servlet.ServletException Run the authentication filter- Specified by:
doFilter
in interfacejavax.servlet.Filter
- Parameters:
req
- ServletRequestresp
- ServletResponsechain
- FilterChain- Throws:
javax.servlet.ServletException
IOException
-
destroy
public void destroy()Cleanup filter resources- Specified by:
destroy
in interfacejavax.servlet.Filter
-
getLogger
protected org.apache.commons.logging.Log getLogger()Description copied from class:BaseAuthenticationFilter
Return the logger.- Specified by:
getLogger
in classBaseAuthenticationFilter
- Returns:
- Log
-