[java-idp-testbed] 03/03: IDP-1008 - Make client TLS certificate optional
Tom Zeller
tzeller at dragonacea.biz
Thu Aug 4 20:06:07 EDT 2016
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch master
in repository java-idp-testbed.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-testbed.git;a=commit;h=77cabb5edf891938f4968ee7eff8c228db35f81e
commit 77cabb5edf891938f4968ee7eff8c228db35f81e
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Aug 4 18:26:14 2016 -0500
IDP-1008 - Make client TLS certificate optional
---
src/main/java/sp/SAML2Controller.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/main/java/sp/SAML2Controller.java b/src/main/java/sp/SAML2Controller.java
index 7d99c02..14f533d 100644
--- a/src/main/java/sp/SAML2Controller.java
+++ b/src/main/java/sp/SAML2Controller.java
@@ -583,7 +583,10 @@ public class SAML2Controller extends BaseSAMLController {
final Resource trustedTLSCertificateResource = applicationContext.getResource(trustedTLSCertificate);
log.debug("Trusted TLS certificate resource '{}'", trustedTLSCertificateResource);
- final Resource clientTLSCertificateResource = applicationContext.getResource(clientTLSCertificate);
+ Resource clientTLSCertificateResource = null;
+ if (StringSupport.trimOrNull(clientTLSCertificate) != null) {
+ clientTLSCertificateResource = applicationContext.getResource(clientTLSCertificate);
+ }
log.debug("Client TLS certificate resource '{}'", clientTLSCertificateResource);
final Resource clientTLSPrivateKeyResource = applicationContext.getResource(clientTLSPrivateKey);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list