Class NoRedirectAuthenticationLoginSuccessHandler

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.AuthenticationSuccessHandler

    public class NoRedirectAuthenticationLoginSuccessHandler
    extends org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
    Author:
    kevinvandevelde at atmire.com Spring redirects to the home page after a successfull login. This success handles ensures that this is NOT the case.
    • Field Summary

      • Fields inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()  
      • Methods inherited from class org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler

        clearAuthenticationAttributes, onAuthenticationSuccess
      • Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler

        determineTargetUrl, determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
      • Methods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandler

        onAuthenticationSuccess
    • Constructor Detail

      • NoRedirectAuthenticationLoginSuccessHandler

        public NoRedirectAuthenticationLoginSuccessHandler()
    • Method Detail

      • afterPropertiesSet

        @PostConstruct
        public void afterPropertiesSet()