类 AccessKeyAuthenticator
- java.lang.Object
-
- org.apache.dubbo.auth.AccessKeyAuthenticator
-
- 所有已实现的接口:
Authenticator
public class AccessKeyAuthenticator extends Object implements Authenticator
-
-
构造器概要
构造器 构造器 说明 AccessKeyAuthenticator()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidauthenticate(Invocation invocation, URL url)verify the signature of the request is valid or notvoidsign(Invocation invocation, URL url)give a sign to request
-
-
-
方法详细资料
-
sign
public void sign(Invocation invocation, URL url)
从接口复制的说明:Authenticatorgive a sign to request- 指定者:
sign在接口中Authenticator
-
authenticate
public void authenticate(Invocation invocation, URL url) throws RpcAuthenticationException
从接口复制的说明:Authenticatorverify the signature of the request is valid or not- 指定者:
authenticate在接口中Authenticator- 抛出:
RpcAuthenticationException- when failed to authenticate current invocation
-
-