Skip to Content.
Sympa Menu

mace-opensaml-users - Re: use of SAMLAttribute

Subject: OpenSAML user discussion

List archive

Re: use of SAMLAttribute


Chronological Thread 
  • From: "Tom Scavo" <>
  • To:
  • Subject: Re: use of SAMLAttribute
  • Date: Wed, 13 Dec 2006 12:20:35 -0500
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mDIAKkzRwCH8v8WLYXCbH2R9S6ZgFgzwiqEn4C9iIQBwY51QMuaXhu/HYtC78UQ1Te0APiAztruQu0PXdL6ZmPRkHc71VcxmBxMc2PHVx23ifW9u4x99VSTCNP+JAFH2gNCtfkPaZoInmHtSu+Qjdo4zCWUUvK3HGLAJd8ok/Wg=

On 12/13/06, Scott Cantor
<>
wrote:
> But what value do I give the 'type' property to create this:
>
> <saml:Attribute
> AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri"
> AttributeName="urn:mace:dir:attribute-def:isMemberOf">
> <saml:AttributeValue
> xsi:type="xs:string">http://www.us-vo.org/</saml:AttributeValue>
> </saml:Attribute>

A QName with "string" in localPart and the right namespace in namespaceURI.
I believe it checks for that namespace and uses xsd in that case because it
already declares xsd up above.

Yes,

QName qname = new QName(XML.XSD_NS, "string");

does the trick!

Thanks, Scott.

Tom



Archive powered by MHonArc 2.6.16.

Top of Page