Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Re: [OpenSAML] Unmarshalling problem - losing the inner ApplyType of a ConditionType

Subject: OpenSAML user discussion

List archive

Re: Re: [OpenSAML] Unmarshalling problem - losing the inner ApplyType of a ConditionType


Chronological Thread 
  • From: "Håkon Sagehaug" <>
  • To:
  • Subject: Re: Re: [OpenSAML] Unmarshalling problem - losing the inner ApplyType of a ConditionType
  • Date: Thu, 19 Jun 2008 14:24:20 +0200
  • 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=v8kfMp+uJM3jyDKb1yHBGJJueqfzH6qXwrdVx/CteaK1PmOn0mRkekRuFwuAYzaXqL 8sg8+PD994uoUsf2ogKfIyXDZ7QitRMb+3MRQ1OEuAtbtWu2tEybnT6q0xspPjrhnWy+ yxn6NeeRhwqHqMVCS7Oi4m/gQangsyDfwOhbY=

Hi

A patch for the is sent in

cheers, Håkon

2008/6/19 <>:

Hi Hakon, the marshalled policy is:

<xacml-saml:XACMLPolicyStatement xmlns:xacml-saml="urn:oasis:names:tc:xacml:2.0:profile:saml2.0:v2:schema:assertion"><xacml:Policy xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os"><xacml:Description>Test SAML2 policy creation</xacml:Description><xacml:Target><xacml:Subjects/><xacml:Actions/><xacml:Resources><xacml:Resource><xacml:ResourceMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"><xacml:AttributeValue>namespaces/bbc.co.uk</xacml:AttributeValue><xacml:ResourceAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id" DataType="http://www.eoveri.com/2008/machine" MustBePresent="false" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xacml:AttributeDesignatorType"/></xacml:ResourceMatch></xacml:Resource></xacml:Resources></xacml:Target><xacml:Rule Effect="Permit"><xacml:Description/><xacml:Target><xacml:Subjects/><xacml:Actions/><xacml:Resources><xacml:Resource><xacml:ResourceMatch MatchId="urn:oasis:name
 s:tc:xacml:1.0:function:string-equal"><xacml:AttributeValue>namespaces/bbc.co.uk</xacml:AttributeValue><xacml:ResourceAttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id" DataType="http://www.eoveri.com/2008/machine" MustBePresent="false" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xacml:AttributeDesignatorType"/></xacml:ResourceMatch></xacml:Resource></xacml:Resources></xacml:Target><xacml:Condition><xacml:Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-equal"><xacml:Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-one-and-only"><xacml:SubjectAttributeDesignator AttributeId="group" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xacml:AttributeDesignatorType"/></xacml:Apply></xacml:Apply></xacml:Condition></xacml:Rule><xacml:Obligations/></xacml:Policy></xacml-saml:XACMLPolicyStatement>

Let me know if you need anything else,

Thanks
Karen



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


Archive powered by MHonArc 2.6.16.

Top of Page