Skip to Content.
Sympa Menu

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

Subject: OpenSAML user discussion

List archive

Re: Unmashalling a SAML2.0 Response


Chronological Thread 
  • From: "Håkon Sagehaug" <>
  • To:
  • Subject: Re: Unmashalling a SAML2.0 Response
  • Date: Wed, 5 Mar 2008 17:43:37 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=WqytEE9plLNF9VYFhsz8cfCfy5nDEa4ZrtLo00KJTUrDZ4XEXtvETLSFHaBInPZ+dT+BJAY9ev2H7kJyzgjgv2i+pnaC/bI64CUXWIWUT4uwhnuFKeudqAvE4Wspn4fyrvTHDWfHypd6P1HorD8bjLEC8oBx+a36IPeMQoFkATo=

Hi

2008/3/5, Scott Cantor <>:
> I wanted to unmarshall a SAMLResponse like this
>
> <saml:Issuer xsi:type="saml:NameIDType"


You don't need to do that. The element is already typed. I suspect you're
tripping up the code by having it look up the code to use by xsi:type.

I'm receive the xml message from a different system and just want to unmarshall it

Seems
like that might be a bug in the code, though.

My or others?

> 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?


Well, yes. "type" would be illegal. A validating parser would tell you that,
but if you don't validate you're just stuffing a bogus attribute in there
and it gets ignored.


-- Scott





--
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