edu.stanford.smi.protege.server.socket
Class SSLFactory
java.lang.Object
edu.stanford.smi.protege.server.socket.SSLFactory
- All Implemented Interfaces:
- RMIClientSocketFactory, RMIServerSocketFactory
public class SSLFactory
- extends Object
- implements RMIClientSocketFactory, RMIServerSocketFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSL_POLICY
public static final String SSL_POLICY
- See Also:
- Constant Field Values
SSL_KEYSTORE
public static final String SSL_KEYSTORE
- See Also:
- Constant Field Values
SSL_PASSWORD
public static final String SSL_PASSWORD
- See Also:
- Constant Field Values
KEYSTORE_TYPE
public static final String KEYSTORE_TYPE
- See Also:
- Constant Field Values
DEFAULT_KEYSTORE_TYPE
public static final String DEFAULT_KEYSTORE_TYPE
- See Also:
- Constant Field Values
KEYMANAGER_ALGORITHM
public static final String KEYMANAGER_ALGORITHM
- See Also:
- Constant Field Values
DEFAULT_KEYMANAGER_ALGORITHM
public static final String DEFAULT_KEYMANAGER_ALGORITHM
- See Also:
- Constant Field Values
SSL_PROTOCOL
public static final String SSL_PROTOCOL
- See Also:
- Constant Field Values
DEFAULT_SSL_PROTOCOL
public static final String DEFAULT_SSL_PROTOCOL
- See Also:
- Constant Field Values
SSLFactory
public SSLFactory()
createServerSocket
public ServerSocket createServerSocket(int port)
throws IOException
- Specified by:
createServerSocket
in interface RMIServerSocketFactory
- Throws:
IOException
createSocket
public Socket createSocket(String host,
int port)
throws IOException
- Specified by:
createSocket
in interface RMIClientSocketFactory
- Throws:
IOException
getServerPort
public static int getServerPort(SSLFactory.Context context)
useSSL
public static boolean useSSL(SSLFactory.Context context)
resetAuth
public static void resetAuth()
checkAuth
public static boolean checkAuth()
throws SecurityException
- Throws:
SecurityException
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2011 Stanford University.