Skip to content

ggdio/jldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JLDAP

JLDAP :: Embeddable Java LDAP Server

Java embeddable LDAP server based on ApacheDS.

Data are in-memory based, so the server dont persist it.

Download

Install git

git clone git://github.com/ggdio/jldap.git

..or you can download sources as a zip

Building

Install Maven

mvn clean package install

Running

java -jar jldap.jar [my-directory-structure.ldif]

Vanilla(default) LDIF

version: 1

dn: dc=ggdio,dc=com,dc=br
dc: ggdio
objectClass: top
objectClass: domain

dn: ou=Users,dc=ggdio,dc=com,dc=br
objectClass: organizationalUnit
objectClass: top
ou: Users

dn: uid=dio,ou=Users,dc=ggdio,dc=com,dc=br
objectClass: top
objectClass: person
objectClass: inetOrgPerson
cn: Guilherme Dio
sn: dio
uid: dio
userPassword: dioxpto

dn: uid=foo,ou=Users,dc=ggdio,dc=com,dc=br
objectClass: top
objectClass: person
objectClass: inetOrgPerson
cn: Foo Bar
sn: bar
uid: foo
userPassword: foobar

dn: ou=Roles,dc=ggdio,dc=com,dc=br
objectclass: top
objectclass: organizationalUnit
ou: Roles

dn: cn=Admin,ou=Roles,dc=ggdio,dc=com,dc=br
objectClass: top
objectClass: groupOfNames
cn: Admin
member: uid=dio,ou=Users,dc=ggdio,dc=com,dc=br

License

Releases

No releases published

Packages

No packages published

Languages