[jboss-jira] [JBoss JIRA] (WFLY-10348) Picketlink federation XML writer should not rely on the ordering in the ModelNode
Alexey Loubyansky (JIRA)
issues at jboss.org
Tue May 8 17:54:01 EDT 2018
Alexey Loubyansky created WFLY-10348:
----------------------------------------
Summary: Picketlink federation XML writer should not rely on the ordering in the ModelNode
Key: WFLY-10348
URL: https://issues.jboss.org/browse/WFLY-10348
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Alexey Loubyansky
Assignee: Darran Lofthouse
AFAICS, FederationSubsystemWriter is relying on the ordering of the children of the root ModelNode when persisting the subsystem configuration. If one was to create a configuration using management operations from scratch, the operations would have to be ordered according to the order of the corresponding elements defined in the XSD schema. Which is not very practical and increases the chance of getting errors that could be avoided by making the writer persist the elements in the valid order.
E.g. in the current implementation if a management operation configuring key-store appeared after the one(s) configuring service-providers the resulting subsystem XML would be invalid according to the XSD.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list