-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR11
-
None
-
-
-
-
-
-
Not Required
VDX - pretty print reports incomplete path for 'allowed on elements'
In wildfly-elytron subsystem definition add following snippet
<properties-realm name="JBossWS" plain-text="true"> <users-properties path="/home/development/jbossqe/devel/jbossws-cxf/modules/testsuite/cxf-tests/target/test-classes/jbossws-users.properties"/> <groups-properties path="/home/development/jbossqe/devel/jbossws-cxf/modules/testsuite/cxf-tests/target/test-classes/jbossws-roles.properties"/> </properties-realm>
Run the server using bin/standalone.sh.
Problematic attribute is `plain-text="true"` which moved with latest changes to users-properties element.
https://github.com/wildfly-security/elytron-subsystem/blob/master/src/main/resources/schema/wildfly-elytron_1_0.xsd#L1078
VDX reports this:
OPVDX001: Validation error in standalone.xml ----------------------------------- | | 344: <groups-properties path="mgmt-groups.properties" relative-to="jboss.server.config.dir"/> | 345: </properties-realm> | 346: <properties-realm name="JBossWS" plain-text="true"> | ^^^^ 'plain-text' isn't an allowed attribute for the 'properties-realm' | element | | Attributes allowed here are: groups-attribute, groups-properties, | name, users-properties | | 347: <users-properties path="/home/development/jbossqe/devel/jbossws-cxf/modules/testsuite/cxf-tests/target/test-classes/jbossws-users.properties"/> | 348: <groups-properties path="/home/development/jbossqe/devel/jbossws-cxf/modules/testsuite/cxf-tests/target/test-classes/jbossws-roles.properties"/> | 349: </properties-realm> | | 'plain-text' is allowed on elements: | - server > profile > {urn:wildfly:elytron:1.0}subsystem > security-realms > properties-realm | - server > management > security-realms > security-realm > authentication > properties | | | The primary underlying error message was: | > ParseError at [row,col]:[346,17] | > Message: WFLYCTL0376: Unexpected attribute 'plain-text' encountered. | > Valid attributes are: 'groups-attribute, users-properties, | > groups-properties, name' | |-------------------------------------------------------------------------------
VDX reports that 'plain-text' is allowed for
server > profile > {urn:wildfly:elytron:1.0}subsystem > security-realms > properties-realm
It should report:
server > profile > {urn:wildfly:elytron:1.0}subsystem > security-realms > properties-realm > users-properties
- is incorporated by
-
JBEAP-8294 (7.1.0) Upgrade to WildFly Core to 3.0.0.Beta2
- Closed