Class EndpointRequest.LinksRequestMatcher

java.lang.Object
org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>
org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.LinksRequestMatcher
All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher
Enclosing class:
EndpointRequest

public static final class EndpointRequest.LinksRequestMatcher extends org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>
The request matcher used to match against the links endpoint.
  • 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.security.web.util.matcher.RequestMatcher
    createDelegate(org.springframework.web.context.WebApplicationContext context, org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory)
     
    protected final List<org.springframework.security.web.util.matcher.RequestMatcher>
    getDelegateMatchers(org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory, org.springframework.boot.autoconfigure.security.servlet.RequestMatcherProvider matcherProvider, Set<String> paths)
     
    protected final org.springframework.boot.actuate.endpoint.EndpointId
     
    protected List<org.springframework.security.web.util.matcher.RequestMatcher>
    getLinksMatchers(org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory, org.springframework.boot.autoconfigure.security.servlet.RequestMatcherProvider matcherProvider, String basePath)
     
    protected org.springframework.boot.autoconfigure.security.servlet.RequestMatcherProvider
    getRequestMatcherProvider(org.springframework.web.context.WebApplicationContext context)
     
    protected final boolean
    hasWebServerNamespace(org.springframework.context.ApplicationContext applicationContext, org.springframework.boot.actuate.endpoint.web.WebServerNamespace webServerNamespace)
     
    protected boolean
    ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext)
     
    protected boolean
    ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext, ManagementPortType managementPortType)
     
    protected final void
    initialized(Supplier<org.springframework.web.context.WebApplicationContext> context)
     
    protected final boolean
    matches(jakarta.servlet.http.HttpServletRequest request, Supplier<org.springframework.web.context.WebApplicationContext> context)
     
     
    protected final String
    toString(List<Object> endpoints, String emptyValue)
     

    Methods inherited from class org.springframework.boot.security.servlet.ApplicationContextRequestMatcher

    matches

    Methods inherited from class java.lang.Object

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

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

    matcher
  • Constructor Details

    • LinksRequestMatcher

      public LinksRequestMatcher()
  • Method Details

    • createDelegate

      protected org.springframework.security.web.util.matcher.RequestMatcher createDelegate(org.springframework.web.context.WebApplicationContext context, org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • ignoreApplicationContext

      protected boolean ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext)
      Overrides:
      ignoreApplicationContext in class org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>
    • ignoreApplicationContext

      protected boolean ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext, ManagementPortType managementPortType)
    • hasWebServerNamespace

      protected final boolean hasWebServerNamespace(org.springframework.context.ApplicationContext applicationContext, org.springframework.boot.actuate.endpoint.web.WebServerNamespace webServerNamespace)
    • initialized

      protected final void initialized(Supplier<org.springframework.web.context.WebApplicationContext> context)
      Overrides:
      initialized in class org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>
    • matches

      protected final boolean matches(jakarta.servlet.http.HttpServletRequest request, Supplier<org.springframework.web.context.WebApplicationContext> context)
      Specified by:
      matches in class org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>
    • getDelegateMatchers

      protected final List<org.springframework.security.web.util.matcher.RequestMatcher> getDelegateMatchers(org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory, org.springframework.boot.autoconfigure.security.servlet.RequestMatcherProvider matcherProvider, Set<String> paths)
    • getLinksMatchers

      protected List<org.springframework.security.web.util.matcher.RequestMatcher> getLinksMatchers(org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.RequestMatcherFactory requestMatcherFactory, org.springframework.boot.autoconfigure.security.servlet.RequestMatcherProvider matcherProvider, String basePath)
    • getRequestMatcherProvider

      protected org.springframework.boot.autoconfigure.security.servlet.RequestMatcherProvider getRequestMatcherProvider(org.springframework.web.context.WebApplicationContext context)
    • toString

      protected final String toString(List<Object> endpoints, String emptyValue)
    • getEndpointId

      protected final org.springframework.boot.actuate.endpoint.EndpointId getEndpointId(Object source)