public final class LdapAuthenticationProviderConfigurer.ContextSourceBuilder
extends java.lang.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(java.lang.String ldif)
Specifies an ldif to load at startup for an embedded LDAP server.
|
LdapAuthenticationProviderConfigurer.ContextSourceBuilder |
managerDn(java.lang.String managerDn)
Username (DN) of the "manager" user identity (i.e.
|
LdapAuthenticationProviderConfigurer.ContextSourceBuilder |
managerPassword(java.lang.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(java.lang.String root)
Optional root suffix for the embedded LDAP server.
|
LdapAuthenticationProviderConfigurer.ContextSourceBuilder |
url(java.lang.String url)
Specifies the ldap server URL when not using the embedded LDAP server.
|
public LdapAuthenticationProviderConfigurer.ContextSourceBuilder ldif(java.lang.String ldif)
ldif
- the ldif to load at startup for an embedded LDAP server.LdapAuthenticationProviderConfigurer.ContextSourceBuilder
for further customizationpublic LdapAuthenticationProviderConfigurer.ContextSourceBuilder managerDn(java.lang.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(java.lang.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(java.lang.String root)
root
- root suffix for the embedded LDAP serverLdapAuthenticationProviderConfigurer.ContextSourceBuilder
for further customizationpublic LdapAuthenticationProviderConfigurer.ContextSourceBuilder url(java.lang.String url)
url
- the ldap server URLLdapAuthenticationProviderConfigurer.ContextSourceBuilder
for further customizationpublic LdapAuthenticationProviderConfigurer<B> and()
LdapAuthenticationProviderConfigurer
for further
customizationsLdapAuthenticationProviderConfigurer
for further
customizations