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:
jakarta.servlet.Filter
public class HTTPRequestAuthenticationFilter
extends BaseAuthenticationFilter
implements jakarta.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(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp, jakarta.servlet.FilterChain chain) Run the authentication filterprotected org.apache.commons.logging.LogReturn the logger.voidinit(jakarta.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(jakarta.servlet.FilterConfig config) throws jakarta.servlet.ServletException Initialize the filter- Specified by:
initin interfacejakarta.servlet.Filter- Parameters:
config- FitlerConfig- Throws:
jakarta.servlet.ServletException
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException Run the authentication filter- Specified by:
doFilterin interfacejakarta.servlet.Filter- Parameters:
req- ServletRequestresp- ServletResponsechain- FilterChain- Throws:
jakarta.servlet.ServletExceptionIOException
-
destroy
public void destroy()Cleanup filter resources- Specified by:
destroyin interfacejakarta.servlet.Filter
-
getLogger
protected org.apache.commons.logging.Log getLogger()Description copied from class:BaseAuthenticationFilterReturn the logger.- Specified by:
getLoggerin classBaseAuthenticationFilter- Returns:
- Log
-