public class ClientSecurityConfigurationFactory extends Object
ClientSecurityConfiguration
and SSLConfiguration objects.ClientSecurityConfiguration,
SSLConfiguration| Constructor and Description |
|---|
ClientSecurityConfigurationFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ClientSecurityConfiguration |
getClientSecurityConfiguration()
Creates a new client security configuration with all its attributes set to
their default values.
|
static ClientSecurityConfiguration |
getClientSecurityConfiguration(Properties props)
Creates a new client security configuration based on a
Properties
object. |
static ClientSecurityConfiguration |
getClientSecurityConfiguration(String fileName)
Creates a new client security configuration based on a client security
property file.
|
static SSLConfiguration |
getSSLConfiguration()
Creates a new SSL configuration with all its attributes set to
their default values.
|
static SSLConfiguration |
getSSLConfiguration(String alias,
String jsseProvider,
String keyStoreName,
String keyStoreType,
String keyStorePassword,
String trustStoreName,
String trustStoreType,
String trustStorePassword,
String protocol)
Creates a new SSL configuration using the specified attributes.
|
static SSLConfiguration |
getSSLConfiguration(String alias,
String jsseProvider,
String keyStoreName,
String keyStoreType,
String keyStorePassword,
String trustStoreName,
String trustStoreType,
String trustStorePassword,
String protocol,
String sp800,
boolean fips)
Creates a new SSL configuration using the specified attributes.
|
public static SSLConfiguration getSSLConfiguration()
SSLConfiguration instanceClientSecurityConfiguration.setSSLConfiguration(SSLConfiguration),
SSLConfigurationpublic static SSLConfiguration getSSLConfiguration(String alias, String jsseProvider, String keyStoreName, String keyStoreType, String keyStorePassword, String trustStoreName, String trustStoreType, String trustStorePassword, String protocol)
alias - the key alias in the key storejsseProvider - the JSSE providerkeyStoreName - the key store file path namekeyStoreType - format of the key storekeyStorePassword - the password to the key storetrustStoreName - the trust store file path nametrustStoreType - the format of the trust storetrustStorePassword - the password to the trust storeprotocol - the SSL protocolSSLConfiguration instanceIllegalArgumentException - if keyStoreName or trustStoreName are
null or a zero length StringClientSecurityConfiguration.setSSLConfiguration(SSLConfiguration),
SSLConfigurationpublic static SSLConfiguration getSSLConfiguration(String alias, String jsseProvider, String keyStoreName, String keyStoreType, String keyStorePassword, String trustStoreName, String trustStoreType, String trustStorePassword, String protocol, String sp800, boolean fips)
alias - the key alias in the key storejsseProvider - the JSSE providerkeyStoreName - the key store file path namekeyStoreType - format of the key storekeyStorePassword - the password to the key storetrustStoreName - the trust store file path nametrustStoreType - the format of the trust storetrustStorePassword - the password to the trust storeprotocol - the SSL protocolsp800 - fips - SSLConfiguration instanceIllegalArgumentException - if keyStoreName or trustStoreName are
null or a zero length StringClientSecurityConfiguration.setSSLConfiguration(SSLConfiguration),
SSLConfigurationpublic static ClientSecurityConfiguration getClientSecurityConfiguration()
ClientSecurityConfiguration instanceClientSecurityConfigurationpublic static ClientSecurityConfiguration getClientSecurityConfiguration(String fileName)
fileName - a security property file nameClientSecurityConfiguration instanceIllegalArgumentException - if there are attributes in the Properties
object with invalid valuesClientSecurityConfigurationpublic static ClientSecurityConfiguration getClientSecurityConfiguration(Properties props)
Properties
object.props - a Properties objectClientSecurityConfiguration instanceIllegalArgumentException - if there are attributes in the Properties
object with invalid valuesClientSecurityConfiguration