Package org.eclipse.jetty.security
Class DefaultAuthenticatorFactory
- java.lang.Object
-
- org.eclipse.jetty.security.DefaultAuthenticatorFactory
-
- All Implemented Interfaces:
Authenticator.Factory
@Deprecated(since="2021-05-27") public class DefaultAuthenticatorFactory extends java.lang.Object implements Authenticator.Factory
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.The Default Authenticator Factory. Uses theAuthenticator.AuthConfiguration.getAuthMethod()to select anAuthenticatorfrom:BasicAuthenticatorDigestAuthenticatorFormAuthenticatorClientCertAuthenticator
LoginAuthenticatorare wrapped with aDeferredAuthenticationinstance, which is used if authentication is not mandatory. The Authentications from theFormAuthenticatorare always wrapped in aSessionAuthenticationIf a
LoginServicehas not been set on this factory, then the service is selected by searching theContainerLifeCycle.getBeans(Class)results for a service that matches the realm name, else the first LoginService found is used.
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthenticatorFactory()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthenticatorgetAuthenticator(Server server, ServletContext context, Authenticator.AuthConfiguration configuration, IdentityService identityService, LoginService loginService)Deprecated.LoginServicegetLoginService()Deprecated.voidsetLoginService(LoginService loginService)Deprecated.
-
-
-
Method Detail
-
getAuthenticator
public Authenticator getAuthenticator(Server server, ServletContext context, Authenticator.AuthConfiguration configuration, IdentityService identityService, LoginService loginService)
Deprecated.- Specified by:
getAuthenticatorin interfaceAuthenticator.Factory
-
getLoginService
public LoginService getLoginService()
Deprecated.- Returns:
- the loginService
-
setLoginService
public void setLoginService(LoginService loginService)
Deprecated.- Parameters:
loginService- the loginService to set
-
-