org.eclipse.jetty.security
类 DefaultAuthenticatorFactory

java.lang.Object
  继承者 org.eclipse.jetty.security.DefaultAuthenticatorFactory
所有已实现的接口:
Authenticator.Factory
直接已知子类:
JaspiAuthenticatorFactory

public class DefaultAuthenticatorFactory
extends Object
implements Authenticator.Factory

The Default Authenticator Factory. Uses the Authenticator.AuthConfiguration.getAuthMethod() to select an Authenticator from:

All authenticators derived from LoginAuthenticator are wrapped with a DeferredAuthentication 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 AggregateLifeCycle.getBeans(Class) results for a service that matches the realm name, else the first LoginService found is used.


构造方法摘要
DefaultAuthenticatorFactory()
           
 
方法摘要
 Authenticator getAuthenticator(Server server, ServletContext context, Authenticator.AuthConfiguration configuration, IdentityService identityService, LoginService loginService)
           
 LoginService getLoginService()
           
 void setLoginService(LoginService loginService)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DefaultAuthenticatorFactory

public DefaultAuthenticatorFactory()
方法详细信息

getAuthenticator

public Authenticator getAuthenticator(Server server,
                                      ServletContext context,
                                      Authenticator.AuthConfiguration configuration,
                                      IdentityService identityService,
                                      LoginService loginService)
指定者:
接口 Authenticator.Factory 中的 getAuthenticator

getLoginService

public LoginService getLoginService()
返回:
the loginService

setLoginService

public void setLoginService(LoginService loginService)
参数:
loginService - the loginService to set


Copyright © 2013. All Rights Reserved.