You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.fatal("You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema or spring-security-3.2.xsd schema or spring-security-4.0.xsd schema "
89
-
+ "with Spring Security 4.2. Please update your schema declarations to the 4.2 schema.",
89
+
+ "with Spring Security 5.2. Please update your schema declarations to the 5.2 schema.",
Copy file name to clipboardExpand all lines: config/src/main/resources/org/springframework/security/config/spring-security-5.2.rnc
+3
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,9 @@ ldap-server.attlist &=
83
83
ldap-server.attlist &=
84
84
## Optional root suffix for the embedded LDAP server. Default is "dc=springframework,dc=org"
85
85
attribute root { xsd:string }?
86
+
ldap-server.attlist &=
87
+
## Explicitly specifies which embedded ldap server should use. Values are 'apacheds' and 'unboundid'. By default, it will depends if the library is available in the classpath.
88
+
attribute mode { "apacheds" | "unboundid" }?
86
89
87
90
ldap-server-ref-attribute =
88
91
## The optional server to use. If omitted, and a default LDAP server is registered (using <ldap-server> with no Id), that server will be used.
NOTE: `spring-security` provides integration with `apacheds` and `unboundid` as a embedded ldap servers. You can choose between them using the attribute `mode` in `ldap-server`.
51
+
50
52
==== Using an Embedded Test Server
51
53
The `<ldap-server>` element can also be used to create an embedded server, which can be very useful for testing and demonstrations.
52
54
In this case you use it without the `url` attribute:
Copy file name to clipboardExpand all lines: docs/manual/src/docs/asciidoc/_includes/servlet/appendix/namespace.adoc
+3
Original file line number
Diff line number
Diff line change
@@ -2360,6 +2360,9 @@ This is actually the bean `id` of the `ContextSource` instance, if you want to u
2360
2360
[[nsa-ldap-server-attributes]]
2361
2361
===== <ldap-server> Attributes
2362
2362
2363
+
[[nsa-ldap-server-mode]]
2364
+
* **mode**
2365
+
Explicitly specifies which embedded ldap server should use. Values are `apacheds` and `unboundid`. By default, it will depends if the library is available in the classpath.
0 commit comments