Class EmbeddedLoginTokenEndpointAuthenticationFilter.EmbeddedLoginTokenEndpointRequestMatcher

java.lang.Object
com.broadleafcommerce.auth.user.session.embedded.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.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.security.web.util.matcher.RequestMatcher

    org.springframework.security.web.util.matcher.RequestMatcher.MatchResult
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(javax.servlet.http.HttpServletRequest request)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.security.web.util.matcher.RequestMatcher

    matcher
  • Constructor Details

    • EmbeddedLoginTokenEndpointRequestMatcher

      protected EmbeddedLoginTokenEndpointRequestMatcher()
  • Method Details

    • matches

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