Class LocalCrowdSSOAuthenticationProcessingFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter
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 LocalCrowdSSOAuthenticationProcessingFilter extends AbstractLocalCrowdAuthenticationProcessingFilter
  • Field Details

  • Constructor Details

  • Method Details

    • onUnsuccessfulAuthentication

      protected void onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Description copied from class: AbstractCrowdSSOAuthenticationProcessingFilter
      Remove any SSO tokens associated with the request, effectively logging the user out of Crowd.
      Specified by:
      onUnsuccessfulAuthentication in class AbstractCrowdSSOAuthenticationProcessingFilter
      Parameters:
      request - servlet request.
      response - servlet response.
    • obtainUsername

      protected String obtainUsername(javax.servlet.http.HttpServletRequest request)
      Overrides:
      obtainUsername in class org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter
    • obtainPassword

      protected String obtainPassword(javax.servlet.http.HttpServletRequest request)
      Overrides:
      obtainPassword in class org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter
    • userWantsToBeRemembered

      protected boolean userWantsToBeRemembered(javax.servlet.http.HttpServletRequest request)
      Specified by:
      userWantsToBeRemembered in class AbstractLocalCrowdAuthenticationProcessingFilter
    • doFilter

      public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, 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
    • getSavedPath

      protected String getSavedPath(javax.servlet.http.HttpServletRequest request)
      Overrides:
      getSavedPath in class AbstractCrowdSSOAuthenticationProcessingFilter