public class AwsSignatureProcessor extends Object
Constructor and Description |
---|
AwsSignatureProcessor(javax.ws.rs.container.ContainerRequestContext context)
Create a new
AwsSignatureProcessor . |
AwsSignatureProcessor(javax.servlet.http.HttpServletRequest request)
Create a new
AwsSignatureProcessor with HttpServletRequest
as the info marshall source. |
Modifier and Type | Method and Description |
---|---|
AwsAuthInfo |
getAuthInfo()
Convert SignatureInfo to AwsAuthInfo.
|
SignatureInfo |
parseSignature()
Extract signature info from request.
|
public AwsSignatureProcessor(javax.ws.rs.container.ContainerRequestContext context)
AwsSignatureProcessor
.context
- ContainerRequestContextpublic AwsSignatureProcessor(javax.servlet.http.HttpServletRequest request)
AwsSignatureProcessor
with HttpServletRequest
as the info marshall source.
Used by the new architecture in S3RequestServlet
request
- public SignatureInfo parseSignature() throws S3Exception
S3Exception
public AwsAuthInfo getAuthInfo() throws S3Exception
S3Exception
Copyright © 2023. All Rights Reserved.