Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
LdapAuthenticationProvider
✓ org.springframework.security.ldap.authentication.LdapAuthenticationProvider
Creates an LdapAuthenticationProvider with a bind authenticator.
import org.springframework.security.ldap.authentication.LdapAuthenticationProvider;
import org.springframework.security.ldap.authentication.BindAuthenticator;
import org.springframework.security.ldap.DefaultSpringSecurityContextSource;
public class Example {
public static void main(String[] args) {
DefaultSpringSecurityContextSource contextSource = new DefaultSpringSecurityContextSource("ldap://localhost:389/dc=example,dc=com");
BindAuthenticator authenticator = new BindAuthenticator(contextSource);
LdapAuthenticationProvider provider = new LdapAuthenticationProvider(authenticator);
System.out.println("LDAP provider created");
}
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.