public final class LdapAuthenticationProviderConfigurer.ContextSourceBuilder extends Object
BaseLdapPathContextSource and optionally
creating an embedded LDAP instance.| Modifier and Type | Method and Description |
|---|---|
LdapAuthenticationProviderConfigurer<B> |
and()
Gets the
LdapAuthenticationProviderConfigurer for further
customizations |
LdapAuthenticationProviderConfigurer.ContextSourceBuilder |
ldif(String ldif)
Specifies an ldif to load at startup for an embedded LDAP server.
|
LdapAuthenticationProviderConfigurer.ContextSourceBuilder |
managerDn(String managerDn)
Username (DN) of the "manager" user identity (i.e.
|
LdapAuthenticationProviderConfigurer.ContextSourceBuilder |
managerPassword(String managerPassword)
The password for the manager DN.
|
LdapAuthenticationProviderConfigurer.ContextSourceBuilder |
port(int port)
The port to connect to LDAP to (the default is 33389 or random available port if unavailable).
|
LdapAuthenticationProviderConfigurer.ContextSourceBuilder |
root(String root)
Optional root suffix for the embedded LDAP server.
|
LdapAuthenticationProviderConfigurer.ContextSourceBuilder |
url(String url)
Specifies the ldap server URL when not using the embedded LDAP
server.
|
public LdapAuthenticationProviderConfigurer.ContextSourceBuilder ldif(String ldif)
ldif - the ldif to load at startup for an embedded LDAP server.LdapAuthenticationProviderConfigurer.ContextSourceBuilder for further customizationpublic LdapAuthenticationProviderConfigurer.ContextSourceBuilder managerDn(String managerDn)
managerDn - the username (DN) of the "manager" user identity used to
authenticate to a LDAP server.LdapAuthenticationProviderConfigurer.ContextSourceBuilder for further customizationpublic LdapAuthenticationProviderConfigurer.ContextSourceBuilder managerPassword(String managerPassword)
managerPassword - password for the manager DNLdapAuthenticationProviderConfigurer.ContextSourceBuilder for further customizationpublic LdapAuthenticationProviderConfigurer.ContextSourceBuilder port(int port)
port - the port to connect toLdapAuthenticationProviderConfigurer.ContextSourceBuilder for further customizationpublic LdapAuthenticationProviderConfigurer.ContextSourceBuilder root(String root)
root - root suffix for the embedded LDAP serverLdapAuthenticationProviderConfigurer.ContextSourceBuilder for further customizationpublic LdapAuthenticationProviderConfigurer.ContextSourceBuilder url(String url)
url - the ldap server URLLdapAuthenticationProviderConfigurer.ContextSourceBuilder for further customizationpublic LdapAuthenticationProviderConfigurer<B> and()
LdapAuthenticationProviderConfigurer for further
customizationsLdapAuthenticationProviderConfigurer for further
customizations