mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-24 04:52:16 +00:00
Merge branch '5.8.x' into 6.2.x
Closes gh-15494
This commit is contained in:
commit
9a83986b91
@ -136,9 +136,11 @@ public final class ActiveDirectoryLdapAuthenticationProvider extends AbstractLda
|
|||||||
ContextFactory contextFactory = new ContextFactory();
|
ContextFactory contextFactory = new ContextFactory();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param domain the domain name (may be null or empty)
|
* @param domain the domain name (can be null or empty)
|
||||||
* @param url an LDAP url (or multiple URLs)
|
* @param url an LDAP url (or multiple space-delimited URLs).
|
||||||
* @param rootDn the root DN (may be null or empty)
|
* @param rootDn the root DN (can be null or empty)
|
||||||
|
* @see <a href="https://docs.oracle.com/javase/jndi/tutorial/ldap/misc/url.html">JNDI
|
||||||
|
* URL format documentation</a>
|
||||||
*/
|
*/
|
||||||
public ActiveDirectoryLdapAuthenticationProvider(String domain, String url, String rootDn) {
|
public ActiveDirectoryLdapAuthenticationProvider(String domain, String url, String rootDn) {
|
||||||
Assert.isTrue(StringUtils.hasText(url), "Url cannot be empty");
|
Assert.isTrue(StringUtils.hasText(url), "Url cannot be empty");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user