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,
ServletRequest request) |
void |
prepareRequest(ServletRequest request)
Called prior to validateRequest.
|
protected HttpSession |
renewSession(HttpServletRequest request,
HttpServletResponse response)
Change the session id.
|
void |
setConfiguration(Authenticator.AuthConfiguration configuration)
Configure the Authenticator
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAuthMethod, secureResponse, validateRequest
protected LoginService _loginService
protected IdentityService _identityService
public void prepareRequest(ServletRequest request)
Authenticator
prepareRequest
in interface Authenticator
public UserIdentity login(String username, Object password, ServletRequest request)
public void setConfiguration(Authenticator.AuthConfiguration configuration)
Authenticator
setConfiguration
in interface Authenticator
public LoginService getLoginService()
protected HttpSession renewSession(HttpServletRequest request, HttpServletResponse response)
AuthConfiguration#isSessionRenewedOnAuthentication()
returns true.
request
- response
- Copyright © 1995-2015 Webtide. All Rights Reserved.