Class SSLServerSocketFactory
java.lang.Object
org.apache.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory
- All Implemented Interfaces:
Serializable
,RMIServerSocketFactory
RMI SSL Server Socket Factory
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateServerSocket
(int port) void
setKeyStore
(String location, String type, String password) Sets key store.void
setKeyStoreAlias
(String alias) Sets key store alias.void
setNeedClientAuth
(boolean clientAuth) Sets need client auth.
-
Constructor Details
-
SSLServerSocketFactory
public SSLServerSocketFactory()
-
-
Method Details
-
setNeedClientAuth
public void setNeedClientAuth(boolean clientAuth) Sets need client auth.- Parameters:
clientAuth
- the client auth
-
setKeyStore
Sets key store.- Parameters:
location
- the locationtype
- the typepassword
- the password
-
setKeyStoreAlias
Sets key store alias.- Parameters:
alias
- the alias
-
createServerSocket
- Specified by:
createServerSocket
in interfaceRMIServerSocketFactory
- Throws:
IOException
-