public class BasicAuthorizationAuthenticator extends AbstractAuthenticator
| Constructor and Description |
|---|
BasicAuthorizationAuthenticator(String strUsername,
String strPassword)
Constructor that define credentials
|
| Modifier and Type | Method and Description |
|---|---|
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, getValidityTimePeriod, setHashService, setSignatureElements, setValidityTimePeriodpublic boolean isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
request - The HTTP requestpublic AuthenticateRequestInformations getSecurityInformations(List<String> elements)
elements - List of elements to include in the signatureCopyright © 2023 City of Paris. All rights reserved.