Skip to Content.
Sympa Menu

mace-opensaml-users - Unmashalling a SAML2.0 Response

Subject: OpenSAML user discussion

List archive

Unmashalling a SAML2.0 Response


Chronological Thread 
  • From: "Håkon Sagehaug" <>
  • To:
  • Subject: Unmashalling a SAML2.0 Response
  • Date: Wed, 5 Mar 2008 12:54:20 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=GmybKXPv6HLAKh0QgIKfE4JCzidjvNqyKU8cQ3fqoyWHR9fIMJys7RZm/lh2KtG5ZtevGvXnTBRyr7iKUzfYsn6MoN2+O0CkAcKZhjEfZceR+OnoWWyEJk37KCp9bpGtheSSrBklCNoAZrbc+CGVdISPifLTFXN8Wmflg450frg=

Hi

I wanted to unmarshall a SAMLResponse like this

<saml:Issuer xsi:type="saml:NameIDType"  Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">XACMLService</saml:Issuer>

But I got this error message

org.opensaml.xml.io.UnmarshallingException: This unmarshaller only operates on {urn:oasis:names:tc:SAML:2.0:assertion}NameID elements not {urn:oasis:names:tc:SAML:2.0:assertion}Issuer

I then changed from xsi:type="saml:NameIDType" to type="saml:NameIDType" then no error messages showed up, does anyone have a explanation for this?

cheers, Håkon
--
Håkon Sagehaug
Research Assistant
Parallab
Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)


Archive powered by MHonArc 2.6.16.

Top of Page