@Requirement(reqId="DOI_CONFIG_010", reqName="Configuration du serveur central") public final class ProxySettings extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
ProxySettings.ProxySettingsHolder |
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOG
Application logger.
|
private String |
nonProxyHosts
Proxy configuration - password
|
private String |
proxyHost
Proxy configuration - host
|
private String |
proxyJaasCtx
Jaas context, which is described in Jaas file.
|
private String |
proxyJaasFile
Jaas file where configuration for SPNego is described.
|
private String |
proxyPassword
Proxy configuration - password
|
private String |
proxyPort
Proxy configuration - port
|
private boolean |
proxySet
Proxy configuration enable / disable
|
private String |
proxySpn
Service provider name for SPNEGO protocol.
|
private String |
proxyType
Proxy type.
|
private String |
proxyUser
Proxy configuration - user
|
Modifier | Constructor and Description |
---|---|
private |
ProxySettings()
Private constructor
|
Modifier and Type | Method and Description |
---|---|
void |
configureProxy()
Configure the proxy.
|
static ProxySettings |
getInstance()
Access to unique INSTANCE of Settings
|
String |
getNonProxyHosts()
Gets the nonproxyHosts value
|
String |
getProxyHost()
Gets the proxyHost value
|
String |
getProxyPassword()
Gets the proxyPassword value
|
String |
getProxyPort()
Gets the proxyPort value
|
String |
getProxyType()
Returns get type of proxy
|
String |
getProxyUser()
Gets the proxyUser value
|
void |
init()
Init the proxy setting
|
boolean |
isAuthenticate()
Returns true when the proxy needs an authentication otherwise false.
|
boolean |
isWithProxy()
Gets the withProxy value
|
private static final org.apache.logging.log4j.Logger LOG
private String proxyHost
private String proxyPort
private String proxyUser
private String proxyPassword
private String nonProxyHosts
private boolean proxySet
private String proxyType
private String proxySpn
private String proxyJaasFile
private String proxyJaasCtx
public static ProxySettings getInstance()
public void init()
public boolean isWithProxy()
public boolean isAuthenticate()
public String getProxyHost()
public String getProxyPort()
public String getProxyUser()
public String getProxyPassword()
public String getNonProxyHosts()
public String getProxyType()
public void configureProxy()
Copyright © 2017–2020 CNES. All rights reserved.