Class PathRequest.H2ConsoleRequestMatcher
java.lang.Object
org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<H2ConsoleProperties>
org.springframework.boot.autoconfigure.security.servlet.PathRequest.H2ConsoleRequestMatcher
- All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher
- Enclosing class:
- PathRequest
public static final class PathRequest.H2ConsoleRequestMatcher
extends org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<H2ConsoleProperties>
The request matcher used to match against h2 console path.
-
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 booleanignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext) protected voidinitialized(Supplier<H2ConsoleProperties> h2ConsoleProperties) protected booleanmatches(jakarta.servlet.http.HttpServletRequest request, Supplier<H2ConsoleProperties> context) Methods inherited from class org.springframework.boot.security.servlet.ApplicationContextRequestMatcher
matchesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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) - Overrides:
ignoreApplicationContextin classorg.springframework.boot.security.servlet.ApplicationContextRequestMatcher<H2ConsoleProperties>
-
initialized
- Overrides:
initializedin classorg.springframework.boot.security.servlet.ApplicationContextRequestMatcher<H2ConsoleProperties>
-
matches
protected boolean matches(jakarta.servlet.http.HttpServletRequest request, Supplier<H2ConsoleProperties> context) - Specified by:
matchesin classorg.springframework.boot.security.servlet.ApplicationContextRequestMatcher<H2ConsoleProperties>
-