Skip to Content.
Sympa Menu

shibboleth-dev - RE: Entitlement attribute

Subject: Shibboleth Developers

List archive

RE: Entitlement attribute


Chronological Thread 
  • From: Scott Cantor <>
  • To: 'Parviz Dousti' <>,
  • Subject: RE: Entitlement attribute
  • Date: Tue, 25 Jun 2002 16:02:59 -0400
  • Importance: Normal
  • Organization: The Ohio State University

> Scott- here is the Attribute tag in xml message I got back
> from AA. Please make sure attribute fields are correctly set.
>
> <Attribute xmlns:typens="urn:mace:eduPerson:1.0"
> AttributeName="urn:mace:eduPerson:1.0:eduPersonEntitlement"
> AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri">
> <AttributeValue
> xsi:type="typens:xsd:anyURI">myEntitlement</AttributeValue>
> </Attribute>

The type of the value is off. It should just be either typens:anyURI or
xsd:anyURI. The way to trigger this is by passing the following into the
type parameter of the SAMLAttribute constructor:

new QName(org.opensaml.XML.XSD_NS,"anyURI")

The namespace URI of the type is the xsd namespace. You don't want to
literally put "xsd:anyURI" in the local name parameter, as that's not a
legal QName.

-- Scott

------------------------------------------------------mace-shib-design-+
For list utilities, archives, subscribe, unsubscribe, etc. please visit the
ListProc web interface at

http://archives.internet2.edu/

------------------------------------------------------mace-shib-design--




Archive powered by MHonArc 2.6.16.

Top of Page