SEC-2175: Correct XSD docs on auto-config.

This commit is contained in:
Luke Taylor 2013-06-09 14:41:48 +01:00
parent 7bc87cf13b
commit fba4fec84b
2 changed files with 4 additions and 5 deletions

View File

@ -292,7 +292,7 @@ http.attlist &=
## Allows a RequestMatcher instance to be used, as an alternative to pattern-matching.
attribute request-matcher-ref { xsd:token }?
http.attlist &=
## Automatically registers a login form, BASIC authentication, anonymous authentication, logout services, remember-me and servlet-api-integration. If set to "true", all of these capabilities are added (although you can still customize the configuration of each by providing the respective element). If unspecified, defaults to "false".
## A legacy attribute which automatically registers a login form, BASIC authentication and a logout URL and logout services. If unspecified, defaults to "false". We'd recommend you avoid using this and instead explicitly configure the services you require.
attribute auto-config {xsd:boolean}?
http.attlist &=
use-expressions?

View File

@ -1057,10 +1057,9 @@
</xs:attribute>
<xs:attribute name="auto-config" type="xs:boolean">
<xs:annotation>
<xs:documentation>Automatically registers a login form, BASIC authentication, anonymous authentication,
logout services, remember-me and servlet-api-integration. If set to "true", all of these
capabilities are added (although you can still customize the configuration of each by
providing the respective element). If unspecified, defaults to "false".
<xs:documentation>A legacy attribute which automatically registers a login form, BASIC authentication and a
logout URL and logout services. If unspecified, defaults to "false". We'd recommend you
avoid using this and instead explicitly configure the services you require.
</xs:documentation>
</xs:annotation>
</xs:attribute>