Registry / auth / spring-security-ldap

spring-security-ldap

JSON →
library7.0.5javamavenunverified

Spring Security LDAP provides LDAP-based authentication and user management for Spring Security.

<dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-ldap</artifactId> <version>7.0.5</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-SECURITY-LD
S
spring-security-ldap
authjavav7.0.5
harness data pending
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.

Upgrade
Version history
7.0.5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
20
Resources
spring-security-ldap — mvn dependency:get spring-security-ldap · libregistry