Class ControlPanelSecurityPaths
java.lang.Object
io.micronaut.controlpanel.core.security.ControlPanelSecurityPaths
Shared route prefixes owned by the control panel itself.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisWriteRequest(String controlPanelPath, io.micronaut.http.HttpRequest<?> request) Determines whether a request targets a control-panel-owned write operation.
-
Field Details
-
CONTROL_PANEL
- See Also:
-
CACHE_PATH
- See Also:
-
DATASOURCE_PATH
- See Also:
-
HIBERNATE_PATH
- See Also:
-
LOGGERS_PATH
- See Also:
-
OBJECT_STORAGE_PATH
- See Also:
-
APPLICATION_PATH
- See Also:
-
CACHE
- See Also:
-
DATASOURCE
- See Also:
-
HIBERNATE
- See Also:
-
LOGGERS
- See Also:
-
OBJECT_STORAGE
- See Also:
-
APPLICATION
- See Also:
-
-
Method Details
-
helperPaths
-
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 pathrequest- the HTTP request- Returns:
- true if the request mutates application/runtime state
-