diff --git a/pom.xml b/pom.xml index be0e2fb..2ee0c75 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ * information: "Portions copyright [year] [name of copyright owner]". * * Copyright 2017-2018 ForgeRock AS. - * + * --> certificate-node org.forgerock.am - 1.0.0 + 1.0.1 Template for an Auth Tree Node maven project An Authentication Tree Node for ForgeRock's Identity Platform diff --git a/src/main/java/org/forgerock/openam/auth/nodes/CertificateCollectorNode.java b/src/main/java/org/forgerock/openam/auth/nodes/CertificateCollectorNode.java index 9bc83cf..546d50c 100644 --- a/src/main/java/org/forgerock/openam/auth/nodes/CertificateCollectorNode.java +++ b/src/main/java/org/forgerock/openam/auth/nodes/CertificateCollectorNode.java @@ -156,7 +156,8 @@ private X509Certificate[] getPortalStyleCert(ListMultimap header } logger.debug("Validate cert: " + cert); if (cert == null || cert.equals("")) { - throw new NodeProcessException("Certificate: no cert from HttpServletRequest header"); + logger.debug("Certificate: no cert from HttpServletRequest header"); + return null; } byte[] decoded = Base64.decode(cert);