Duh. Configuration doesn't work if you don't pass it to the API.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 3 Aug 2006 15:58:00 +0000 (15:58 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 3 Aug 2006 15:58:00 +0000 (15:58 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1992 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/common/provider/ShibbolethTrustEngine.java

index df287d8..2d1e0d4 100644 (file)
@@ -147,7 +147,7 @@ public class ShibbolethTrustEngine extends InlinePKIKeyTrustEngine implements Tr
                                log.debug("Found Shibboleth Key Authority Metadata: Verification depth: " + verifyDepth
                                                + " Trust Anchors: " + trustAnchors.size() + " Revocation Lists: " + revocationLists.size()
                                                + ".");
-                               return new PKIXValidationInformation(1, trustAnchors, revocationLists);
+                               return new PKIXValidationInformation(verifyDepth, trustAnchors, revocationLists);
                        }
 
                        private ElementProxy getNextKeyAuthority(ExtensionPoint extensionPoint, boolean consume) {