Class AuthenticationCookieFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter
io.camunda.optimize.rest.security.AuthenticationCookieFilter
All Implemented Interfaces:
jakarta.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

public class AuthenticationCookieFilter extends org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter
  • Field Summary

    Fields inherited from class org.springframework.web.filter.GenericFilterBean

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    AuthenticationCookieFilter(SessionService sessionService, org.springframework.security.authentication.AuthenticationManager authenticationManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
    getPreAuthenticatedCredentials(jakarta.servlet.http.HttpServletRequest request)
     
    protected Object
    getPreAuthenticatedPrincipal(jakarta.servlet.http.HttpServletRequest request)
     

    Methods inherited from class org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter

    afterPropertiesSet, doFilter, getAuthenticationDetailsSource, principalChanged, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setCheckForPrincipalChanges, setContinueFilterChainOnUnsuccessfulAuthentication, setInvalidateSessionOnPrincipalChange, setRequiresAuthenticationRequestMatcher, setSecurityContextHolderStrategy, setSecurityContextRepository, successfulAuthentication, unsuccessfulAuthentication

    Methods inherited from class org.springframework.web.filter.GenericFilterBean

    addRequiredProperty, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AuthenticationCookieFilter

      public AuthenticationCookieFilter(SessionService sessionService, org.springframework.security.authentication.AuthenticationManager authenticationManager)
    • AuthenticationCookieFilter

      public AuthenticationCookieFilter(SessionService sessionService)
  • Method Details

    • getPreAuthenticatedPrincipal

      protected Object getPreAuthenticatedPrincipal(jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      getPreAuthenticatedPrincipal in class org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter
    • getPreAuthenticatedCredentials

      protected Object getPreAuthenticatedCredentials(jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      getPreAuthenticatedCredentials in class org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter