mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-02-27 18:15:54 +00:00
Allow port=0 in XSD
Issue gh-8138
This commit is contained in:
parent
f438bdfbcf
commit
4d99ee2896
config/src/main/resources/org/springframework/security/config
@ -16,7 +16,7 @@ request-matcher =
|
||||
attribute request-matcher {"mvc" | "ant" | "regex" | "ciRegex"}
|
||||
port =
|
||||
## Specifies an IP port number. Used to configure an embedded LDAP server, for example.
|
||||
attribute port { xsd:positiveInteger }
|
||||
attribute port { xsd:nonNegativeInteger }
|
||||
url =
|
||||
## Specifies a URL.
|
||||
attribute url { xsd:token }
|
||||
|
@ -43,7 +43,7 @@
|
||||
</xs:attribute>
|
||||
</xs:attributeGroup>
|
||||
<xs:attributeGroup name="port">
|
||||
<xs:attribute name="port" use="required" type="xs:positiveInteger">
|
||||
<xs:attribute name="port" use="required" type="xs:nonNegativeInteger">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Specifies an IP port number. Used to configure an embedded LDAP server, for example.
|
||||
</xs:documentation>
|
||||
@ -190,7 +190,7 @@
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="port" type="xs:positiveInteger">
|
||||
<xs:attribute name="port" type="xs:nonNegativeInteger">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Specifies an IP port number. Used to configure an embedded LDAP server, for example.
|
||||
</xs:documentation>
|
||||
|
Loading…
x
Reference in New Issue
Block a user