Top Description Constructors Methods
org.eclipse.jetty.security

public Class DefaultAuthenticatorFactory

extends Object
implements Factory
Class Inheritance
All Implemented Interfaces
org.eclipse.jetty.security.Authenticator.Factory
Imports
java.util.Collection, org.eclipse.jetty.security.Authenticator.Configuration, org.eclipse.jetty.security.authentication.BasicAuthenticator, .DigestAuthenticator, .FormAuthenticator, .LoginAuthenticator, .SPNEGOAuthenticator, .SessionAuthentication, .SslClientCertAuthenticator, org.eclipse.jetty.security.internal.DeferredAuthenticationState, org.eclipse.jetty.server.Context, .Server, org.eclipse.jetty.util.ssl.SslContextFactory

The Default Authenticator Factory. Uses the Configuration#getAuthenticationType() to select an Authenticator from: All authenticators derived from LoginAuthenticator are wrapped with a DeferredAuthenticationState instance, which is used if authentication is not mandatory. The Authentications from the FormAuthenticator are always wrapped in a 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.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Authenticator
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DefaultAuthenticatorFactoryback to summary
public DefaultAuthenticatorFactory()

Method Detail

getAuthenticatorback to summary
public Authenticator getAuthenticator(Server server, Context context, Authenticator.Configuration configuration)

Implements org.eclipse.jetty.security.Authenticator.Factory.getAuthenticator.

Annotations
@Override