BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.net.auth.EasyAuthenticator Class Reference
Inheritance diagram for eu.baltrad.dex.net.auth.EasyAuthenticator:
eu.baltrad.dex.net.auth.Authenticator

Public Member Functions

void addCredentials (HttpUriRequest request, String keyName) throws KeyczarException
 
boolean authenticate (String message, String signature, String keyName) throws KeyczarException
 

Detailed Description

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

Member Function Documentation

◆ addCredentials()

void eu.baltrad.dex.net.auth.EasyAuthenticator.addCredentials ( HttpUriRequest request,
String keyName ) throws KeyczarException
inline

Method stub.

Parameters
requestHttp URI request
keyNamePrivate key used to sign a message

Implements eu.baltrad.dex.net.auth.Authenticator.

◆ authenticate()

boolean eu.baltrad.dex.net.auth.EasyAuthenticator.authenticate ( String message,
String signature,
String keyName ) throws KeyczarException
inline

Lets all the requests through.

Parameters
messageMessage to authenticate
signatureSignature to use for message verification
keyNamePublic 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: