Package com.vaadin.browserless
Class SecuredBrowserlessApplicationContext.Builder
-
- All Implemented Interfaces:
public final class SecuredBrowserlessApplicationContext.Builder<C>Builder for SecuredBrowserlessApplicationContext. Obtained from withSecurityContextHandler; delegates to the underlying base builder for shared configuration.
-
-
Method Summary
-
-
Method Detail
-
withSecurityContextHandler
<D> SecuredBrowserlessApplicationContext.Builder<D> withSecurityContextHandler(SecurityContextHandler<D> handler)
Replaces the security context handler, possibly switching its credentials type.
- Parameters:
handler- the handler; must not benull- Returns:
a builder configured with the given handler
-
withServletFactory
SecuredBrowserlessApplicationContext.Builder<C> withServletFactory(BiFunction<Routes, UIFactory, VaadinServlet> factory)
-
withUIFactory
SecuredBrowserlessApplicationContext.Builder<C> withUIFactory(UIFactory uiFactory)
-
withLookupServices
SecuredBrowserlessApplicationContext.Builder<C> withLookupServices(Array<Class<out Object>> services)
-
withViewPackages
SecuredBrowserlessApplicationContext.Builder<C> withViewPackages(Array<String> packages)
-
withViewPackages
SecuredBrowserlessApplicationContext.Builder<C> withViewPackages(Array<Class<out Object>> classes)
-
withComponentTesterPackages
SecuredBrowserlessApplicationContext.Builder<C> withComponentTesterPackages(Array<String> packages)
-
withComponentTesterPackages
SecuredBrowserlessApplicationContext.Builder<C> withComponentTesterPackages(Array<Class<out Object>> classes)
-
withCloseHook
SecuredBrowserlessApplicationContext.Builder<C> withCloseHook(Runnable hook)
-
build
SecuredBrowserlessApplicationContext<C> build()
Builds the secured application context.
- Returns:
a new secured application context
-
-
-
-