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 TypeMethodDescriptionvoiddestroy()Cleanup filter resourcesvoiddoFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain) Run the authentication filterprotected org.apache.commons.logging.LogReturn the logger.voidinit(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:
initin 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:
doFilterin interfacejavax.servlet.Filter- Parameters:
req- ServletRequestresp- ServletResponsechain- FilterChain- Throws:
javax.servlet.ServletExceptionIOException
-
destroy
public void destroy()Cleanup filter resources- Specified by:
destroyin interfacejavax.servlet.Filter
-
getLogger
protected org.apache.commons.logging.Log getLogger()Description copied from class:BaseAuthenticationFilterReturn the logger.- Specified by:
getLoggerin classBaseAuthenticationFilter- Returns:
- Log
-