[JIRA] Created: (JOST-193) Make the implementation of custom bootstrap code easier, without relying on private data from DefaultBootstrap

Brent Putman (JIRA) noreply at shibboleth.net
Wed Aug 15 17:18:06 EDT 2012


Make the implementation of custom bootstrap code easier, without relying on private data from DefaultBootstrap
--------------------------------------------------------------------------------------------------------------

                 Key: JOST-193
                 URL: https://issues.shibboleth.net/jira/browse/JOST-193
             Project: OpenSAML 2 - Java
          Issue Type: Improvement
    Affects Versions: 2.5.3
            Reporter: Brent Putman
            Assignee: Brent Putman
            Priority: Minor


DefaultBootstrap's method for initing the XMLObject providers is:

initializeXMLTooling(String[] providerConfigs) 

If a custom bootstrap wants to subclass DefaultBootstrap, they have to copy the private 'String[] xmlToolingConfigs' data into their class (or some custom set of providers) in order to call this.

Instead add and prefer a new no-arg initializeXMLTooling() method which just calls the above with the internal array.  Subclasses can then just directly use this if they want the default set.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the commits mailing list