public class L4ProxyRemoteAuth extends AbstractModel
header, skipSign
Constructor and Description |
---|
L4ProxyRemoteAuth() |
L4ProxyRemoteAuth(L4ProxyRemoteAuth source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Get 远程鉴权服务地址,格式为: domain/ip:port。例:example.auth.com:8888
|
String |
getServerFaultyBehavior()
Get 远程鉴权服务不可访问后,经过四层转发规则默认回源行为,取值有:
reject:表示进行拦截,拒绝访问;
allow:表示允许通过。
|
String |
getSwitch()
Get 四层远程鉴权开关,取值有:
on:表示开启;
off:表示关闭。
|
void |
setAddress(String Address)
Set 远程鉴权服务地址,格式为: domain/ip:port。例:example.auth.com:8888
|
void |
setServerFaultyBehavior(String ServerFaultyBehavior)
Set 远程鉴权服务不可访问后,经过四层转发规则默认回源行为,取值有:
reject:表示进行拦截,拒绝访问;
allow:表示允许通过。
|
void |
setSwitch(String Switch)
Set 四层远程鉴权开关,取值有:
on:表示开启;
off:表示关闭。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public L4ProxyRemoteAuth()
public L4ProxyRemoteAuth(L4ProxyRemoteAuth source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 四层远程鉴权开关,取值有:
public String getAddress()
public void setAddress(String Address)
Address
- 远程鉴权服务地址,格式为: domain/ip:port。例:example.auth.com:8888public String getServerFaultyBehavior()
public void setServerFaultyBehavior(String ServerFaultyBehavior)
ServerFaultyBehavior
- 远程鉴权服务不可访问后,经过四层转发规则默认回源行为,取值有:
Copyright © 2024. All rights reserved.