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, isRequestAuthenticated
getExpirationDate
buildSignature, getSignatureElements, getValidityTimePeriod, isValidTimestamp, setHashService, setSignatureElements, setValidityTimePeriod
public 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 AbstractJWTRSAAuthenticator
Copyright © 2019 City of Paris. All rights reserved.