public class JWTNoEncryptionAuthenticator extends AbstractJWTAuthenticator
| Constructor and Description |
|---|
JWTNoEncryptionAuthenticator(Map<String,String> mapClaimsToCheck,
String strJWTHttpHeader,
long lValidityTimePeriod)
Constructor
|
| 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 JWTNoEncryptionAuthenticator(Map<String,String> mapClaimsToCheck, String strJWTHttpHeader, long lValidityTimePeriod)
mapClaimsToCheck - The map of claims key/values to check in the JWTstrJWTHttpHeader - The name of the header which contains the JWTpublic boolean isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
isRequestAuthenticated in interface RequestAuthenticatorisRequestAuthenticated in class AbstractJWTAuthenticatorrequest - The HTTP requestpublic AuthenticateRequestInformations getSecurityInformations(List<String> elements)
elements - List of elements to include in the signatureCopyright © 2023 City of Paris. All rights reserved.