Class EmbeddedLoginTokenEndpointAuthenticationFilter.EmbeddedLoginTokenEndpointRequestMatcher

  • All Implemented Interfaces:
    org.springframework.security.web.util.matcher.RequestMatcher
    Enclosing class:
    EmbeddedLoginTokenEndpointAuthenticationFilter

    protected static class EmbeddedLoginTokenEndpointAuthenticationFilter.EmbeddedLoginTokenEndpointRequestMatcher
    extends Object
    implements org.springframework.security.web.util.matcher.RequestMatcher
    Matches requests based on destination and parameters. Authentication from the SecurityContext should be null, request URL should be to "/oauth/token", and parameters "code" and "purpose" should be present.
    • Constructor Detail

      • EmbeddedLoginTokenEndpointRequestMatcher

        protected EmbeddedLoginTokenEndpointRequestMatcher()
    • Method Detail

      • matches

        public boolean matches​(javax.servlet.http.HttpServletRequest request)
        Specified by:
        matches in interface org.springframework.security.web.util.matcher.RequestMatcher