Skip to Content.
Sympa Menu

mace-opensaml-users - RE: AttributeValue and SubjectConfirmationData info

Subject: OpenSAML user discussion

List archive

RE: AttributeValue and SubjectConfirmationData info


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: "'Thomas'" <>, <>
  • Subject: RE: AttributeValue and SubjectConfirmationData info
  • Date: Tue, 1 Aug 2006 11:26:54 -0400
  • Organization: The Ohio State University

> I'm trying to build simple opensaml 2 certificates using the latest
> version of library. There are two things I cannot understand.

I'm going to flat out guess from the code because the C++ works quite
differently I think...

> How do I use the AttributeValue interface? I need to specify a simple
> attribute (simple string). I can read it from an existing certificate
> converting the XML to a XSString but I can't figure out how
> to write it from using opensaml objects.

I think AttributeValue as currently defined in Java is a dummy interface.
You would perhaps need to create an XSString and override/specify the
element name you want (AttributeValue). That should probably be cleaned up
and handled by an AttributeValueBuilder.

> How do I change the xsi:type of the SubjectConfirmationData to
> KeyInfoConfirmationDataType? I need to specify it during the
> building of the object?

Also different, since I have a dedicated class and builder for
KeyInfoConfirmationDataType. In Java, I would guess you need to pass in the
schema type you need in a QName to the SubjectConfirmationData builder
method.

-- Scott



  • RE: AttributeValue and SubjectConfirmationData info, Scott Cantor, 08/01/2006

Archive powered by MHonArc 2.6.16.

Top of Page