Class AbstractMethodAnnotatedRequestMatcher

java.lang.Object
eu.rarogsoftware.rarog.platform.core.security.AbstractMethodAnnotatedRequestMatcher
All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher
Direct Known Subclasses:
AnonymousAllowedMatcher, CsrfDisabledMatcher, MfaPageMatcher

public abstract class AbstractMethodAnnotatedRequestMatcher extends Object implements org.springframework.security.web.util.matcher.RequestMatcher
  • 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
    Constructor
    Description
    AbstractMethodAnnotatedRequestMatcher(List<org.springframework.web.servlet.HandlerMapping> handlerMappings, Class<? extends Annotation> annotationType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    annotationPasses(org.springframework.web.method.HandlerMethod method)
     
    protected org.springframework.web.method.HandlerMethod
    getHandlerMethod(org.springframework.web.servlet.HandlerExecutionChain handlerChain)
     
    protected boolean
    hasAnnotation(org.springframework.web.method.HandlerMethod method)
     
    boolean
    matches(jakarta.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

    • AbstractMethodAnnotatedRequestMatcher

      public AbstractMethodAnnotatedRequestMatcher(List<org.springframework.web.servlet.HandlerMapping> handlerMappings, Class<? extends Annotation> annotationType)
  • Method Details

    • matches

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

      protected boolean annotationPasses(org.springframework.web.method.HandlerMethod method)
    • hasAnnotation

      protected boolean hasAnnotation(org.springframework.web.method.HandlerMethod method)
    • getHandlerMethod

      protected org.springframework.web.method.HandlerMethod getHandlerMethod(org.springframework.web.servlet.HandlerExecutionChain handlerChain)