Skip to Content.
Sympa Menu

mace-opensaml-users - Re: opensaml toolkit and JAXB generated bindings for SAML 1.1 XML Schemas

Subject: OpenSAML user discussion

List archive

Re: opensaml toolkit and JAXB generated bindings for SAML 1.1 XML Schemas


Chronological Thread 
  • From: Farrukh Najmi <>
  • To:
  • Subject: Re: opensaml toolkit and JAXB generated bindings for SAML 1.1 XML Schemas
  • Date: Wed, 13 Oct 2004 18:52:14 -0400

Farrukh Najmi wrote:

Hi Scott,

I spent 30 minutes with JAXB and generated the SAML 1.1 bindings classes. I have not analyzed the generated code much yet. Note that bindings can easily be custmized for a wide array of use cases if desired. This is just the first attempt with default settings and no customization.

The bindings may be found at:

# The compiled java classes/interfaces generated by JAXB
http://ebxmlrr.sourceforge.net/tmp/oasis-saml1.1.jar

# The javadoc for the classes/interfaces generated by JAXB. Un-jar and browse index.html file
http://ebxmlrr.sourceforge.net/tmp/oasis-saml1.1-doc.jar

As an afterthought, I unjarred above so you can view it at:

http://ebxmlrr.sourceforge.net/tmp/saml1.1



# The source java classes/interfaces generated by JAXB
http://ebxmlrr.sourceforge.net/tmp/oasis-saml1.1-src.jar

Note that you can safely ignore the xx.impl packages and XxImpl classes unless you care to see how JAXB generated code looks like.
When you have a choice between class Xyz and class XyzType the XyzType javadoc is more useful.

Notice that the package hierarchy follows the namespace hierarchy defined by the spec.
Also note that implementation is separated from interfaces and that clients typically use interfaces only.

I would be interested in any analysis of the generated bindings.

I would also be curious if a JAXB bindings based approached could be cosnidered by opensaml project for SAML 2.0 ( I can provide similar bindings for 2.0 in no time).

Thanks for sharing your thoughts.



--
Regards,
Farrukh





Archive powered by MHonArc 2.6.16.

Top of Page