mace-opensaml-users - [OpenSAML] Example for verifying AuthnResponse signature without a KeyInfo
Subject: OpenSAML user discussion
List archive
- From: "" <>
- To:
- Subject: [OpenSAML] Example for verifying AuthnResponse signature without a KeyInfo
- Date: Tue, 05 Jul 2011 07:12:02 -0500
Hi, I'm new to SAML, so please forgive any stupid questions. I am on the SP side of a SAML AuthnResponse. It is signed, but FYI, below is what I'm trying. It seems to me that it should
work but public void testValidateSignature() throws Exception { DOMMetadataProvider mdProvider = getMetadataProvider(); MetadataCredentialResolver mdResolver = new MetadataCredentialResolver(mdProvider); CriteriaSet criteriaSet = new CriteriaSet(); Credential signingCredential = mdResolver.resolve(criteriaSet).iterator().next(); Response authnResponse = getAuthnResponse(); SignatureValidator sigValidator = new SignatureValidator(signingCredential); |
- [OpenSAML] Example for verifying AuthnResponse signature without a KeyInfo, , 07/05/2011
Archive powered by MHonArc 2.6.16.