public abstract class LoginAuthenticator extends Object implements Authenticator
Authenticator.AuthConfiguration, Authenticator.Factory| Modifier and Type | Field and Description |
|---|---|
protected IdentityService |
_identityService |
protected LoginService |
_loginService |
| Modifier | Constructor and Description |
|---|---|
protected |
LoginAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
LoginService |
getLoginService() |
UserIdentity |
login(String username,
Object password,
javax.servlet.ServletRequest request) |
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 UserIdentity login(String username, Object password, javax.servlet.ServletRequest request)
public void setConfiguration(Authenticator.AuthConfiguration configuration)
AuthenticatorsetConfiguration in interface Authenticatorpublic LoginService getLoginService()
protected javax.servlet.http.HttpSession renewSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
AuthConfiguration#isSessionRenewedOnAuthentication() returns true.
request - response - Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.