Package edu.uiuc.ncsa.security.util.ssl
Class SSLConfigurationUtil
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.ssl.SSLConfigurationUtil
-
- All Implemented Interfaces:
Serializable
public class SSLConfigurationUtil extends Object implements Serializable
A utility to create an SSLConfiguration from a configuration node. This is included here since it is used in various places in the code base.Created by Jeff Gaynor
on 3/21/14 at 3:53 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSSL_DEBUG_TAGstatic StringSSL_KEYSTORE_FACTORYstatic StringSSL_KEYSTORE_PASSWORDstatic StringSSL_KEYSTORE_PATHstatic StringSSL_KEYSTORE_TAGstatic StringSSL_KEYSTORE_TYPEstatic StringSSL_TAGstatic StringSSL_TLS_VERSION_TAGstatic StringSSL_TRUSTSTORE_CERTIFICATE_DNstatic StringSSL_TRUSTSTORE_IS_STRICT_HOSTNAMESstatic StringSSL_TRUSTSTORE_PASSWORDstatic StringSSL_TRUSTSTORE_PATHstatic StringSSL_TRUSTSTORE_TAGstatic StringSSL_TRUSTSTORE_TYPEstatic StringSSL_TRUSTSTORE_USE_DEFAULT_TRUST_MANAGERstatic StringSSL_TRUSTSTORE_USE_JAVA_TRUSTSTOREstatic StringSSL_TRUSTSTORE_USE_JAVA_TRUSTSTORE_OLDstatic StringTLS_1_0static StringTLS_1_1static StringTLS_1_2static StringTLS_DEFAULTThe strings that are used in Java are standardized and listed here.static StringTLS_VERSION_1_0static StringTLS_VERSION_1_1static StringTLS_VERSION_1_2
-
Constructor Summary
Constructors Constructor Description SSLConfigurationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static SSLConfigurationgetNEWSSLConfiguration(MyLoggingFacade logger, CFNode node)static SSLConfigurationgetSSLConfiguration(MyLoggingFacade logger, CFNode node)UsesCFNodeand n longer supported ancient and deprecated old SSL keystore configuration.
-
-
-
Field Detail
-
SSL_KEYSTORE_TAG
public static final String SSL_KEYSTORE_TAG
- See Also:
- Constant Field Values
-
SSL_TAG
public static final String SSL_TAG
- See Also:
- Constant Field Values
-
SSL_DEBUG_TAG
public static final String SSL_DEBUG_TAG
- See Also:
- Constant Field Values
-
SSL_TLS_VERSION_TAG
public static final String SSL_TLS_VERSION_TAG
- See Also:
- Constant Field Values
-
SSL_KEYSTORE_PATH
public static final String SSL_KEYSTORE_PATH
- See Also:
- Constant Field Values
-
SSL_KEYSTORE_PASSWORD
public static final String SSL_KEYSTORE_PASSWORD
- See Also:
- Constant Field Values
-
SSL_KEYSTORE_TYPE
public static final String SSL_KEYSTORE_TYPE
- See Also:
- Constant Field Values
-
SSL_KEYSTORE_FACTORY
public static final String SSL_KEYSTORE_FACTORY
- See Also:
- Constant Field Values
-
SSL_TRUSTSTORE_USE_JAVA_TRUSTSTORE
public static final String SSL_TRUSTSTORE_USE_JAVA_TRUSTSTORE
- See Also:
- Constant Field Values
-
SSL_TRUSTSTORE_USE_JAVA_TRUSTSTORE_OLD
public static final String SSL_TRUSTSTORE_USE_JAVA_TRUSTSTORE_OLD
- See Also:
- Constant Field Values
-
SSL_TRUSTSTORE_IS_STRICT_HOSTNAMES
public static final String SSL_TRUSTSTORE_IS_STRICT_HOSTNAMES
- See Also:
- Constant Field Values
-
SSL_TRUSTSTORE_USE_DEFAULT_TRUST_MANAGER
public static final String SSL_TRUSTSTORE_USE_DEFAULT_TRUST_MANAGER
- See Also:
- Constant Field Values
-
SSL_TRUSTSTORE_TAG
public static final String SSL_TRUSTSTORE_TAG
- See Also:
- Constant Field Values
-
SSL_TRUSTSTORE_PATH
public static final String SSL_TRUSTSTORE_PATH
- See Also:
- Constant Field Values
-
SSL_TRUSTSTORE_PASSWORD
public static final String SSL_TRUSTSTORE_PASSWORD
- See Also:
- Constant Field Values
-
SSL_TRUSTSTORE_TYPE
public static final String SSL_TRUSTSTORE_TYPE
- See Also:
- Constant Field Values
-
SSL_TRUSTSTORE_CERTIFICATE_DN
public static final String SSL_TRUSTSTORE_CERTIFICATE_DN
- See Also:
- Constant Field Values
-
TLS_VERSION_1_0
public static final String TLS_VERSION_1_0
- See Also:
- Constant Field Values
-
TLS_VERSION_1_1
public static final String TLS_VERSION_1_1
- See Also:
- Constant Field Values
-
TLS_VERSION_1_2
public static final String TLS_VERSION_1_2
- See Also:
- Constant Field Values
-
TLS_DEFAULT
public static final String TLS_DEFAULT
The strings that are used in Java are standardized and listed here. The values in the configuration file are made to be more easily understood.- See Also:
- Constant Field Values
-
TLS_1_0
public static final String TLS_1_0
- See Also:
- Constant Field Values
-
TLS_1_1
public static final String TLS_1_1
- See Also:
- Constant Field Values
-
TLS_1_2
public static final String TLS_1_2
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNEWSSLConfiguration
protected static SSLConfiguration getNEWSSLConfiguration(MyLoggingFacade logger, CFNode node)
-
getSSLConfiguration
public static SSLConfiguration getSSLConfiguration(MyLoggingFacade logger, CFNode node)
UsesCFNodeand n longer supported ancient and deprecated old SSL keystore configuration. If one is found, this method throws an exception.- Parameters:
logger-node-- Returns:
-
-