Class CasAuthenticationFilter

  • 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.ApplicationEventPublisherAware, org.springframework.context.EnvironmentAware, org.springframework.context.MessageSourceAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

    public class CasAuthenticationFilter
    extends org.springframework.security.cas.web.CasAuthenticationFilter
    Filter responsible of handling CAS handshaking.
    Since:
    8.1
    Author:
    Marco Meschieri - LogicalDOC
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String CAS_SID  
      • Fields inherited from class org.springframework.security.cas.web.CasAuthenticationFilter

        CAS_STATEFUL_IDENTIFIER, CAS_STATELESS_IDENTIFIER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.security.core.Authentication attemptAuthentication​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      void doFilter​(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)  
      • Methods inherited from class org.springframework.security.cas.web.CasAuthenticationFilter

        setAuthenticationFailureHandler, setProxyAuthenticationFailureHandler, setProxyGrantingTicketStorage, setProxyReceptorUrl, setServiceProperties
      • Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter

        afterPropertiesSet, getRememberMeServices, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setRequiresAuthenticationRequestMatcher, setSessionAuthenticationStrategy
      • Methods inherited from class org.springframework.web.filter.GenericFilterBean

        destroy, getEnvironment, getFilterConfig, init, setBeanName, setEnvironment, setServletContext
    • Constructor Detail

      • CasAuthenticationFilter

        public CasAuthenticationFilter()
    • Method Detail

      • doFilter

        public void doFilter​(javax.servlet.ServletRequest request,
                             javax.servlet.ServletResponse response,
                             javax.servlet.FilterChain chain)
                      throws IOException,
                             javax.servlet.ServletException
        Specified by:
        doFilter in interface javax.servlet.Filter
        Overrides:
        doFilter in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
        Throws:
        IOException
        javax.servlet.ServletException
      • attemptAuthentication

        public org.springframework.security.core.Authentication attemptAuthentication​(javax.servlet.http.HttpServletRequest request,
                                                                                      javax.servlet.http.HttpServletResponse response)
                                                                               throws org.springframework.security.core.AuthenticationException,
                                                                                      IOException
        Overrides:
        attemptAuthentication in class org.springframework.security.cas.web.CasAuthenticationFilter
        Throws:
        org.springframework.security.core.AuthenticationException
        IOException