Class AnonymousSupportKeycloakAuthenticatedActionsFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.keycloak.adapters.springsecurity.filter.KeycloakAuthenticatedActionsFilter
org.qubership.atp.auth.springbootstarter.security.filters.AnonymousSupportKeycloakAuthenticatedActionsFilter
All Implemented Interfaces:
javax.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.ApplicationContextAware, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

public class AnonymousSupportKeycloakAuthenticatedActionsFilter extends org.keycloak.adapters.springsecurity.filter.KeycloakAuthenticatedActionsFilter
  • Field Summary

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

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
    DoFilter method.
    protected void
    Init Filter Bean.
    void
    setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
    ApplicationContext Setter.

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

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

    Methods inherited from class java.lang.Object

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

    • AnonymousSupportKeycloakAuthenticatedActionsFilter

      public AnonymousSupportKeycloakAuthenticatedActionsFilter()
      Constructor.
  • Method Details

    • initFilterBean

      protected void initFilterBean()
      Init Filter Bean.
      Overrides:
      initFilterBean in class org.keycloak.adapters.springsecurity.filter.KeycloakAuthenticatedActionsFilter
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      ApplicationContext Setter.
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Overrides:
      setApplicationContext in class org.keycloak.adapters.springsecurity.filter.KeycloakAuthenticatedActionsFilter
      Parameters:
      applicationContext - parameter
      Throws:
      org.springframework.beans.BeansException - in case some bean exception.
    • doFilter

      public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
      DoFilter method.
      Specified by:
      doFilter in interface javax.servlet.Filter
      Overrides:
      doFilter in class org.keycloak.adapters.springsecurity.filter.KeycloakAuthenticatedActionsFilter
      Parameters:
      request - ServletRequest object
      response - ServletResponse object
      chain - Chain of filters
      Throws:
      IOException - in case some IO exception
      javax.servlet.ServletException - in case servlet processing exception.