public abstract class AbstractAuthenticator extends Object implements RequestAuthenticator
Constructor and Description |
---|
AbstractAuthenticator() |
Modifier and Type | Method and Description |
---|---|
String |
buildSignature(List<String> listElements,
String strTimestamp,
String strSecret)
Create a signature
|
long |
getValidityTimePeriod()
Get validity time period (in seconds) between the timestamp in the request and the server timestamp
|
void |
setHashService(HashService service)
Sets the Hash service
|
void |
setSignatureElements(List<String> list)
Sets the list of signature elements
|
void |
setValidityTimePeriod(long lPeriod)
Sets validity time period (in seconds) between the timestamp in the request and the server timestamp
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticateRequest, isRequestAuthenticated
public void setSignatureElements(List<String> list)
list
- The listpublic void setHashService(HashService service)
service
- The Hash servicepublic void setValidityTimePeriod(long lPeriod)
lPeriod
- The validity time periodpublic long getValidityTimePeriod()
Copyright © 2021 City of Paris. All rights reserved.