[java-identity-provider] 02/03: IDP-1371 Address code review feedback.
Marvin S. Addison
marvin.addison at gmail.com
Thu Dec 13 11:40:10 EST 2018
This is an automated email from the git hooks/post-receive script.
serac pushed a commit to branch maint-3.4
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=82e28bd6c918c72e9fb1b1298bdf055d7a23bea2
commit 82e28bd6c918c72e9fb1b1298bdf055d7a23bea2
Author: Marvin S. Addison <serac at vt.edu>
AuthorDate: Wed Dec 12 10:05:57 2018 -0500
IDP-1371 Address code review feedback.
---
.../net/shibboleth/idp/cas/proxy/impl/HttpClientProxyValidator.java | 1 +
idp-conf/src/main/resources/system/conf/cas-protocol-system.xml | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/proxy/impl/HttpClientProxyValidator.java b/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/proxy/impl/HttpClientProxyValidator.java
index f39ab3f..a578c37 100644
--- a/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/proxy/impl/HttpClientProxyValidator.java
+++ b/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/proxy/impl/HttpClientProxyValidator.java
@@ -159,6 +159,7 @@ public class HttpClientProxyValidator implements ProxyValidator {
log.debug("Attempting to validate CAS proxy callback URI {}", uri);
final HttpGet request = new HttpGet(uri);
response = httpClient.execute(request, clientContext);
+ HttpClientSecuritySupport.checkTLSCredentialEvaluated(clientContext, request.getURI().getScheme());
return response.getStatusLine().getStatusCode();
} catch (final ClientProtocolException e) {
throw new GeneralSecurityException("HTTP protocol error", e);
diff --git a/idp-conf/src/main/resources/system/conf/cas-protocol-system.xml b/idp-conf/src/main/resources/system/conf/cas-protocol-system.xml
index b9e505a..d52702f 100644
--- a/idp-conf/src/main/resources/system/conf/cas-protocol-system.xml
+++ b/idp-conf/src/main/resources/system/conf/cas-protocol-system.xml
@@ -48,7 +48,7 @@
c:resolver-ref="shibboleth.MetadataCredentialResolver" />
<bean parent="shibboleth.StaticPKIXTrustEngine"
p:certificates="#{getObject('shibboleth.CASProxyTrustedCertificates') ?: getObject('shibboleth.DefaultCASProxyTrustedCertificates')}"
- p:checkNames="false" />
+ p:checkNames="true" />
</list>
</constructor-arg>
</bean>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list