Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Attribute Values in XACMLAuthzQuery

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Attribute Values in XACMLAuthzQuery


Chronological Thread 
  • From: "Håkon Sagehaug" <>
  • To:
  • Subject: Re: [OpenSAML] Attribute Values in XACMLAuthzQuery
  • Date: Tue, 3 Jun 2008 10:30:14 +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=k0G6VHt+sc7srM0+PlcR1Vy5Ag8/DApFm0vPR5DuuxickqowwbN7CLgMBVHmjJH7PYpNxVhdsZpxP7e1s1NlTvMw/eGnbX/L9PuNjLU3gi+SE5Qiyk78S2L1Abp+XSpB/7udrJut2YpVwmQP1eX6isClg/hd1lqK70rRV7PgGKM=

Hi

I tried to remove the xsi:type="xs:string" from the AttributeValue element then everything works, so I asked Chad about it and he answered this

"The XML is wrong, there shouldn't be an xsi:type, that element is already defined as having the xsi:type="AttributeValueType" and since it's not declared as abstract you can't redefine the type."

So, if you can  get rid of the type in attribute value you are good. Also, the spec says, page 76

The data-type of the <xacml-context:AttributeValue> SHALL be specified by using the
3055 DataType attribute of the parent <Attribute> element.

So no need to specify it in the AttributeVlaue element

cheers, Håkon


2008/6/2, Rachana Ananthakrishnan <>:
That was from my mail client on changing format. Sorry. Here is a clean
paste.

Rachana


Resource:<xacml-context:Resource
xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os"><xacml-
context:Attribute AttributeId="http://www.globus.org/xacml/service-endpoint"
DataType="http://www.w3.org/2001/XMLSchema#string"

Issuer="issuer"><xacml-context:AttributeValue
xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:type="xs:string">https://192.168.1.100:1883/wsrf/services/xacml/TestServ
ice</xacml-context:AttributeValue></xacml-context:Attribute><xacml-context:A
ttribute AttributeId="urn:globus:4.0:container:service-name"
DataType="http://www.w3.org/2001/XMLSchema#string"

Issuer="Issuer"><xacml-context:AttributeValue
xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:type="xs:string">https://192.168.1.100:1883/wsrf/services/xacml/TestServ
ice</xacml-context:AttributeValue></xacml-context:Attribute></xacml-context:
Resource>

Resource Attribute size: 2
Resource Attribute value size: 0
Resource Attribute value size: 0



________________________________

        From: [mailto:] On Behalf Of
Håkon Sagehaug

        Sent: Monday, June 02, 2008 10:02 AM

        To:

        Subject: [OpenSAML] Attribute Values in XACMLAuthzQuery



        Hi Rachana,

        In the xml message below there is a element called <blocked> what is
it?

        cheers, håkon

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





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