private void validateSamlSignature(
     SAMLDocumentHolder holder, boolean postBinding, String paramKey)
     throws VerificationException {
   if (postBinding) {
     verifyPostBindingSignature(
         holder.getSamlDocument(), deployment.getIDP().getSignatureValidationKey());
   } else {
     verifyRedirectBindingSignature(deployment.getIDP().getSignatureValidationKey(), paramKey);
   }
 }
Example #2
0
 @Override
 protected void verifySignature(SAMLDocumentHolder documentHolder, ClientModel client)
     throws VerificationException {
   SamlProtocolUtils.verifyDocumentSignature(client, documentHolder.getSamlDocument());
 }