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, setPrivateKey
buildSignature, getSignatureElements, getValidityTimePeriod, isValidTimestamp, setHashService, setSignatureElements, setValidityTimePeriod
public boolean isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
isRequestAuthenticated
in interface RequestAuthenticator
request
- The HTTP requestpublic void authenticateRequest(org.apache.commons.httpclient.HttpMethodBase method, List<String> elements)
authenticateRequest
in interface RequestAuthenticator
method
- The HTTP method to authenticateelements
- List of elements to include in the signatureCopyright © 2019 City of Paris. All rights reserved.