public class JWTRSAPlainTextAuthenticator extends AbstractJWTRSAAuthenticator
_mapClaimsToCheck, _strJWTHttpHeader, LOGGER_lValidityTimePeriod| Constructor and Description |
|---|
JWTRSAPlainTextAuthenticator(Map<String,String> mapClaimsToCheck,
String strJWTHttpHeader,
long lValidityPeriod,
String strEncryptionAlgorythmName,
String strPlainTextPrivateKey,
String strPlainTextPublicKey)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected KeyPair |
getKeyPair()
Get the RSA public/private key pair
|
authenticateRequest, isRequestAuthenticatedgetExpirationDatebuildSignature, getSignatureElements, getValidityTimePeriod, isValidTimestamp, setHashService, setSignatureElements, setValidityTimePeriodpublic JWTRSAPlainTextAuthenticator(Map<String,String> mapClaimsToCheck, String strJWTHttpHeader, long lValidityPeriod, String strEncryptionAlgorythmName, String strPlainTextPrivateKey, String strPlainTextPublicKey)
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.strPlainTextPrivateKey - The plain text private keystrPlainTextPublicKey - The plain text public keyprotected KeyPair getKeyPair()
getKeyPair in class AbstractJWTRSAAuthenticatorCopyright © 2019 City of Paris. All rights reserved.