Last active
August 29, 2015 14:01
-
-
Save hasalex/7a0cc7c573580f413b2f to your computer and use it in GitHub Desktop.
LDAP Realm for Tomcat 7 (works towod OpenDJ)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dn: dc=sewatech,dc=fr | |
objectClass: domain | |
objectClass: top | |
dc: sewatech | |
dn: ou=people,dc=sewatech,dc=fr | |
objectClass: organizationalUnit | |
objectClass: top | |
ou: people | |
dn: uid=hasalex,ou=people,dc=sewatech,dc=fr | |
objectClass: person | |
objectClass: organizationalPerson | |
objectClass: inetOrgPerson | |
objectClass: top | |
userPassword: {SSHA}lqK8JHJ0xuLAoipOCBzpGhmQ9RnhPO7JvLz+mQ== | |
givenName: Alexis | |
uid: hasalex | |
cn: Alexis Hassler | |
sn: Hassler | |
dn: ou=groups,dc=sewatech,dc=fr | |
objectClass: organizationalUnit | |
objectClass: top | |
ou: groups | |
dn: cn=manager-gui,ou=groups,dc=sewatech,dc=fr | |
objectClass: groupOfUniqueNames | |
objectClass: top | |
cn: manager-gui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Realm className="org.apache.catalina.realm.JNDIRealm" | |
connectionURL="ldap://localhost:1389" | |
connectionName="cn=Sewatech" | |
connectionPassword="aa" | |
userBase="ou=people,dc=sewatech,dc=fr" | |
userSubtree="false" | |
userSearch="uid={0}" | |
roleBase="ou=groups,dc=sewatech,dc=fr" | |
roleName="cn" | |
roleSearch="uniqueMember={0}" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment