public class AwsHashCalculator extends Object
Aws4HashCalculator or AwsLegacyHashCalculator depending of whether or not Aws4HashCalculator supports the request
or not| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
AWS_AUTH_PATTERN |
| Constructor and Description |
|---|
AwsHashCalculator() |
| Modifier and Type | Method and Description |
|---|---|
String |
computeHash(WebContext ctx,
String pathPrefix)
Computes the authentication hash as specified by the AWS SDK for verification purposes.
|
protected static final Pattern AWS_AUTH_PATTERN
public String computeHash(WebContext ctx, String pathPrefix)
ctx - the current request to fetch parameters frompathPrefix - the path prefix to append to the current uriCopyright © 2016. All rights reserved.