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 Type
    Method
    Description
    protected boolean
    ignoreApplicationContext(org.springframework.web.context.WebApplicationContext applicationContext)
     
    protected void
     
    protected boolean
    matches(jakarta.servlet.http.HttpServletRequest request, Supplier<H2ConsoleProperties> context)
     

    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, toString, wait, wait, wait

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

    matcher
  • Method Details

    • ignoreApplicationContext

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

      protected void initialized(Supplier<H2ConsoleProperties> h2ConsoleProperties)
      Overrides:
      initialized in class org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<H2ConsoleProperties>
    • matches

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