|
void | addCredentials (HttpUriRequest request, String keyName) throws KeyczarException |
|
boolean | authenticate (String message, String signature, String keyName) throws KeyczarException |
|
Implements easy authenticator.
- Author
- Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
- Version
- 1.1.0
- Since
- 1.1.0
◆ addCredentials()
void eu.baltrad.dex.net.auth.EasyAuthenticator.addCredentials |
( |
HttpUriRequest | request, |
|
|
String | keyName ) throws KeyczarException |
|
inline |
◆ authenticate()
boolean eu.baltrad.dex.net.auth.EasyAuthenticator.authenticate |
( |
String | message, |
|
|
String | signature, |
|
|
String | keyName ) throws KeyczarException |
|
inline |
Lets all the requests through.
- Parameters
-
message | Message to authenticate |
signature | Signature to use for message verification |
keyName | Public key used to verify a message |
- Returns
- True upon successful authentication, false otherwise
Implements eu.baltrad.dex.net.auth.Authenticator.
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/dex/net/auth/EasyAuthenticator.java