Class WebUiSession.WebUiSessionAccessControl

All Implemented Interfaces:
AccessControlStrategy
Direct Known Subclasses:
WebUiSession.CsrfWebUiSessionAccessControl
Enclosing interface:
WebUiSession

public static class WebUiSession.WebUiSessionAccessControl extends AbstractGatewayAccessControlStrategy
An AbstractGatewayAccessControlStrategy where auth context such as user information and granted security levels are derived from Web UI session cookies.

Note: by default, this strategy can only be mounted with Routes which use a safe HTTP method such as GET, HEAD, or OPTIONS. This strategy does not offer CSRF protections. Use the WebUiSession.CsrfWebUiSessionAccessControl strategy if you need to protect a Route which uses an unsafe HTTP method so that you can get CSRF protections.