Package fr.paris.lutece.util.signrequest
Class AbstractJWTAuthenticator
- java.lang.Object
-
- fr.paris.lutece.util.signrequest.AbstractAuthenticator
-
- fr.paris.lutece.util.signrequest.AbstractJWTAuthenticator
-
- All Implemented Interfaces:
RequestAuthenticator
- Direct Known Subclasses:
AbstractJWTRSAAuthenticator,JWTNoEncryptionAuthenticator,JWTSecretKeyAuthenticator
public abstract class AbstractJWTAuthenticator extends AbstractAuthenticator
AbstractAuthenticator
-
-
Constructor Summary
Constructors Constructor Description AbstractJWTAuthenticator(java.util.Map<java.lang.String,java.lang.String> mapClaimsToCheck, java.lang.String strJWTHttpHeader, long lValidityTimePeriod)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRequestAuthenticated(javax.servlet.http.HttpServletRequest request)Check the Authentication of a request-
Methods inherited from class fr.paris.lutece.util.signrequest.AbstractAuthenticator
buildSignature, getValidityTimePeriod, setHashService, setSignatureElements, setValidityTimePeriod
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.util.signrequest.RequestAuthenticator
getSecurityInformations
-
-
-
-
Constructor Detail
-
AbstractJWTAuthenticator
public AbstractJWTAuthenticator(java.util.Map<java.lang.String,java.lang.String> mapClaimsToCheck, java.lang.String strJWTHttpHeader, long lValidityTimePeriod)Constructor- Parameters:
mapClaimsToCheck- The map of claims key/values to check in the JWTstrJWTHttpHeader- The name of the header which contains the JWTlValidityTimePeriod- The validity time period
-
-