@SPI(value="accessKey") public interface Authenticator
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
void sign(Invocation invocation, URL url)
invocation - url - void authenticate(Invocation invocation, URL url) throws RpcAuthenticationException
invocation - url - RpcAuthenticationException - when failed to authenticate current invocationCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.