Class AntPatternBasedAuthenticationEntryPointChain

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

    public class AntPatternBasedAuthenticationEntryPointChain
    extends java.lang.Object
    implements org.springframework.security.web.AuthenticationEntryPoint, org.springframework.beans.factory.InitializingBean
    PatternBasedAuthenticationEntryPointWrapper
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()
      afterPropertiesSet
      void commence​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
      void setMatchingEntryPoint​(org.springframework.security.web.AuthenticationEntryPoint matchedEntryPoint)
      setMatchingEntryPoint
      void setNonMatchingEntryPoint​(org.springframework.security.web.AuthenticationEntryPoint unmatchedEntryPoint)
      setNonMatchingEntryPoint
      void setPatterns​(java.util.List<java.lang.String> patterns)
      setPatterns
      • Methods inherited from class java.lang.Object

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

      • AntPatternBasedAuthenticationEntryPointChain

        public AntPatternBasedAuthenticationEntryPointChain()
    • Method Detail

      • setPatterns

        public void setPatterns​(java.util.List<java.lang.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 java.lang.Exception

        afterPropertiesSet

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

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