Class SSLServerSocketFactory

  • All Implemented Interfaces:
    java.io.Serializable, java.rmi.server.RMIServerSocketFactory

    public class SSLServerSocketFactory
    extends java.lang.Object
    implements java.rmi.server.RMIServerSocketFactory, java.io.Serializable
    RMI SSL Server Socket Factory
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String alias  
      protected boolean clientAuth  
      protected java.lang.String keystore  
      protected java.lang.String ksPass  
      protected java.lang.String ksType  
      static java.lang.String module  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.ServerSocket createServerSocket​(int port)  
      void setKeyStore​(java.lang.String location, java.lang.String type, java.lang.String password)  
      void setKeyStoreAlias​(java.lang.String alias)  
      void setNeedClientAuth​(boolean clientAuth)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
      • clientAuth

        protected boolean clientAuth
      • keystore

        protected java.lang.String keystore
      • ksType

        protected java.lang.String ksType
      • ksPass

        protected java.lang.String ksPass
      • alias

        protected java.lang.String alias
    • Constructor Detail

      • SSLServerSocketFactory

        public SSLServerSocketFactory()
    • Method Detail

      • setNeedClientAuth

        public void setNeedClientAuth​(boolean clientAuth)
      • setKeyStore

        public void setKeyStore​(java.lang.String location,
                                java.lang.String type,
                                java.lang.String password)
      • setKeyStoreAlias

        public void setKeyStoreAlias​(java.lang.String alias)
      • createServerSocket

        public java.net.ServerSocket createServerSocket​(int port)
                                                 throws java.io.IOException
        Specified by:
        createServerSocket in interface java.rmi.server.RMIServerSocketFactory
        Throws:
        java.io.IOException