diff --git a/pom.xml b/pom.xml
index 4b19322..4bd5014 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
org.openconext
saml-idp
- 0.0.8-SNAPSHOT
+ 1.0.0
saml-idp
diff --git a/src/main/java/saml/DefaultSAMLService.java b/src/main/java/saml/DefaultSAMLService.java
index a93a84b..7263ee0 100644
--- a/src/main/java/saml/DefaultSAMLService.java
+++ b/src/main/java/saml/DefaultSAMLService.java
@@ -174,7 +174,10 @@ private void validateSignature(SignableSAMLObject target, Credential credential,
throw new SignatureException("Signature element not found.");
}
} else {
+ //The docs state that implementations of SignaturePrevalidator do NOT perform the actual cryptographic validation of the signature against key material.
this.samlSignatureProfileValidator.validate(signature);
+ //For the actual cryptographic validation.
+ SignatureValidator.validate(signature, credential);
}
}