]
Philippe Marschall commented on ELY-1637:
-----------------------------------------
Old configurations stay valid because the parser calls `.toUpperCase()` on the value:
New configurations with the new schema version with the enumeration will fail XML
validation but should still get parsed. The serialization will produce valid XML in either
case.
Change ReferralMode.toString to return value
--------------------------------------------
Key: ELY-1637
URL:
https://issues.jboss.org/browse/ELY-1637
Project: WildFly Elytron
Issue Type: Enhancement
Reporter: Philippe Marschall
Assignee: Darran Lofthouse
The documentation of the referral-mode attribute in WildFly says the allowed values
should be "ignore", "follow", "throw". However they are
currently serialized as "IGNORE", "FOLLOW", "THROW". This is
a WildFly issue and not an Elytron issue.
However as part of the discussion on how to best fix WFCORE-3971 the easiest solution
seems to be to change {{ReferralMode#toString()}}, that way the parser does not have to
change.
Once WildFly upgrades to a version of Elytron with this change a couple of tests will
fail as the serialized model will intentionally change.