public class AccessKeyAuthenticator extends Object implements Authenticator
| Constructor and Description |
|---|
AccessKeyAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(Invocation invocation,
URL url)
verify the signature of the request is valid or not
|
void |
sign(Invocation invocation,
URL url)
give a sign to request
|
public void sign(Invocation invocation, URL url)
Authenticatorsign in interface Authenticatorpublic void authenticate(Invocation invocation, URL url) throws RpcAuthenticationException
Authenticatorauthenticate in interface AuthenticatorRpcAuthenticationException - when failed to authenticate current invocationCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.