[jboss-jira] [JBoss JIRA] (WFLY-7183) 'name' attribute missing in XSD while required by web subsystem parser

Peter Palaga (JIRA) issues at jboss.org
Wed Sep 21 10:02:01 EDT 2016


Peter Palaga created WFLY-7183:
----------------------------------

             Summary: '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):




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list