public class Aws4HashCalculator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
AWS_AUTH4_PATTERN |
| Constructor and Description |
|---|
Aws4HashCalculator() |
| Modifier and Type | Method and Description |
|---|---|
String |
computeHash(WebContext ctx)
Computes the authentication hash as specified by the AWS SDK for verification purposes.
|
boolean |
supports(WebContext ctx)
Determines if the given request contains an AWS4 auth token.
|
protected static final Pattern AWS_AUTH4_PATTERN
public boolean supports(WebContext ctx)
ctx - the request to checkpublic String computeHash(WebContext ctx) throws Exception
ctx - the current request to fetch parameters fromException - in case of an unexpected errorCopyright © 2016. All rights reserved.