public class HttpSignatureRequestInterceptor extends Object implements org.apache.http.HttpRequestInterceptor
AuthScheme approach
that uses a HttpRequestInterceptor to perform
HTTP signature authentication.| Constructor and Description |
|---|
HttpSignatureRequestInterceptor(HttpSignatureAuthScheme authScheme,
org.apache.http.auth.Credentials credentials,
boolean authEnabled)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
public HttpSignatureRequestInterceptor(HttpSignatureAuthScheme authScheme, org.apache.http.auth.Credentials credentials, boolean authEnabled)
authScheme - authentication scheme used to generate signaturecredentials - credentials of user authenticatingauthEnabled - flag indicating if authentication is enabledpublic void process(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
IOException
process in interface org.apache.http.HttpRequestInterceptororg.apache.http.HttpExceptionIOExceptionCopyright © 2015–2020 Joyent. All rights reserved.