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


 
You may request notification for Authenticate members in LAMS using an IMAP server.
Search: 

1: Authenticate members in LAMS using an IMAP server
03/06/13 08:25 AM
[ Reply | Forward ]
Hello,

I want to use an external IMAP server to authenticate users within my LAMS installation.
I don't want to have to register my students in LAMS when they are already registered in the IMAP server so I was wondering if there is a way I can do that.
I know LAMS offers LDAP and SMTP server connections, but i havent seen anything about IMAP so far.

Thank you all in advance!

Posted by Maria Zotou

2: Re: Authenticate members in LAMS using an IMAP server
In response to 1 03/07/13 06:45 AM
[ Reply | Forward ]
Hi Maria,

Sorry, I don't think we have IMAP authentication support.

Ernie

Posted by Ernie Ghiglione

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