The Default Authenticator Factory.
Uses the
AuthConfiguration#getAuthMethod() to select an
Authenticator from:
-
org.eclipse.jetty.security.authentication.BasicAuthenticator
-
org.eclipse.jetty.security.authentication.DigestAuthenticator
-
org.eclipse.jetty.security.authentication.FormAuthenticator
-
org.eclipse.jetty.security.authentication.ClientCertAuthenticator
All authenticators derived from
org.eclipse.jetty.security.authentication.LoginAuthenticator are
wrapped with a
org.eclipse.jetty.security.authentication.DeferredAuthenticationinstance, which is used if authentication is not mandatory.
The Authentications from the
org.eclipse.jetty.security.authentication.FormAuthenticator are always wrapped in a
org.eclipse.jetty.security.authentication.SessionAuthentication
If a
LoginService has not been set on this factory, then
the service is selected by searching the
Server#getBeans(Class) results for
a service that matches the realm name, else the first LoginService found is used.