Package fr.paris.lutece.util.signrequest
Class JWTRSATrustStoreFileAuthenticator
java.lang.Object
fr.paris.lutece.util.signrequest.AbstractAuthenticator
fr.paris.lutece.util.signrequest.AbstractJWTAuthenticator
fr.paris.lutece.util.signrequest.AbstractJWTRSAAuthenticator
fr.paris.lutece.util.signrequest.JWTRSATrustStoreFileAuthenticator
- All Implemented Interfaces:
RequestAuthenticator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSecurityInformations(List<String> elements) return Security informations to put in the request headers and request parametersMethods inherited from class fr.paris.lutece.util.signrequest.AbstractJWTRSAAuthenticator
isRequestAuthenticatedMethods inherited from class fr.paris.lutece.util.signrequest.AbstractAuthenticator
buildSignature, getValidityTimePeriod, setHashService, setSignatureElements, setValidityTimePeriod
-
Constructor Details
-
JWTRSATrustStoreFileAuthenticator
public JWTRSATrustStoreFileAuthenticator(Map<String, String> mapClaimsToCheck, String strJWTHttpHeader, long lValidityPeriod, String strEncryptionAlgorythmName, String strCacertPath, String strCacertPassword, String strAlias) Constructor- Parameters:
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-
-
-
Method Details
-
getSecurityInformations
return Security informations to put in the request headers and request parameters- Specified by:
getSecurityInformationsin interfaceRequestAuthenticator- Overrides:
getSecurityInformationsin classAbstractJWTRSAAuthenticator- Parameters:
elements- List of elements to include in the signature- Returns:
- AuthenticateRequestInformations
-