org.eclipse.jetty.security.authentication
类 LoginAuthenticator
java.lang.Object
org.eclipse.jetty.security.authentication.LoginAuthenticator
- 所有已实现的接口:
- Authenticator
- 直接已知子类:
- BasicAuthenticator, ClientCertAuthenticator, DigestAuthenticator, FormAuthenticator, JaspiAuthenticator, SpnegoAuthenticator
public abstract class LoginAuthenticator
- extends Object
- implements Authenticator
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_loginService
protected LoginService _loginService
_identityService
protected IdentityService _identityService
LoginAuthenticator
protected LoginAuthenticator()
login
public UserIdentity login(String username,
Object password,
ServletRequest request)
setConfiguration
public void setConfiguration(Authenticator.AuthConfiguration configuration)
- 从接口
Authenticator 复制的描述
- Configure the Authenticator
- 指定者:
- 接口
Authenticator 中的 setConfiguration
getLoginService
public LoginService getLoginService()
renewSession
protected HttpSession renewSession(HttpServletRequest request,
HttpServletResponse response)
- Change the session id.
The session is changed to a new instance with a new ID if and only if:
- A session exists.
- The
AuthConfiguration#isSessionRenewedOnAuthentication() returns true.
- The session ID has been given to unauthenticated responses
- 参数:
request - response -
- 返回:
- The new session.
Copyright © 2013. All Rights Reserved.