public class RequestHashAuthenticator extends AbstractAuthenticator implements RequestAuthenticator
_logger| Constructor and Description |
|---|
RequestHashAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
String |
addExtrasUrlParameters(String url,
List<String> elements) |
void |
addSecurityParameters(Map mapParameters,
List<String> elements)
Add security parameters to a parameter map
|
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, getSignatureElements, isValidTimestamp, setHashService, setPrivateKey, 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 © 2015 City of Paris. All rights reserved.