@Configuration public class AuthConfigs extends Object
| 构造器和说明 |
|---|
AuthConfigs() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getNacosAuthSystemType() |
byte[] |
getSecretKeyBytes() |
String |
getServerIdentityKey() |
String |
getServerIdentityValue() |
long |
getTokenValidityInSeconds() |
boolean |
isAuthEnabled()
auth function is open.
|
boolean |
isCachingEnabled()
Whether permission information can be cached.
|
boolean |
isEnableUserAgentAuthWhite() |
static void |
setCachingEnabled(boolean cachingEnabled) |
public byte[] getSecretKeyBytes()
public long getTokenValidityInSeconds()
public String getNacosAuthSystemType()
public String getServerIdentityKey()
public String getServerIdentityValue()
public boolean isEnableUserAgentAuthWhite()
public boolean isAuthEnabled()
public boolean isCachingEnabled()
public static void setCachingEnabled(boolean cachingEnabled)
Copyright © 2018–2021 Alibaba Group. All rights reserved.