Class ControlPanelSecurityPaths

java.lang.Object
io.micronaut.controlpanel.core.security.ControlPanelSecurityPaths

@Internal public final class ControlPanelSecurityPaths extends Object
Shared route prefixes owned by the control panel itself.
  • Field Details

  • Method Details

    • helperPaths

      public static List<String> helperPaths()
      Returns:
      helper route path suffixes that belong to the control panel HTTP surface
    • isWriteRequest

      public static boolean isWriteRequest(String controlPanelPath, io.micronaut.http.HttpRequest<?> request)
      Determines whether a request targets a control-panel-owned write operation.
      Parameters:
      controlPanelPath - the resolved control panel path, including any application context path
      request - the HTTP request
      Returns:
      true if the request mutates application/runtime state