Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create a public, no argument, constructor that invokes super().
  • Override processChildElement(SAMLObject, SAMLObject) if your SAMLObject contains child SAMLObjects. Be sure to call super.processChildElement(!SAMLObject, ! SAMLObject) if your unmarshaller does not handle a given child object.
  • Override processAttribute(!SAMLObject, Attr) if you need to unmarshall information from XML attributes into your SAMLObject. Be sure to call super.processAttribute(!SAMLObject, Attr) if your unmarshaller does not handle a given attribute.
  • Override processElementContent(!SAMLObject, String) if you need to unmarshall information from the XML element's content into your SAMLObject
  • Ensure your unmarshaller is stateless

...

If your class requires additional configuration information this can be provided in the OpenSAML configuration file; refer to the Extending the ! ObjectProvider section for more information.