public class JWTRSATrustStoreFileAuthenticator extends AbstractJWTRSAAuthenticator
| Constructor and Description |
|---|
JWTRSATrustStoreFileAuthenticator(Map<String,String> mapClaimsToCheck,
String strJWTHttpHeader,
long lValidityPeriod,
String strEncryptionAlgorythmName,
String strCacertPath,
String strCacertPassword,
String strAlias)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
authenticateRequest(org.apache.commons.httpclient.HttpMethodBase method,
List<String> elements)
Authenticate a request
|
isRequestAuthenticatedbuildSignature, getValidityTimePeriod, setHashService, setSignatureElements, setValidityTimePeriodpublic JWTRSATrustStoreFileAuthenticator(Map<String,String> mapClaimsToCheck, String strJWTHttpHeader, long lValidityPeriod, String strEncryptionAlgorythmName, String strCacertPath, String strCacertPassword, String strAlias)
mapClaimsToCheck - The map of claims key/values to check in the JWTstrJWTHttpHeader - The name of the header which contains the JWTlValidityPeriod - The validity periodstrEncryptionAlgorythmName - The name of the algorithm.strCacertPath - strCacertPassword - strAlias - public void authenticateRequest(org.apache.commons.httpclient.HttpMethodBase method,
List<String> elements)
authenticateRequest in interface RequestAuthenticatorauthenticateRequest in class AbstractJWTRSAAuthenticatormethod - The HTTP method to authenticateelements - List of elements to include in the signatureCopyright © 2021 City of Paris. All rights reserved.