com.buildforge.services.common.ssl
Class BuildForgeSSLEngineFactory
java.lang.Object
com.buildforge.services.common.ssl.BuildForgeSSLEngineFactory
public class BuildForgeSSLEngineFactory
- extends java.lang.Object
This class will provide the callers with a client-side or server-side
SSLEngine
Keystore:
The keystore is picked up using the class loader's
getResourceAsStream method. By default, a keystore location of 'buildForgeKeyStore'
is used (meaning any directory or jar file on the classpath of the loading
class loader will be searched for the file 'buildForgeKeyStore' at the root).
This location may be changed by setting the java system property
"buildforge.keystore.location
" at tomcat invocation time via the
"-D
" jvm argument.
Keystore password:
By default, password used to access the keystore is "buildforge". This location
may be changed by setting the java system property "buildforge.keystore.password
"
at tomcat invocation time via the "-D
" jvm argument.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEYSTORE_LOCATION_SYSTEM_PROPERTY_NAME
public static final java.lang.String KEYSTORE_LOCATION_SYSTEM_PROPERTY_NAME
- See Also:
- Constant Field Values
KEYSTORE_PASSWORD_SYSTEM_PROPERTY_NAME
public static final java.lang.String KEYSTORE_PASSWORD_SYSTEM_PROPERTY_NAME
- See Also:
- Constant Field Values
getInstance
public static BuildForgeSSLEngineFactory getInstance()
buildClientSSLEngine
public BuildForgeSSLEngine buildClientSSLEngine(java.nio.channels.SocketChannel network)
buildServerSSLEngine
public BuildForgeSSLEngine buildServerSSLEngine(java.nio.channels.SocketChannel network)
buildSSLEngine
public BuildForgeSSLEngine buildSSLEngine(java.nio.channels.SocketChannel network,
boolean client)