From 36a192b70fb49a5c87482ecd85650d9aeb40b3f5 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Thu, 29 May 2008 16:13:14 +0000 Subject: [PATCH] SEC-858: Replaced integer properties in schema with strings to allow use of placeholders. --- .../security/config/spring-security-2.0.2.rnc | 10 +++++----- .../security/config/spring-security-2.0.2.xsd | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/core/src/main/resources/org/springframework/security/config/spring-security-2.0.2.rnc b/core/src/main/resources/org/springframework/security/config/spring-security-2.0.2.rnc index b07d514986..f8dd37f699 100644 --- a/core/src/main/resources/org/springframework/security/config/spring-security-2.0.2.rnc +++ b/core/src/main/resources/org/springframework/security/config/spring-security-2.0.2.rnc @@ -16,7 +16,7 @@ path-type = attribute path-type {"ant" | "regex"} port = ## Specifies an IP port number. Used to configure an embedded LDAP server, for example. - attribute port { xsd:integer } + attribute port { xsd:string } url = ## Specifies a URL. attribute url { xsd:string } @@ -333,7 +333,7 @@ concurrent-session-control = ## Adds support for concurrent session control, allowing limits to be placed on the number of sessions a user can have. element concurrent-session-control {concurrent-sessions.attlist, empty} concurrent-sessions.attlist &= - attribute max-sessions {xsd:positiveInteger}? + attribute max-sessions {xsd:string}? concurrent-sessions.attlist &= ## The URL a user will be redirected to if they attempt to use a session which has been "expired" by the concurrent session controller. attribute expired-url {xsd:string}? @@ -362,7 +362,7 @@ remember-me.attlist &= remember-me.attlist &= ## The period (in seconds) for which the remember-me cookie should be valid. - attribute token-validity-seconds {xsd:positiveInteger}? + attribute token-validity-seconds {xsd:string}? token-repository-ref = ## Reference to a PersistentTokenRepository bean for use with the persistent token remember-me implementation. @@ -396,9 +396,9 @@ port-mappings.attlist &= empty port-mapping = element port-mapping {http-port, https-port} -http-port = attribute http {xsd:integer} +http-port = attribute http {xsd:string} -https-port = attribute https {xsd:integer} +https-port = attribute https {xsd:string} x509 = diff --git a/core/src/main/resources/org/springframework/security/config/spring-security-2.0.2.xsd b/core/src/main/resources/org/springframework/security/config/spring-security-2.0.2.xsd index 19e3a7fbfc..c80145e285 100644 --- a/core/src/main/resources/org/springframework/security/config/spring-security-2.0.2.xsd +++ b/core/src/main/resources/org/springframework/security/config/spring-security-2.0.2.xsd @@ -50,7 +50,7 @@ - + Specifies an IP port number. Used to configure an embedded LDAP server, for example. @@ -192,7 +192,7 @@ Specifies a URL. - + Specifies an IP port number. Used to configure an embedded LDAP server, for example. @@ -1012,7 +1012,7 @@ - + The URL a user will be redirected to if they attempt to use a session @@ -1064,7 +1064,7 @@ Id - + The period (in seconds) for which the remember-me cookie should be valid. @@ -1122,10 +1122,10 @@ - + - +