|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.auth.AbstractAWSSigner
com.amazonaws.auth.QueryStringSigner
public class QueryStringSigner
Signer implementation responsible for signing an AWS query string request according to the various signature versions and hashing algorithms.
Constructor Summary | |
---|---|
QueryStringSigner()
|
Method Summary | |
---|---|
protected void |
addSessionCredentials(Request<?> request,
AWSSessionCredentials credentials)
Adds session credentials to the request given. |
void |
sign(Request<?> request,
AWSCredentials credentials)
This signer will add "Signature" parameter to the request. |
void |
sign(Request<?> request,
SignatureVersion version,
SigningAlgorithm algorithm,
AWSCredentials credentials)
This signer will add following authentication parameters to the request: AWSAccessKeyId SignatureVersion SignatureMethod Timestamp Signature |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryStringSigner()
Method Detail |
---|
public void sign(Request<?> request, AWSCredentials credentials) throws AmazonClientException
sign
in interface Signer
request
- request to be signed.credentials
- The credentials used to use to sign the request.
AmazonClientException
public void sign(Request<?> request, SignatureVersion version, SigningAlgorithm algorithm, AWSCredentials credentials) throws AmazonClientException
request
- request to be signed.version
- signature version. "2" is recommended.algorithm
- signature algorithm. "HmacSHA256" is recommended.
AmazonClientException
protected void addSessionCredentials(Request<?> request, AWSSessionCredentials credentials)
AbstractAWSSigner
addSessionCredentials
in class AbstractAWSSigner
request
- The request to add session credentials information tocredentials
- The session credentials to add to the request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |