Class PathRequest.H2ConsoleRequestMatcher

java.lang.Object
org.springframework.boot.security.web.servlet.ApplicationContextRequestMatcher<org.springframework.context.ApplicationContext>
org.springframework.boot.security.autoconfigure.web.servlet.PathRequest.H2ConsoleRequestMatcher
All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher
Enclosing class:
PathRequest

public static final class PathRequest.H2ConsoleRequestMatcher extends ApplicationContextRequestMatcher<org.springframework.context.ApplicationContext>
The request matcher used to match against h2 console path.
Since:
4.0.0
  • 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 Type
    Method
    Description
    protected boolean
    ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext)
    Returns if the WebApplicationContext should be ignored and not used for matching.
    protected void
    initialized(Supplier<org.springframework.context.ApplicationContext> context)
    Method that can be implemented by subclasses that wish to initialize items the first time that the matcher is called.
    protected boolean
    matches(jakarta.servlet.http.HttpServletRequest request, Supplier<org.springframework.context.ApplicationContext> context)
    Decides whether the rule implemented by the strategy matches the supplied request.

    Methods inherited from class ApplicationContextRequestMatcher

    matches

    Methods inherited from class Object

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

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

    matcher