com.gigaspaces.lrmi.nio.filters
Class SSLFilterFactory
java.lang.Object
com.gigaspaces.lrmi.nio.filters.SSLFilterFactory
- All Implemented Interfaces:
- com.gigaspaces.lrmi.nio.filters.IOFilterFactory
public class SSLFilterFactory
- extends Object
- implements com.gigaspaces.lrmi.nio.filters.IOFilterFactory
A factory class used to load SSL network filter
- Since:
- 6.6
- Author:
- barak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLFilterFactory
public SSLFilterFactory()
SSLFilterFactory
public SSLFilterFactory(String keystore,
String password)
createClientFilter
public IOFilter createClientFilter(InetSocketAddress remoteAddress)
throws Exception
- Specified by:
createClientFilter
in interface com.gigaspaces.lrmi.nio.filters.IOFilterFactory
- Throws:
Exception
createServerFilter
public IOFilter createServerFilter(InetSocketAddress remoteAddress)
throws Exception
- Specified by:
createServerFilter
in interface com.gigaspaces.lrmi.nio.filters.IOFilterFactory
- Throws:
Exception
createSSLContext
protected SSLContext createSSLContext(boolean clientMode,
String keystore,
String password)
throws Exception
- Throws:
Exception
loadKeyStore
protected KeyStore loadKeyStore(String keystore,
char[] passphrase)
throws KeyStoreException,
IOException,
NoSuchAlgorithmException,
CertificateException
- Throws:
KeyStoreException
IOException
NoSuchAlgorithmException
CertificateException
Copyright © GigaSpaces.