Class EndpointRequest.AdditionalPathsEndpointRequestMatcher
java.lang.Object
org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>
org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.AdditionalPathsEndpointRequestMatcher
- All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher
- Enclosing class:
- EndpointRequest
public static class EndpointRequest.AdditionalPathsEndpointRequestMatcher
extends org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>
The request matcher used to match against additional paths for
actuator endpoints.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.security.web.util.matcher.RequestMatcher
org.springframework.security.web.util.matcher.RequestMatcher.MatchResult -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.web.util.matcher.RequestMatchercreateDelegate(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.EndpointIdgetEndpointId(Object source) 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.RequestMatcherProvidergetRequestMatcherProvider(org.springframework.web.context.WebApplicationContext context) protected final booleanhasWebServerNamespace(org.springframework.context.ApplicationContext applicationContext, org.springframework.boot.actuate.endpoint.web.WebServerNamespace webServerNamespace) protected booleanignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext) protected booleanignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext, ManagementPortType managementPortType) protected final voidinitialized(Supplier<org.springframework.web.context.WebApplicationContext> context) protected final booleanmatches(jakarta.servlet.http.HttpServletRequest request, Supplier<org.springframework.web.context.WebApplicationContext> context) toString()protected final StringMethods inherited from class org.springframework.boot.security.servlet.ApplicationContextRequestMatcher
matchesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.security.web.util.matcher.RequestMatcher
matcher
-
Method Details
-
ignoreApplicationContext
protected boolean ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext, ManagementPortType managementPortType) -
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
-
ignoreApplicationContext
protected boolean ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext) - Overrides:
ignoreApplicationContextin classorg.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>
-
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:
initializedin classorg.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:
matchesin classorg.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
-
getEndpointId
-