public class HeaderHashAuthenticator extends AbstractPrivateKeyAuthenticator implements RequestAuthenticator
_lValidityTimePeriod, LOGGER| Constructor and Description |
|---|
HeaderHashAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticateRequest(org.apache.commons.httpclient.HttpMethodBase method,
List<String> elements)
Authenticate a request
|
boolean |
isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
Check the Authentication of a request
|
buildSignature, getPrivateKey, setPrivateKeybuildSignature, getSignatureElements, getValidityTimePeriod, isValidTimestamp, setHashService, setSignatureElements, setValidityTimePeriodpublic boolean isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
isRequestAuthenticated in interface RequestAuthenticatorrequest - The HTTP requestpublic void authenticateRequest(org.apache.commons.httpclient.HttpMethodBase method,
List<String> elements)
authenticateRequest in interface RequestAuthenticatormethod - The HTTP method to authenticateelements - List of elements to include in the signatureCopyright © 2019 City of Paris. All rights reserved.