Forum LAMS for Tech-Heads - General Forum: Re: Re: Authenticate members in LAMS using an IMAP server


 
Search: 

3: Re: Re: Authenticate members in LAMS using an IMAP server
In response to 2 03/07/13 08:14 AM
[ Reply | Forward ]
Hi Enrie,

thank you for responding.

Do you know if there is a way I can achieve IMAP authentication support by adding code in the corresponding files of LAMS? I know what code to add but I dont know which files in LAMS I should configure.

Again thank you.

Maria

Posted by Maria Zotou

4: Re: Authenticate members in LAMS using an IMAP server
In response to 3 03/15/13 06:21 AM
[ Reply | Forward ]
Hi Maria,

if you want to add your own authentication mechanism, you need to write a class similar to
org.lamsfoundation.lams.security.LDAPAuthenticator
found in lams_central.
Once you have this, you need to alter
org.lamsfoundation.lams.security.UniversalLoginModule
to use this authenticator. Either make it configurable or just hardcode it.
I am not sure if there are any caveats, but at first glance this should do the trick.

Posted by Marcin Cieslak

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum