mace-opensaml-users - Marshalling problem for AttributeAssignmentType
Subject: OpenSAML user discussion
List archive
- From: "Christina Cunningham" <>
- To:
- Subject: Marshalling problem for AttributeAssignmentType
- Date: Mon, 19 May 2008 16:50:45 +0100
I am having issues with marshalling an AttributeAssignmentType whilst constructing an XACMLAuthzDecisionStatementType. When the AttributeAssignmentType is marshalled as part of the XACMLAuthzDecisionStatementType, the AttributeId is set, but the dataType and the value are not present.
<code>
AttributeAssignmentTypeImplBuilder attributeAssignmentBuilder = (AttributeAssignmentTypeImplBuilder)
builderFactory.getBuilder(AttributeAssignmentType.DEFAULT_ELEMENT_NAME);
AttributeAssignmentType attributeAssignment = attributeAssignmentBuilder.buildObject();
attributeAssignment.setAttributeId("AllowedSoftware");
attributeAssignment.setDataType("http://www.w3.org/2001/XMLSchema#string");
attributeAssignment.setValue("contentService.war");
</code>
The above code produces the following xml:
<xacml:Obligations xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os">
<xacml:Obligation FulfillOn="Permit" ObligationId="DeployTarget">
<xacml:AttributeAssignment AttributeId="AllowedSoftware" />
</xacml:Obligation>
</xacml:Obligations>
I am using opensaml 2.1.0 and the jars etc. that accompanied that version; java version "1.6.0_01"
Any suggestions?
Thanks, Christina
--
Christina Cunningham
Software Engineer
Belfast eScience Centre (BeSC)
Queen's University, Belfast
e: c.cunningham [at] besc.ac.uk
w: www.besc.ac.uk
- Marshalling problem for AttributeAssignmentType, Christina Cunningham, 05/19/2008
- <Possible follow-up(s)>
- Marshalling problem for AttributeAssignmentType, Christina Cunningham, 05/19/2008
- Re: [OpenSAML] Marshalling problem for AttributeAssignmentType, Brent Putman, 05/19/2008
- Re: [OpenSAML] Marshalling problem for AttributeAssignmentType, Håkon Sagehaug, 05/20/2008
- Re: [OpenSAML] Marshalling problem for AttributeAssignmentType, Christina Cunningham, 05/20/2008
- Re: [OpenSAML] Marshalling problem for AttributeAssignmentType, Håkon Sagehaug, 05/26/2008
- Re: [OpenSAML] Marshalling problem for AttributeAssignmentType, Christina Cunningham, 05/26/2008
- Re: [OpenSAML] Marshalling problem for AttributeAssignmentType, Håkon Sagehaug, 05/26/2008
- Re: [OpenSAML] Marshalling problem for AttributeAssignmentType, Christina Cunningham, 05/20/2008
- RE: Marshalling problem for AttributeAssignmentType, Håkon Sagehaug, 05/26/2008
- Re: [OpenSAML] RE: Marshalling problem for AttributeAssignmentType, Christina Cunningham, 05/26/2008
- Re: [OpenSAML] RE: Marshalling problem for AttributeAssignmentType, Håkon Sagehaug, 05/26/2008
- Re: [OpenSAML] RE: Marshalling problem for AttributeAssignmentType, Christina Cunningham, 05/26/2008
- Re: [OpenSAML] RE: Marshalling problem for AttributeAssignmentType, Håkon Sagehaug, 05/26/2008
- Re: [OpenSAML] RE: Marshalling problem for AttributeAssignmentType, Christina Cunningham, 05/26/2008
- Re: [OpenSAML] RE: Marshalling problem for AttributeAssignmentType, Håkon Sagehaug, 05/26/2008
- Re: [OpenSAML] RE: Marshalling problem for AttributeAssignmentType, Christina Cunningham, 05/26/2008
Archive powered by MHonArc 2.6.16.