Browse Source

SEC-708: Improve generation of XSD file from Relax NG schema

http://jira.springframework.org/browse/SEC-708. Committed XSL transformed XSD file and some minor changes to organisation of RNC file.
2.0.x
Luke Taylor 18 years ago
parent
commit
df0d52ada7
  1. 7
      core/src/main/resources/org/springframework/security/config/spring-security-2.0.rnc
  2. 2930
      core/src/main/resources/org/springframework/security/config/spring-security-2.0.xsd

7
core/src/main/resources/org/springframework/security/config/spring-security-2.0.rnc

@ -36,7 +36,9 @@ user-service-ref = @@ -36,7 +36,9 @@ user-service-ref =
password-encoder =
## element which defines a password encoding strategy. Used by an authentication provider to convert submitted passwords to hashed versions, for example.
element password-encoder {ref | (hash? & base64? & salt-source*)}
element password-encoder {password-encoder.attlist, salt-source?}
password-encoder.attlist &=
ref | (hash? & base64?)
salt-source =
element salt-source {user-property | system-wide}
@ -328,7 +330,7 @@ authman.attlist &= @@ -328,7 +330,7 @@ authman.attlist &=
authentication-provider =
## Indicates that the contained user-service should be used as an authentication source.
element authentication-provider {ap.attlist & (user-service | jdbc-user-service | ldap-user-service) & password-encoder}
element authentication-provider {ap.attlist & any-user-service & password-encoder?}
ap.attlist &=
## Specifies a reference to a separately configured UserDetailsService from which to obtain authentication data.
user-service-ref?
@ -367,6 +369,7 @@ jdbc-user-service.attlist &= @@ -367,6 +369,7 @@ jdbc-user-service.attlist &=
## The bean ID of the DataSource which provides the required tables.
attribute data-source-ref {xsd:string}
any-user-service = user-service | jdbc-user-service | ldap-user-service
custom-filter =
## Used to indicate that a filter bean declaration should be incorporated into the security filter chain. If neither the 'after' or 'before' options are supplied, then the filter must implement the Ordered interface directly.

2930
core/src/main/resources/org/springframework/security/config/spring-security-2.0.xsd

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save