public abstract class AbstractJWTRSAAuthenticator extends AbstractJWTAuthenticator
Constructor and Description |
---|
AbstractJWTRSAAuthenticator(Map<String,String> mapClaimsToCheck,
String strJWTHttpHeader,
long lValidityPeriod,
String strEncryptionAlgorythmName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
authenticateRequest(org.apache.commons.httpclient.HttpMethodBase method,
List<String> elements)
Authenticate a request
|
boolean |
isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
Check the Authentication of a request
|
buildSignature, getValidityTimePeriod, setHashService, setSignatureElements, setValidityTimePeriod
public AbstractJWTRSAAuthenticator(Map<String,String> mapClaimsToCheck, String strJWTHttpHeader, long lValidityPeriod, String strEncryptionAlgorythmName)
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.public boolean isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
isRequestAuthenticated
in interface RequestAuthenticator
isRequestAuthenticated
in class AbstractJWTAuthenticator
request
- The HTTP requestCopyright © 2021 City of Paris. All rights reserved.