Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Re: [AUTHZ_INTEROP] Meeting on Thu Apr 24, 10 am Chicago, 5 pm Rome

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Re: [AUTHZ_INTEROP] Meeting on Thu Apr 24, 10 am Chicago, 5 pm Rome


Chronological Thread 
  • From: "Håkon Sagehaug" <>
  • To:
  • Cc: "privilege project" <>
  • Subject: Re: [OpenSAML] Re: [AUTHZ_INTEROP] Meeting on Thu Apr 24, 10 am Chicago, 5 pm Rome
  • Date: Thu, 24 Apr 2008 09:32:01 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=F2bGHce+1kNLX3Zoq5ygEGP7KxUtuvy7kwhB8OZaA2w6RupS8Q2wjzanfKV7gzZJVxCEYAaB3Tbt6k2EmdBdTnyF4LHlx9IPI4dQ4y+aALOygXlJsAkXSCEtnr6vUjUEK8p8Wq2O9twLTFITrLYP+c+YU9xFOFYBIQ89Dj1MdpQ=

Hi

Brent showed how to build a SAML Response, so if you want to build a xacml ResonseType just change Response to ResponseType.

2008/4/24, Jay Packard <>:
Thanks!  I see how it works now.  I didn't realize you could use the builder for any xacml

One builds all  elements like this, not just xacml but also the saml elements, the xacml is just a add on to the library.

element since the examples only used it to build the higher level elements.

Jay


Brent Putman wrote:

Response response = Configuration.getBuilderFactory().getBuilder(Response.DEFAULT_ELEMENT_NAME).buildObject();


Jay Packard wrote:
Could you provide an example of how to build a ResponseType object?

Jay

Brent Putman wrote:
Note sure I understand 100% what you're asking, perhaps I'm reading too much into it.  But I think you just want to know how to build XMLObjects programatically, rather than unmarshalling them from a DOM.  That's easy, just use Builders, as described here:

https://spaces.internet2.edu/display/OpenSAML/OSTwoUsrManJavaCreateFromScratch




Jay Packard wrote:
I was told to reask the following to the opensaml list.

How can I create a ResponseType using the opensaml java library from the builder for a PDP.  Since it is for the PDP, the response originates from it and hence it doesn't make sense to read it from the wire.  Since it needs to return custom results, it doesn't make sense to build it from xacml within a file.

Thanks,
Jay



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