@Priority(value=1000) public class AuthenticationInterceptor extends Object implements javax.ws.rs.container.ContainerRequestFilter, javax.ws.rs.ext.ReaderInterceptor
HmacSignature to validate the request.| Modifier and Type | Field and Description |
|---|---|
static String |
EXPECTED_SIGNATURE
Property/Attribute name for mapping the expected value of the generated signature.
|
static String |
HMAC_SIGNATURE
Property/Attribute name for mapping the
HmacSignature object for the request. |
| Constructor and Description |
|---|
AuthenticationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) |
void |
filter(javax.ws.rs.container.ContainerRequestContext requestContext) |
public static final String EXPECTED_SIGNATURE
public static final String HMAC_SIGNATURE
HmacSignature object for the request.public Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) throws IOException, javax.ws.rs.WebApplicationException
aroundReadFrom in interface javax.ws.rs.ext.ReaderInterceptorIOExceptionjavax.ws.rs.WebApplicationExceptionpublic void filter(javax.ws.rs.container.ContainerRequestContext requestContext)
throws IOException
filter in interface javax.ws.rs.container.ContainerRequestFilterIOExceptionCopyright © 2017. All rights reserved.