[jbosstools-issues] [JBoss JIRA] Created: (JBDS-1582) web.xml error on login authentication scheme

Neil Buesing (JIRA) jira-events at lists.jboss.org
Wed Feb 23 11:06:14 EST 2011


web.xml error on login authentication scheme
--------------------------------------------

                 Key: JBDS-1582
                 URL: https://issues.jboss.org/browse/JBDS-1582
             Project: Developer Studio (JBoss Developer Studio)
          Issue Type: Bug
    Affects Versions: 4.0.0.CR4
         Environment: Windows 32bit
            Reporter: Neil Buesing


In problems view we get the following error: 'Value  should be one of BASIC, DIGEST, FORM, CLIENT-CERT', because we have a custom login module.

According to XSD 9http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd) it states the value of <auth-method> within element <login-config> must be : BASIC, DIGEST, FORM, CLIENT-CERT or a vendor specific authentication scheme.

We are using a vendor specfiic authentication scheme, and still get this red-x error in the problems view, for the project, and in the editor.

I have turned off all validations of the IDE (as I can tell), and I still get this error.

How do I disable this error, since our web.xml appears to be valid with the XSD.  

If there is a known workaround, please let me know.

<xsd:complexType name="auth-methodType">
    <xsd:annotation>
      <xsd:documentation>

	The auth-methodType is used to configure the authentication
	mechanism for the web application. As a prerequisite to
	gaining access to any web resources which are protected by
	an authorization constraint, a user must have authenticated
	using the configured mechanism. Legal values are "BASIC",
	"DIGEST", "FORM", "CLIENT-CERT", or a vendor-specific
	authentication scheme.

	Used in: login-config

      </xsd:documentation>
    </xsd:annotation>

    <xsd:simpleContent>
      <xsd:restriction base="javaee:string"/>
    </xsd:simpleContent>
  </xsd:complexType>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list