public class RequestHashAuthenticator extends AbstractPrivateKeyAuthenticator implements RequestAuthenticator
| Constructor and Description |
|---|
RequestHashAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
String |
addExtrasUrlParameters(String strUrl,
List<String> listElements)
Add extra URL parameters
|
AuthenticateRequestInformations |
getSecurityInformations(List<String> elements)
return Security informations to put in the request headers and request parameters
|
boolean |
isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
Check the Authentication of a request
|
buildSignature, setPrivateKeybuildSignature, getValidityTimePeriod, setHashService, setSignatureElements, setValidityTimePeriodpublic boolean isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
isRequestAuthenticated in interface RequestAuthenticatorrequest - The HTTP requestpublic AuthenticateRequestInformations getSecurityInformations(List<String> elements)
getSecurityInformations in interface RequestAuthenticatorelements - List of elements to include in the signatureCopyright © 2023 City of Paris. All rights reserved.