public class MerchantConfig extends Object
Constructor and Description |
---|
MerchantConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getCommTimeout()
The external communication timeout in millis.
|
String |
getContextMode()
Returns the mode (p12 OR hsm, hsm is not supported in this version)
|
EnvOveride |
getEnvOverride() |
String |
getGrantedPolicies()
Comma separated String of BankID Certificate PolicyOID labels that this
merchant is configured to support.
|
String |
getKeystorePassword()
Returns the keystore password
|
String |
getLoggerName()
Returns the loggerName for this merchant config
|
String |
getLogPropFile()
Returns the location of the logPropFile
|
String |
getMerchantKeystore()
String returns the name of the merchant keystore (bid-file)
|
String |
getMerchantName()
Returns the name of the configured merchant.
|
String |
getMobileCommTimeout() |
String |
getMobileProxyAuthenticationSettings()
Returns the http proxy authentication settings for MobileGateway proxy as configured in BankID Server.
|
String |
getMobileProxyHost()
Returns the proxy host for MobileGateway
|
String |
getMobileProxyPort()
Returns the proxy port for MobileGateway
|
String |
getMobileProxyPwd()
Returns the proxy pwd for MobileGateway
|
String |
getMobileProxyServerSettings()
Returns the http proxy settings for MobileGateway communication as configured in BankID Server.
|
String |
getMobileProxyUser()
Returns the proxy user for MobileGateway
|
String |
getProxyAuthenticationSettings()
Returns the http proxy authentication settings as configured in BankID Server.
|
String |
getProxyHost()
Returns the proxy host
|
String |
getProxyPort()
Returns the proxy port
|
String |
getProxyPwd()
Returns the proxy pwd
|
String |
getProxyServerSettings()
Returns the http proxy settings as configured in BankID Server.
|
String |
getProxyUser()
Returns the proxy user
|
String |
getSdmCommTimeout() |
String |
getSdmProxyAuthenticationSettings() |
String |
getSdmProxyHost() |
String |
getSdmProxyPort() |
String |
getSdmProxyPwd() |
String |
getSDMProxyServerSettings()
Returns the http proxy settings for Session Data Manager communication as configured in BankID Server.
|
String |
getSdmProxyUser() |
String |
getServiceHostCommTimeout() |
String |
getServiceHostProxyAuthenticationSettings()
Returns the http proxy authentication settings for ServiceHost proxy as configured in BankID Server.
|
String |
getServiceHostProxyHost() |
String |
getServiceHostProxyPort() |
String |
getServiceHostProxyPwd() |
String |
getServiceHostProxyServerSettings()
Returns the http proxy settings for ServiceHost communication as configured in BankID Server.
|
String |
getServiceHostProxyUser() |
String |
getTokenUserPIN()
Returns the token (HSM) UserPIN, which is the password to
login to the HSM
|
String |
getTrustStore()
Returns the truststore directory
|
String |
getVaCommTimeout() |
String |
getVAPort() |
String |
getVAProxyAuthenticationSettings()
Returns the http proxy authentication settings for VA proxy as configured in BankID Server.
|
String |
getVAProxyHost()
Returns the proxy host for VA
|
String |
getVAProxyPort()
Returns the proxy port for VA
|
String |
getVAProxyPwd()
Returns the proxy pwd for VA
|
String |
getVAProxyServerSettings()
Returns the http proxy settings for VA communication as configured in BankID Server.
|
String |
getVAProxyUser()
Returns the proxy user for VA
|
String |
getWebAddresses()
Returns the WebAddresses configured in BankID Server.
|
boolean |
isRunRegisterSSLProvider() |
boolean |
isVASSLDisabled() |
void |
setCommTimeout(String millis)
Sets the comm timeout in millis.
|
void |
setContextMode(String string)
Sets the context mode (how the merchant credentials are stored).
|
void |
setEnvOverride(EnvOveride override)
Override the target servers.
|
void |
setGrantedPolicies(String string)
Method to set the BankID Certificate Policies that this merchant should
accept.
|
void |
setKeystorePassword(String string)
Method to set the keystore password
|
void |
setLoggerName(String loggerName)
Sets the loggerName for this merchant config
|
void |
setLogPropFile(String logPropFile)
Sets the location of the logPropFile
|
void |
setMerchantKeystore(String string)
The merchant keystore (
|
void |
setMerchantName(String string)
Sets the merchant name.
|
void |
setMobileCommTimeout(String mobileCommTimeout) |
void |
setMobileProxyAuthenticationSettings(String string)
Set the proxy authentication settings username:password.
|
void |
setMobileProxyHost(String string)
Sets the proxy host for MobileGateway
|
void |
setMobileProxyPort(String string)
Sets the proxy port for MobileGateway
|
void |
setMobileProxyPwd(String string)
Sets the proxy pwd for MobileGateway (The merchant application should not set this value)
|
void |
setMobileProxyServerSettings(String string)
Sets the proxy server for which BankIDServer uses to route http/https communication
to MobileGateway through.
|
void |
setMobileProxyUser(String string)
Sets the proxy user for MobileGateway(The merchant application should not set this value)
|
void |
setProxyAuthenticationSettings(String string)
Set the proxy authentication settings username:password.
|
void |
setProxyHost(String string)
Sets the proxy host
|
void |
setProxyPort(String string)
Sets the proxy port
|
void |
setProxyPwd(String string)
Sets the proxy pwd (The merchant application should not set this value)
|
void |
setProxyServerSettings(String string)
Sets the proxy server for which BankIDServer uses to route http/https communication
through.
|
void |
setProxyUser(String string)
Sets the proxy user (The merchant application should not set this value)
|
void |
setRunRegisterSSLProvider(boolean runRegisterSSLProvider) |
void |
setSdmCommTimeout(String sdmCommTimeout) |
void |
setSDMProxyAuthenticationSettings(String value)
Set the proxy authentication settings username:password.
|
void |
setSdmProxyHost(String sdmProxyHost) |
void |
setSdmProxyPort(String sdmProxyPort) |
void |
setSdmProxyPwd(String sdmProxyPwd) |
void |
setSDMProxyServerSettings(String value)
Sets the proxy server for which BankIDServer uses to route http/https communication
to Session Data Manager through.
|
void |
setSdmProxyUser(String sdmProxyUser) |
void |
setServiceHostCommTimeout(String serviceHostCommTimeout) |
void |
setServiceHostProxyAuthenticationSettings(String value)
Set the proxy authentication settings username:password.
|
void |
setServiceHostProxyHost(String serviceHostProxyHost) |
void |
setServiceHostProxyPort(String serviceHostProxyPort) |
void |
setServiceHostProxyPwd(String serviceHostProxyPwd) |
void |
setServiceHostProxyServerSettings(String value)
Sets the proxy server for which BankIDServer uses to route http/https communication
to ServiceHost through.
|
void |
setServiceHostProxyUser(String serviceHostProxyUser) |
void |
setTokenUserPIN(String string)
Sets the token UserPIN (password) used to login to the token (HSM)
|
void |
setTrustStore(String trustStore)
Sets the truststore directory
|
void |
setVaCommTimeout(String vaCommTimeout) |
void |
setVAPort(String port) |
void |
setVAProxyAuthenticationSettings(String string)
Set the proxy authentication settings username:password.
|
void |
setVAProxyHost(String string)
Sets the proxy host for VA
|
void |
setVAProxyPort(String string)
Sets the proxy port for VA
|
void |
setVAProxyPwd(String string)
Sets the proxy pwd for VA (The merchant application should not set this value)
|
void |
setVAProxyServerSettings(String string)
Sets the proxy server for which BankIDServer uses to route http/https communication
to VA through.
|
void |
setVAProxyUser(String string)
Sets the proxy user (The merchant application should not set this value)
|
void |
setVASSLDisabled(boolean value) |
void |
setWebAddresses(String string)
Sets the webAddresses.
|
public String getContextMode()
public String getGrantedPolicies()
NCPER | 2.16.578.1.16.1.9.1 |
SLPER | 2.16.578.1.16.1.2.1 |
NCEMP | 2.16.578.1.16.1.11.2.1 |
SLEMP | 2.16.578.1.16.1.11.1.1 |
public String getKeystorePassword()
public String getMerchantKeystore()
public String getMerchantName()
public String getProxyAuthenticationSettings()
public String getProxyServerSettings()
public String getWebAddresses()
public void setContextMode(String string)
string
- String the context modepublic void setGrantedPolicies(String string)
NCPER | 2.16.578.1.16.1.9.1 |
SLPER | 2.16.578.1.16.1.2.1 |
NCEMP | 2.16.578.1.16.1.11.2.1 |
SLEMP | 2.16.578.1.16.1.11.1.1 |
string
- Comma-delinated BankID Certificate Policy labels (e.g. NCPER,NCEMP)public void setKeystorePassword(String string)
string
- The keystore passwordpublic void setMerchantKeystore(String string)
string
- The merchant keystorepublic void setMerchantName(String string)
string
- String the name that uniquely identifies a merchant in BankID Server (merchatName)public void setProxyAuthenticationSettings(String string)
string
- Colon-delimited proxy auth settings username:passwordpublic void setProxyServerSettings(String string)
string
- proxy settingspublic void setWebAddresses(String string)
string
- The merchant webapplication dns and ip(s). public String getTokenUserPIN()
public void setTokenUserPIN(String string)
string
- String holding the HSM passwordpublic String getProxyHost()
public String getProxyPort()
public void setProxyHost(String string)
string
- String the proxy hostpublic void setProxyPort(String string)
string
- String The proxy portpublic String getProxyPwd()
public String getProxyUser()
public void setProxyPwd(String string)
string
- String holding the proxy pwdpublic void setProxyUser(String string)
string
- String holding the proxy userpublic String getCommTimeout()
public void setCommTimeout(String millis)
millis
- String The comm timeout in millispublic void setVAPort(String port)
port
- Override port number when checking certificate statuses.public String getVAPort()
public void setVASSLDisabled(boolean value)
value
- set to true to use http protocol instead of https when checking certificate statuses.public boolean isVASSLDisabled()
public String getVaCommTimeout()
public void setVaCommTimeout(String vaCommTimeout)
vaCommTimeout
- connect and read timeouts for VA communication.
Null means using default getCommTimeout()
public void setVAProxyServerSettings(String string)
string
- proxy settingspublic String getVAProxyServerSettings()
public void setMobileProxyServerSettings(String string)
string
- proxy settingspublic String getMobileProxyServerSettings()
public String getVAProxyAuthenticationSettings()
public void setVAProxyAuthenticationSettings(String string)
string
- Colon-delimited proxy auth settings username:passwordpublic String getMobileProxyAuthenticationSettings()
public void setMobileProxyAuthenticationSettings(String string)
string
- Colon-delimited proxy auth settings username:passwordpublic String getVAProxyHost()
public String getVAProxyPort()
public void setVAProxyHost(String string)
string
- String the proxy hostpublic void setVAProxyPort(String string)
string
- String The proxy portpublic String getVAProxyPwd()
public String getVAProxyUser()
public void setVAProxyPwd(String string)
string
- String holding the proxy pwdpublic void setVAProxyUser(String string)
string
- String holding the proxy userpublic String getMobileProxyHost()
public String getMobileProxyPort()
public void setMobileProxyHost(String string)
string
- String the proxy hostpublic void setMobileProxyPort(String string)
string
- String The proxy portpublic String getMobileProxyPwd()
public String getMobileProxyUser()
public void setMobileProxyPwd(String string)
string
- String holding the proxy pwdpublic void setMobileProxyUser(String string)
string
- String holding the proxy userpublic String getMobileCommTimeout()
public void setMobileCommTimeout(String mobileCommTimeout)
mobileCommTimeout
- connect and read timeouts for Mobile communication.
Null means using default getCommTimeout()
public String getTrustStore()
public void setTrustStore(String trustStore)
trustStore
- String holding the truststore directorypublic String getLogPropFile()
public void setLogPropFile(String logPropFile)
logPropFile
- holding the location of the logPropFilepublic String getLoggerName()
public void setLoggerName(String loggerName)
loggerName
- string String holding the loggerName for this merchant configpublic void setRunRegisterSSLProvider(boolean runRegisterSSLProvider)
public boolean isRunRegisterSSLProvider()
public void setServiceHostProxyServerSettings(String value)
value
- proxy settingspublic void setServiceHostProxyAuthenticationSettings(String value)
value
- Colon-delimited proxy auth settings username:passwordpublic String getServiceHostProxyServerSettings()
public void setSDMProxyServerSettings(String value)
value
- proxy settingspublic void setSDMProxyAuthenticationSettings(String value)
value
- Colon-delimited proxy auth settings username:passwordpublic String getSDMProxyServerSettings()
public String getServiceHostProxyAuthenticationSettings()
public void setServiceHostProxyHost(String serviceHostProxyHost)
public String getServiceHostProxyPort()
public void setServiceHostProxyPort(String serviceHostProxyPort)
public String getServiceHostProxyUser()
public void setServiceHostProxyUser(String serviceHostProxyUser)
public String getServiceHostProxyPwd()
public void setServiceHostProxyPwd(String serviceHostProxyPwd)
public String getServiceHostProxyHost()
public String getServiceHostCommTimeout()
public void setServiceHostCommTimeout(String serviceHostCommTimeout)
serviceHostCommTimeout
- connect and read timeouts for ServiceHost communication.
Null means using default getCommTimeout()
public String getSdmProxyAuthenticationSettings()
public String getSdmProxyHost()
public void setSdmProxyHost(String sdmProxyHost)
public String getSdmProxyPort()
public void setSdmProxyPort(String sdmProxyPort)
public String getSdmProxyUser()
public void setSdmProxyUser(String sdmProxyUser)
public String getSdmProxyPwd()
public void setSdmProxyPwd(String sdmProxyPwd)
public String getSdmCommTimeout()
public void setSdmCommTimeout(String sdmCommTimeout)
sdmCommTimeout
- connect and read timeouts for SDM communication.
Null means using default getCommTimeout()
public void setEnvOverride(EnvOveride override)
override
- Override object specifying target servers.public EnvOveride getEnvOverride()
Copyright © 2017 Nets Branch Norway. All Rights Reserved.