mace-opensaml-users - Problem with C++ SAML
Subject: OpenSAML user discussion
List archive
- From: Manuel Sánchez Cuenca <>
- To:
- Subject: Problem with C++ SAML
- Date: Wed, 01 Feb 2006 13:39:24 +0100
Hello all, I'm generating an AuthorizationDecisionStatement from a java Servlet:
==================================================================
<Response xmlns="urn:oasis:names:tc:SAML:1.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol" InResponseTo="_c7cd48985a4f6b01bf87e0a16d0931f3" IssueInstant="2006-02-01T12:27:01.345Z" MajorVersion="1" MinorVersion="1" ResponseID="ed10ea746736fc045d82f6320d0c36c3"><Status><StatusCode Value="samlp:Success"></StatusCode></Status><Assertion xmlns="urn:oasis:names:tc:SAML:1.0:assertion" AssertionID="ab11b046a437a3225a5522fbaca1bafa" IssueInstant="2006-02-01T12:27:01.345Z" Issuer="PDP" MajorVersion="1" MinorVersion="1"><AuthorizationDecisionStatement Decision="Permit" Resource="rtsp://servidor/algomas/Cupstackingworldreco.avi"><Action Namespace="urn:vidios:actions">View</Action><Evidence><Assertion AssertionID="eb370e2d970d04afc8274bf291438f04" IssueInstant="2006-02-01T12:27:01.342Z" Issuer="PDP" MajorVersion="1" MinorVersion="1"><AttributeStatement><Subject><NameIdentifier NameQualifier="UMU Content Provider">123456781234567812345678</NameIdentifier></Subject><Attribute AttributeName="EncryptionKey" AttributeNamespace="urn:vidios:attributes"><AttributeValue>A1234567B1234567</AttributeValue></Attribute></AttributeStatement></Assertion></Evidence></AuthorizationDecisionStatement></Assertion></Response>
==================================================================
the problem is that this statement must be processed in a C++ client, but it throws an exception:
======================================================
<Status xmlns="urn:oasis:names:tc:SAML:1.0:protocol" xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"><StatusCode Value="samlp:Responder"/><StatusMessage>XML::Parser detected an error during parsing: Element 'Action' is not valid for content model: '(Subject,,Action,Evidence)'</StatusMessage><StatusDetail xmlns:opensaml="http://www.opensaml.org"><opensaml:ExceptionClass>org.opensaml.MalformedException</opensaml:ExceptionClass></StatusDetail></Status>
======================================================
Does anybody know why the C++ SAML parser can parse this statement?
Thanks in advance.
--
=======================================================
Manuel Sanchez Cuenca
Dept. Ingenieria de la Informacion y las Comunicaciones
Universidad de Murcia - España
Tlf: +34 968364644 - Fax: 968364151
email:
www: http://livia.dif.um.es/~lolo
www: http://livia.dif.um.es/~irisgrid
- Problem with C++ SAML, Manuel Sánchez Cuenca, 02/01/2006
- Re: Problem with C++ SAML, Tom Scavo, 02/01/2006
Archive powered by MHonArc 2.6.16.