[java-opensaml COMMIT] /trunk/opensaml-security-impl/src/main/java/org/opensaml/security/httpclient/impl/SecurityEnha...
noreply at shibboleth.net
noreply at shibboleth.net
Wed Nov 4 17:53:04 EST 2015
Author: putmanb
Date: Wed Nov 4 17:53:03 2015
New Revision: 4381
URL: http://svn.shibboleth.net/view/java-opensaml?rev=4381&view=rev
Log:
Add ctor variant which defaults a null hostname verifier.
Modified:
trunk/opensaml-security-impl/src/main/java/org/opensaml/security/httpclient/impl/SecurityEnhancedTLSSocketFactory.java
Modified: trunk/opensaml-security-impl/src/main/java/org/opensaml/security/httpclient/impl/SecurityEnhancedTLSSocketFactory.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-security-impl/src/main/java/org/opensaml/security/httpclient/impl/SecurityEnhancedTLSSocketFactory.java?rev=4381&r1=4380&r2=4381&view=diff
==============================================================================
--- trunk/opensaml-security-impl/src/main/java/org/opensaml/security/httpclient/impl/SecurityEnhancedTLSSocketFactory.java (original)
+++ trunk/opensaml-security-impl/src/main/java/org/opensaml/security/httpclient/impl/SecurityEnhancedTLSSocketFactory.java Wed Nov 4 17:53:03 2015
@@ -116,6 +116,18 @@
/**
* Constructor.
*
+ * <p>No hostname verifier is configured in this implementation. (Does not affect whether hostname
+ * is or is not evaluated by the wrapped socket factory).</p>
+ *
+ * @param factory the underlying HttpClient socket factory wrapped by this implementation.
+ */
+ public SecurityEnhancedTLSSocketFactory(LayeredConnectionSocketFactory factory) {
+ this(factory, null);
+ }
+
+ /**
+ * Constructor.
+ *
* @param factory the underlying HttpClient socket factory wrapped by this implementation.
* @param verifier the hostname verifier evaluated by this implementation
*/
More information about the commits
mailing list