public abstract class LoginAuthenticator extends Object implements Authenticator
Authenticator.AuthConfiguration, Authenticator.Factory| 限定符和类型 | 字段和说明 |
|---|---|
protected IdentityService |
_identityService |
protected LoginService |
_loginService |
| 限定符 | 构造器和说明 |
|---|---|
protected |
LoginAuthenticator() |
| 限定符和类型 | 方法和说明 |
|---|---|
LoginService |
getLoginService() |
org.eclipse.jetty.server.UserIdentity |
login(String username,
Object password,
javax.servlet.ServletRequest request) |
void |
prepareRequest(javax.servlet.ServletRequest request)
Called prior to validateRequest.
|
protected javax.servlet.http.HttpSession |
renewSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Change the session id.
|
void |
setConfiguration(Authenticator.AuthConfiguration configuration)
Configure the Authenticator
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthMethod, secureResponse, validateRequestprotected LoginService _loginService
protected IdentityService _identityService
public void prepareRequest(javax.servlet.ServletRequest request)
AuthenticatorprepareRequest 在接口中 Authenticatorrequest - the request to manipulatepublic org.eclipse.jetty.server.UserIdentity login(String username, Object password, javax.servlet.ServletRequest request)
public void setConfiguration(Authenticator.AuthConfiguration configuration)
AuthenticatorsetConfiguration 在接口中 Authenticatorconfiguration - the configurationpublic LoginService getLoginService()
protected javax.servlet.http.HttpSession renewSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
AuthConfiguration#isSessionRenewedOnAuthentication() returns true.
request - the requestresponse - the responseCopyright © 2017. All rights reserved.