hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1644062 - /httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
Date Tue, 09 Dec 2014 14:36:37 GMT
Author: sebb
Date: Tue Dec  9 14:36:37 2014
New Revision: 1644062

URL: http://svn.apache.org/r1644062
Log:
HTTPCLIENT-1587 Document default Oracle JSSE restriction: SSLContext#init only uses first
instance of managers

Modified:
    httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java

Modified: httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java?rev=1644062&r1=1644061&r2=1644062&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
(original)
+++ httpcomponents/httpcore/branches/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContextBuilder.java
Tue Dec  9 14:36:37 2014
@@ -61,6 +61,13 @@ import org.apache.http.util.Args;
 
 /**
  * Builder for {@link javax.net.ssl.SSLContext} instances.
+ * <p>
+ * Please note: the default Oracle JSSE implementation of {@link SSLContext#init(KeyManager[],
TrustManager[], SecureRandom)}
+ * accepts multiple key and trust managers, however only only first matching type is ever
used.
+ * See for example:
+ * <a href="http://docs.oracle.com/javase/7/docs/api/javax/net/ssl/SSLContext.html#init%28javax.net.ssl.KeyManager[],%20javax.net.ssl.TrustManager[],%20java.security.SecureRandom%29">
+ * SSLContext.html#init
+ * </a>
  *
  * @since 4.4
  */



Mime
View raw message