Clarify url Parameter Usage in AD Provider
Closes gh-7760
This commit is contained in:
parent
c6bc1ec969
commit
ea2ec04633
|
@ -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…
Reference in New Issue