|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.config.annotation.authentication.configurers.ldap.LdapAuthenticationProviderConfigurer.ContextSourceBuilder
public final class LdapAuthenticationProviderConfigurer.ContextSourceBuilder
Allows building a BaseLdapPathContextSource
and optionally
creating an embedded LDAP instance.
Method Summary | |
---|---|
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). |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 DN
LdapAuthenticationProviderConfigurer.ContextSourceBuilder
for further customizationpublic LdapAuthenticationProviderConfigurer.ContextSourceBuilder port(int port)
port
- the port to connect to
LdapAuthenticationProviderConfigurer.ContextSourceBuilder
for further customizationpublic LdapAuthenticationProviderConfigurer.ContextSourceBuilder root(String root)
root
- root suffix for the embedded LDAP server
LdapAuthenticationProviderConfigurer.ContextSourceBuilder
for further customizationpublic LdapAuthenticationProviderConfigurer.ContextSourceBuilder url(String url)
url
- the ldap server URL
LdapAuthenticationProviderConfigurer.ContextSourceBuilder
for further customizationpublic LdapAuthenticationProviderConfigurer<B> and()
LdapAuthenticationProviderConfigurer
for further
customizations
LdapAuthenticationProviderConfigurer
for further
customizations
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |