Class AlfrescoLdapSSLSocketFactory
- java.lang.Object
-
- javax.net.SocketFactory
-
- org.alfresco.repo.security.authentication.ldap.AlfrescoLdapSSLSocketFactory
-
public class AlfrescoLdapSSLSocketFactory extends SocketFactory
SSL Socket Factory that adds Hostname Verification to sockets
-
-
Constructor Summary
Constructors Constructor Description AlfrescoLdapSSLSocketFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketcreateSocket(String host, int port)SocketcreateSocket(String address, int port, InetAddress localAddress, int localPort)SocketcreateSocket(InetAddress host, int port)SocketcreateSocket(InetAddress address, int port, InetAddress localAddress, int localPort)static SocketFactorygetDefault()-
Methods inherited from class javax.net.SocketFactory
createSocket
-
-
-
-
Method Detail
-
getDefault
public static SocketFactory getDefault()
-
createSocket
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
- Specified by:
createSocketin classSocketFactory- Throws:
IOExceptionUnknownHostException
-
createSocket
public Socket createSocket(InetAddress host, int port) throws IOException
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(String address, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException
- Specified by:
createSocketin classSocketFactory- Throws:
IOExceptionUnknownHostException
-
createSocket
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
-