Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] XACMLPolicyQuery target

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] XACMLPolicyQuery target


Chronological Thread 
  • From: Håkon Sagehaug <>
  • To:
  • Subject: Re: [OpenSAML] XACMLPolicyQuery target
  • Date: Thu, 27 Aug 2009 16:02:46 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=b3qKwtrcC6Rm9gXofCn8KNbrI4aQs7nEdXsWNgy+uUkMp4Ek4rhl1nZpmw+sajy3jr ItQ+h0xkVjYAo1fAdDUXEWVFoPYktfgtGPxj984rrdcPftyTUPYuWBJma94KoDAxilSP jl2ytbjh3NxfRwfpJ2ZpyM0dYTBUH3lrgPKzk=

Hi Massimiliano

I think the class XACMLPolicyQuery was implemented with the this [1] schema in mind. Also this might explain error you got in the other email you sent. The element for XACMLPolicyQuery looks like this in the schema referred

 <element name="XACMLPolicyQuery" xsi:type="xacml-samlp:XACMLPolicyQueryType" />
    <complexType name="XACMLPolicyQueryType">
        <complexContent>
            <extension base="samlp:RequestAbstractType">
                <choice minOccurs="1" maxOccurs="unbounded">
                    <element ref="xacml-context:Request" />
                    <element ref="xacml:PolicySetIdReference" />
                    <element ref="xacml:PolicyIdReference" />
                </choice>
            </extension>
        </complexContent>
    </complexType>


[1] http://www.oasis-open.org/committees/document.php?document_id=32425

cheers, håkon

2009/8/27 Massimiliano Masi <>
Hi All,

In the profile for XACML and SAML the XACMLPolicyQuery has
a choice among Request, Target, PolicySetIdReference, PolicyIdRefrence.

The getRequests() permits to add XACML requests,
the getPolicySetIdReference() adds id to policy set,
the policyIdReference to policy Id,

but which method can be used for adding a policy TargetType?


Thanks,


     Massimiliano


--
Massimiliano Masi

http://www.mascanc.net/~max



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



Archive powered by MHonArc 2.6.16.

Top of Page