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
public class JWTRSATrustStoreFileAuthenticator extends AbstractJWTRSAAuthenticator
-
-
Constructor Summary
Constructors Constructor Description JWTRSATrustStoreFileAuthenticator(java.util.Map<java.lang.String,java.lang.String> mapClaimsToCheck, java.lang.String strJWTHttpHeader, long lValidityPeriod, java.lang.String strEncryptionAlgorythmName, java.lang.String strCacertPath, java.lang.String strCacertPassword, java.lang.String strAlias)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticateRequestInformationsgetSecurityInformations(java.util.List<java.lang.String> elements)return Security informations to put in the request headers and request parameters-
Methods inherited from class fr.paris.lutece.util.signrequest.AbstractJWTRSAAuthenticator
isRequestAuthenticated
-
Methods inherited from class fr.paris.lutece.util.signrequest.AbstractAuthenticator
buildSignature, getValidityTimePeriod, setHashService, setSignatureElements, setValidityTimePeriod
-
-
-
-
Constructor Detail
-
JWTRSATrustStoreFileAuthenticator
public JWTRSATrustStoreFileAuthenticator(java.util.Map<java.lang.String,java.lang.String> mapClaimsToCheck, java.lang.String strJWTHttpHeader, long lValidityPeriod, java.lang.String strEncryptionAlgorythmName, java.lang.String strCacertPath, java.lang.String strCacertPassword, java.lang.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 Detail
-
getSecurityInformations
public AuthenticateRequestInformations getSecurityInformations(java.util.List<java.lang.String> elements)
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
-
-