| 构造器和说明 |
|---|
SecurityProxy(List<String> serverList,
NacosRestTemplate nacosRestTemplate)
Construct from serverList, nacosRestTemplate, init client auth plugin.
// TODO change server list to serverListManager after serverListManager refactor and unite.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,String> |
getIdentityContext(RequestResource resource)
get the context of all nacosRestTemplate instance.
|
void |
login(Properties properties)
Login all available ClientAuthService instance.
|
void |
shutdown() |
public SecurityProxy(List<String> serverList, NacosRestTemplate nacosRestTemplate)
serverList - a server list that client request to.public void login(Properties properties)
properties - login identity information.public Map<String,String> getIdentityContext(RequestResource resource)
public void shutdown()
throws NacosException
shutdown 在接口中 CloseableNacosExceptionCopyright © 2018–2022 Alibaba Group. All rights reserved.