]
RH Bugzilla Integration commented on WFLY-7183:
-----------------------------------------------
Peter Palaga <ppalaga(a)redhat.com> changed the Status of [bug
'name' attribute missing in XSD while required by web
subsystem parser
----------------------------------------------------------------------
Key: WFLY-7183
URL:
https://issues.jboss.org/browse/WFLY-7183
Project: WildFly
Issue Type: Bug
Reporter: Peter Palaga
Assignee: Peter Palaga
Cloned from
https://bugzilla.redhat.com/show_bug.cgi?id=1365939 , originaly reported by
[~paramjindal]
While configuring the global valve using the following article :
https://access.redhat.com/solutions/379813
It is mandatory that the "name" attribute of valve must match the
"auth-method" that is specified in the "WEB-INF/web.xml".
So "name" attribute is mandatory to configure this valve.
but it is not mentioned in the schema of valve as shown below :
<xs:element name="valve">
<xs:complexType>
<xs:sequence>
<xs:element name="param" minOccurs="0"
maxOccurs="unbounded" type="paramType" />
</xs:sequence>
<xs:attribute name="class-name" type="xs:string"
use="required" />
<xs:attribute name="module" type="xs:string"
use="required" />
<xs:attribute name="enabled" default="true"
type="xs:boolean" />
</xs:complexType>
</xs:element>
Version-Release number of selected component (if applicable):