Class AntPatternBasedAuthenticationEntryPointChain

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean, org.springframework.security.web.AuthenticationEntryPoint

    public class AntPatternBasedAuthenticationEntryPointChain
    extends Object
    implements org.springframework.security.web.AuthenticationEntryPoint, org.springframework.beans.factory.InitializingBean
    PatternBasedAuthenticationEntryPointWrapper
    • Constructor Detail

      • AntPatternBasedAuthenticationEntryPointChain

        public AntPatternBasedAuthenticationEntryPointChain()
    • Method Detail

      • setPatterns

        public void setPatterns​(List<String> patterns)

        setPatterns

        Parameters:
        patterns - the patterns to set
      • setMatchingEntryPoint

        public void setMatchingEntryPoint​(org.springframework.security.web.AuthenticationEntryPoint matchedEntryPoint)

        setMatchingEntryPoint

        Parameters:
        matchedEntryPoint - the matchedEntryPoint to set
      • setNonMatchingEntryPoint

        public void setNonMatchingEntryPoint​(org.springframework.security.web.AuthenticationEntryPoint unmatchedEntryPoint)

        setNonMatchingEntryPoint

        Parameters:
        unmatchedEntryPoint - the unmatchedEntryPoint to set
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception

        afterPropertiesSet

        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception - if any.
      • commence

        public void commence​(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             org.springframework.security.core.AuthenticationException authException)
                      throws IOException,
                             javax.servlet.ServletException
        Specified by:
        commence in interface org.springframework.security.web.AuthenticationEntryPoint
        Throws:
        IOException
        javax.servlet.ServletException