Ezequiel Sosa Patino schrieb:
> Hello all.
> 
>     My question.
> 
>     How can I configure this aplication to use LDAP authentication?
>     I've been looking for it in the documentation but I can“t find
> anything.     I have installed LDAP on Ubuntu and it works fine.     
> 
> Thanks for your help.
> 

Hi, to use an alternate authentication method than the default mysql one
you have to name your authentification class in the conf/defaults file:

AUTH_CLASS=de.suse.swamp.core.security.SWAMPDBUserManager

The distribution includes a SWAMPLDAPUserManager class which is
is just a skeleton, but shows that you need to implement the 2 methods

public void authenticateUser(String loginName, String password)
public SWAMPUser loadUser(String userName)

The code we use internally for LDAP authentication is actually not
included because the LDAP access is very specific to our setup. I
will try to add some more generic code for LDAP in one of the next releases.

Greetings

-- 
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
"Computers are useless. They can only give you answers.", Pablo Picasso


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net

Reply via email to