¡@

Home 

java Programming Glossary: socketfactory

Using Javamail to connect to Gmail smtp server ignores specified port and tries to use 25

http://stackoverflow.com/questions/1990454/using-javamail-to-connect-to-gmail-smtp-server-ignores-specified-port-and-tries

true props.put mail.smtp.auth true props.put mail.smtp.socketFactory.port d_port props.put mail.smtp.socketFactory.class javax.net.ssl.SSLSocketFactory.. mail.smtp.socketFactory.port d_port props.put mail.smtp.socketFactory.class javax.net.ssl.SSLSocketFactory props.put mail.smtp.socketFactory.fallback.. javax.net.ssl.SSLSocketFactory props.put mail.smtp.socketFactory.fallback false def auth new SMTPAuthenticator def session Session.getInstance..

Using client/server certificates for two way authentication SSL socket on Android

http://stackoverflow.com/questions/4064810/using-client-server-certificates-for-two-way-authentication-ssl-socket-on-androi

public void run String line try SSLSocketFactory socketFactory SSLSocketFactory SSLClient.ssl_ctx.getSocketFactory socket.. SSLClient.ssl_ctx.getSocketFactory socket SSLSocket socketFactory.createSocket serverUrl Integer.parseInt serverPort this.input.. SSLSocketFactory to use the certificates SSLSocketFactory socketFactory null socketFactory new SSLSocketFactory SSLSocketFactory.TLS..

Android/Java — How to Create HTTPS Connection?

http://stackoverflow.com/questions/5485415/android-java-how-to-create-https-connection

final SSLSocketFactory socketFactory SSLSocketFactory.getSocketFactory socketFactory.setHostnameVerifier.. socketFactory SSLSocketFactory.getSocketFactory socketFactory.setHostnameVerifier X509HostnameVerifier hostnameVerifier socketFactory.setHostnameVerifier.. X509HostnameVerifier hostnameVerifier socketFactory.setHostnameVerifier SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER..

Is it possible to use jax-ws to generate xml, but NOT send it out

http://stackoverflow.com/questions/9121129/is-it-possible-to-use-jax-ws-to-generate-xml-but-not-send-it-out

WS. Roughly it will look like this javax.net.SocketFactory socketFactory new MySocketFactory Service service Service.create new URL wsdl.. socketFactory or BindingProvider Service.getPort SEIInterface.class .getRequestContext..

Problems with https (No peer certificate) in android

http://stackoverflow.com/questions/9531710/problems-with-https-no-peer-certificate-in-android

registry new SchemeRegistry SSLSocketFactory socketFactory SSLSocketFactory.getSocketFactory socketFactory.setHostnameVerifier.. socketFactory SSLSocketFactory.getSocketFactory socketFactory.setHostnameVerifier X509HostnameVerifier hostnameVerifier registry.register.. hostnameVerifier registry.register new Scheme https socketFactory 443 SingleClientConnManager mgr new SingleClientConnManager..

UNIX socket implementation for Java?

http://stackoverflow.com/questions/170600/unix-socket-implementation-for-java

what I've read it should be at least possible to write a SocketFactory for JDBC based on UNIX sockets if we can find a decent implementation..

Java RMI + SSL + Compression = IMPOSSIBLE!

http://stackoverflow.com/questions/2374374/java-rmi-ssl-compression-impossible

over SSL. I've seen some posts online suggest using SSLSocketFactory.createSocket which takes a Socket to wrap SSL over a compressing.. wrap the Input Ouput streams with compression. And have my SocketFactory and ServerSocketFactory return the proxies wrapping the SSLSocket.. with compression. And have my SocketFactory and ServerSocketFactory return the proxies wrapping the SSLSocket . But then we have..

Choosing SSL client certificate in Java

http://stackoverflow.com/questions/3712366/choosing-ssl-client-certificate-in-java

appear to support the use of an SSLContext or a custom SocketFactory . Its client certificate settings are global. share improve..

jndi LDAPS custom HostnameVerifier and TrustManager

http://stackoverflow.com/questions/9394864/jndi-ldaps-custom-hostnameverifier-and-trustmanager

and use StartTlsResponse.negotiate ... with a matching SSLSocketFactory . However we also need to support LDAPS connections. Java supports.. SSL env.put java.naming.ldap.factory.socket CustomSocketFactory ctx new InitialLdapContext env null if encryption START_TLS.. hostnameVerifier tls.negotiate sslContext.getSocketFactory We could add out own CustomSocketFactory but how to pass information..