Class HttpHeaderInspectingApiRequestMatcher

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

    public class HttpHeaderInspectingApiRequestMatcher
    extends Object
    implements org.springframework.security.web.util.matcher.RequestMatcher
    RequestMatcher that determines if a given request is an API request or an interactive login request.
    Author:
    Scott Rossillo
    See Also:
    RequestMatcher
    • Constructor Detail

      • HttpHeaderInspectingApiRequestMatcher

        public HttpHeaderInspectingApiRequestMatcher()
    • Method Detail

      • matches

        public boolean matches​(javax.servlet.http.HttpServletRequest request)
        Returns true if the given request is an API request or false if it's an interactive login request.
        Specified by:
        matches in interface org.springframework.security.web.util.matcher.RequestMatcher
        Parameters:
        request - the HttpServletRequest
        Returns:
        true if the given request is an API request; false otherwise