public abstract class AbstractJWTAuthenticator extends Object implements RequestAuthenticator
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
_mapClaimsToCheck |
protected String |
_strJWTHttpHeader |
protected static org.apache.log4j.Logger |
LOGGER |
| Constructor and Description |
|---|
AbstractJWTAuthenticator(Map<String,String> mapClaimsToCheck,
String strJWTHttpHeader)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
abstract 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
|
protected static final org.apache.log4j.Logger LOGGER
protected String _strJWTHttpHeader
public boolean isRequestAuthenticated(javax.servlet.http.HttpServletRequest request)
isRequestAuthenticated in interface RequestAuthenticatorrequest - The HTTP requestpublic abstract void authenticateRequest(org.apache.commons.httpclient.HttpMethodBase method,
List<String> elements)
authenticateRequest in interface RequestAuthenticatormethod - The HTTP method to authenticateelements - List of elements to include in the signatureCopyright © 2019 City of Paris. All rights reserved.