Class SSLServerSocketFactory

java.lang.Object
org.apache.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory
All Implemented Interfaces:
Serializable, RMIServerSocketFactory

public class SSLServerSocketFactory extends Object implements RMIServerSocketFactory, Serializable
RMI SSL Server Socket Factory
See Also:
  • Constructor Details

    • SSLServerSocketFactory

      public SSLServerSocketFactory()
  • Method Details

    • setNeedClientAuth

      public void setNeedClientAuth(boolean clientAuth)
      Sets need client auth.
      Parameters:
      clientAuth - the client auth
    • setKeyStore

      public void setKeyStore(String location, String type, String password)
      Sets key store.
      Parameters:
      location - the location
      type - the type
      password - the password
    • setKeyStoreAlias

      public void setKeyStoreAlias(String alias)
      Sets key store alias.
      Parameters:
      alias - the alias
    • createServerSocket

      public ServerSocket createServerSocket(int port) throws IOException
      Specified by:
      createServerSocket in interface RMIServerSocketFactory
      Throws:
      IOException