Hello!

I need to put an XML fragment to one of the SAML Attribute:

<saml-a:Attribute xmlns:saml-a="urn:oasis:names:tc:SAML:2.0:assertion" 
xmlns:wsa="http://www.w3.org/2005/08/addressing";>
<saml-a:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
        <PurposeOfUse xmlns=" .... " xsi:type=" ... " attr1=" ... " attr2=" ... 
"/>
</saml-a:AttributeValue>
</saml-a:Attribute>

(the xsi:type is not an standard schema type)

I get this information from an Claim. I parse already, and I have all
the fields. I need some solution how can I put to the requestClaim ant
the ClaimParser
I try to use the OpenSAML, to create a AttributeValue, but I dont know
how to create the PurposeOfUse element.

Any idee?
Thanx

Csaba



Reply via email to