Class ManagedSSLSocketFactory
- java.lang.Object
-
- javax.net.SocketFactory
-
- javax.net.ssl.SSLSocketFactory
-
- org.apache.karaf.jaas.modules.ldap.ManagedSSLSocketFactory
-
- All Implemented Interfaces:
Comparator<Object>
public class ManagedSSLSocketFactory extends SSLSocketFactory implements Comparator<Object>
-
-
Constructor Summary
Constructors Constructor Description ManagedSSLSocketFactory(SSLSocketFactory delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Object f1, Object f2)For com.sun.jndi.ldap.ClientId#invokeComparator(com.sun.jndi.ldap.ClientId, com.sun.jndi.ldap.ClientId).SocketcreateSocket()SocketcreateSocket(String host, int port)SocketcreateSocket(String host, int port, InetAddress localHost, int localPort)SocketcreateSocket(InetAddress host, int port)SocketcreateSocket(InetAddress address, int port, InetAddress localAddress, int localPort)SocketcreateSocket(Socket s, String host, int port, boolean autoClose)static SSLSocketFactorygetDefault()String[]getDefaultCipherSuites()String[]getSupportedCipherSuites()static voidsetSocketFactory(SSLSocketFactory factory)-
Methods inherited from class javax.net.ssl.SSLSocketFactory
createSocket
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
ManagedSSLSocketFactory
public ManagedSSLSocketFactory(SSLSocketFactory delegate)
-
-
Method Detail
-
setSocketFactory
public static void setSocketFactory(SSLSocketFactory factory)
-
getDefault
public static SSLSocketFactory getDefault()
-
getDefaultCipherSuites
public String[] getDefaultCipherSuites()
- Specified by:
getDefaultCipherSuitesin classSSLSocketFactory
-
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
- Specified by:
getSupportedCipherSuitesin classSSLSocketFactory
-
createSocket
public Socket createSocket() throws IOException
- Overrides:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(Socket s, String host, int port, boolean autoClose) throws IOException
- Specified by:
createSocketin classSSLSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(String host, int port) throws IOException
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(InetAddress host, int port) throws IOException
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
compare
public int compare(Object f1, Object f2)
For com.sun.jndi.ldap.ClientId#invokeComparator(com.sun.jndi.ldap.ClientId, com.sun.jndi.ldap.ClientId).- Specified by:
comparein interfaceComparator<Object>
-
-