public class TLSOptions extends AbstractOptions
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX |
static String |
TLS_ALLOWANYHOST |
static String |
TLS_ALLOWEDCIPHERS |
static String |
TLS_ALLOWEDPROTOCOLS |
static String |
TLS_ALLOWSELFSIGNED |
static String |
TLS_DEVMODE |
static String |
TLS_KEYALIASES |
static String |
TLS_KEYPASSWORD |
static String |
TLS_KEYSTORE |
static String |
TLS_KEYSTOREPASSWORD |
static String |
TLS_TRUSTSTORE |
static String |
TLS_TRUSTSTOREPASSWORD |
| Constructor and Description |
|---|
TLSOptions(Map<String,String> options)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAllowedCiphers() |
String[] |
getAllowedProtocols() |
String[] |
getKeyAliases() |
String |
getKeyPassword() |
String |
getkeyStore() |
String |
getKeyStorePassword() |
String |
getTrustStore() |
String |
getTrustStorePassword() |
boolean |
isAllowAnyHost() |
boolean |
isDevMode() |
boolean |
isTrustSelfSigned() |
protected void |
parse(Map<String,String> options)
Called to parse a map into a set of specific options.
|
void |
setAllowAnyHost(boolean allowAnyHost) |
void |
setAllowedCiphers(String[] allowedCiphers) |
void |
setAllowedProtocols(String[] allowedProtocols) |
void |
setAllowSelfSigned(boolean allowSelfSigned) |
void |
setClientKeyStore(String clientKeyStore) |
void |
setDevMode(boolean devMode) |
void |
setKeyAliases(String[] keyAliases) |
void |
setKeyPassword(String keyPassword) |
void |
setKeyStorePassword(String keyStorePassword) |
void |
setTrustStore(String trustStore) |
void |
setTrustStorePassword(String trustStorePassword) |
getVar, parseBool, parseBool, splitpublic static final String PREFIX
public static final String TLS_TRUSTSTORE
public static final String TLS_TRUSTSTOREPASSWORD
public static final String TLS_KEYSTORE
public static final String TLS_KEYSTOREPASSWORD
public static final String TLS_KEYALIASES
public static final String TLS_KEYPASSWORD
public static final String TLS_ALLOWEDPROTOCOLS
public static final String TLS_ALLOWEDCIPHERS
public static final String TLS_ALLOWANYHOST
public static final String TLS_ALLOWSELFSIGNED
public static final String TLS_DEVMODE
protected void parse(Map<String,String> options)
AbstractOptionsparse in class AbstractOptionsoptions - the option mapAbstractOptions.parse(java.util.Map)public String getTrustStore()
public void setTrustStore(String trustStore)
trustStore - the trustStore to setpublic String getTrustStorePassword()
public void setTrustStorePassword(String trustStorePassword)
trustStorePassword - the trustStorePassword to setpublic String getkeyStore()
public void setClientKeyStore(String clientKeyStore)
clientKeyStore - the clientKeyStore to setpublic String getKeyStorePassword()
public void setKeyStorePassword(String keyStorePassword)
keyStorePassword - the keyStorePassword to setpublic String getKeyPassword()
public void setKeyPassword(String keyPassword)
keyPassword - the keyPassword to setpublic String[] getAllowedProtocols()
public void setAllowedProtocols(String[] allowedProtocols)
allowedProtocols - the allowedProtocols to setpublic String[] getAllowedCiphers()
public void setAllowedCiphers(String[] allowedCiphers)
allowedCiphers - the allowedCiphers to setpublic boolean isAllowAnyHost()
public void setAllowAnyHost(boolean allowAnyHost)
allowAnyHost - the allowAnyHost to setpublic boolean isTrustSelfSigned()
public void setAllowSelfSigned(boolean allowSelfSigned)
allowSelfSigned - the allowSelfSigned to setpublic boolean isDevMode()
public void setDevMode(boolean devMode)
devMode - the devMode to setpublic String[] getKeyAliases()
public void setKeyAliases(String[] keyAliases)
keyAliases - the keyAliases to setCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.