Class SecurityHandler

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.ee8.nested.AbstractHandler
org.eclipse.jetty.ee8.nested.AbstractHandlerContainer
org.eclipse.jetty.ee8.nested.HandlerWrapper
org.eclipse.jetty.ee8.security.SecurityHandler
All Implemented Interfaces:
org.eclipse.jetty.ee8.nested.Handler, org.eclipse.jetty.ee8.nested.HandlerContainer, Authenticator.AuthConfiguration, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle
Direct Known Subclasses:
ConstraintSecurityHandler

public abstract class SecurityHandler extends org.eclipse.jetty.ee8.nested.HandlerWrapper implements Authenticator.AuthConfiguration
Select and apply an Authenticator to a request.

The Authenticator may either be directly set on the handler or will be created during AbstractLifeCycle.start() with a call to either the default or set AuthenticatorFactory.

SecurityHandler has a set of initparameters that are used by the Authentication.Configuration. At startup, any context init parameters that start with "org.eclipse.jetty.security." that do not have values in the SecurityHandler init parameters, are copied.