public class DigestAuthenticator extends LoginAuthenticator
SecurityHandler.setInitParameter(String, String)
using the name "maxNonceAge"Authenticator.AuthConfiguration, Authenticator.Factory_identityService, _loginService| Constructor and Description |
|---|
DigestAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthMethod() |
String |
newNonce(Request request) |
boolean |
secureResponse(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
boolean mandatory,
Authentication.User validatedUser) |
void |
setConfiguration(Authenticator.AuthConfiguration configuration)
Configure the Authenticator
|
void |
setMaxNonceAge(long maxNonceAgeInMillis) |
Authentication |
validateRequest(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
boolean mandatory)
Validate a response
|
getLoginService, renewSessionpublic void setConfiguration(Authenticator.AuthConfiguration configuration)
AuthenticatorsetConfiguration in interface AuthenticatorsetConfiguration in class LoginAuthenticatorLoginAuthenticator.setConfiguration(org.eclipse.jetty.security.Authenticator.AuthConfiguration)public void setMaxNonceAge(long maxNonceAgeInMillis)
public String getAuthMethod()
public boolean secureResponse(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
boolean mandatory,
Authentication.User validatedUser)
throws ServerAuthException
ServerAuthExceptionpublic 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.ServerAuthExceptionCopyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.