public class BasicAuthenticator extends LoginAuthenticator
Authenticator.AuthConfiguration, Authenticator.Factory_identityService, _loginService| Constructor and Description |
|---|
BasicAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthMethod() |
boolean |
secureResponse(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
boolean mandatory,
Authentication.User validatedUser) |
Authentication |
validateRequest(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
boolean mandatory)
Validate a response
|
getLoginService, login, renewSession, setConfigurationpublic String getAuthMethod()
Authenticator.getAuthMethod()public Authentication validateRequest(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, boolean mandatory) throws ServerAuthException
Authenticatorreq - The requestres - The responsemandatory - True if authentication is mandatory.Authentication.User. If a response has
been sent by the Authenticator (which can be done for both successful and unsuccessful authentications), then the result will
implement Authentication.ResponseSent. If Authentication is not manditory, then a
Authentication.Deferred may be returned.ServerAuthExceptionAuthenticator.validateRequest(javax.servlet.ServletRequest, javax.servlet.ServletResponse, boolean)public boolean secureResponse(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
boolean mandatory,
Authentication.User validatedUser)
throws ServerAuthException
ServerAuthExceptionCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.