Class SecuredBrowserlessApplicationContext<C>

java.lang.Object
com.vaadin.browserless.BrowserlessApplicationContext
com.vaadin.browserless.SecuredBrowserlessApplicationContext<C>
Type Parameters:
C - the credentials type accepted by newUser(Object), as defined by the configured SecurityContextHandler
All Implemented Interfaces:
AutoCloseable

public class SecuredBrowserlessApplicationContext<C> extends BrowserlessApplicationContext
Credential-aware application context.

Extends BrowserlessApplicationContext with a configured, non-null SecurityContextHandler and credential-typed newUser(...) overloads for installing per-user security state. Build instances via a BrowserlessApplicationContext.Builder configured with BrowserlessApplicationContext.Builder.withSecurityContextHandler(SecurityContextHandler), which transitions to SecuredBrowserlessApplicationContext.Builder and produces this typed context.

All thread-affinity and lifecycle guarantees of the base BrowserlessApplicationContext apply unchanged.

See Also: