-
Aug 28th, 2010, 06:41 PM
#1
Ldap configuration mapping
Hello,
I have the following configuration from an apache server. I do not know how to map this information to an applicationContext-Security.xml
<Location /xxx/>
Order allow,deny
Allow from all
AuthType Basic
AuthBasicProvider ldap
AuthName "Use your xxxx LDAP credentials"
AuthzLDAPAuthoritative On
AuthLdapUrl ldap://ldap02.thedomain.com:389/o=thecompany,c=de?uid?sub?(objectClass=*)
Require ldap-group cn=thecompanyGroup,o=thecompany,c=com </Location>
<Location /xxx/yyy>
DAV svn
SVNParentPath /xxx/yyy/zzzzzzzz/data/apache-ttttt-svn/repos/asdf/
# read/write access
<Limit OPTIONS PROPFIND GET REPORT>
Require ldap-group cn=thecompanyGroup,o=thecompany,c=com
</Limit>
# read-only access
<Limit MKACTIVITY PROPPATCH PUT MKCOL MOVE COPY DELETE LOCK UNLOCK MERGE>
Require valid-user
</Limit>
</Location>
I just need to authenticate users against the LDAP server, but I quite confused, since I do not know much about them and moreover I do not have a full working example of applicationContext-security.xml from spring security 3. I have read the manual and I am still confused.
I am quite new to LDAP so the following question might sound stupid: Do I need to create/implement a class in my project in order to authenticate users? Or is it just a question of configuration the applicationContext-Security.xml and adding spring security jars.
And, what is that objectClass=* thing? Please don´t laugh…
David
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules