Authentication IMAP Plugin description

Revision as of 14:00, 3 December 2009 by Dennis Sieben (talk | contribs) (Created page with '= Open-Xchange imap authentication module = == Introduction == The Open-Xchange Server offers the ability to replace the standard database login mechanism with a custom Java log...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Open-Xchange imap authentication module

Introduction

The Open-Xchange Server offers the ability to replace the standard database login mechanism with a custom Java login plugin. That means that this plugin is able to check the username and password entered on the login screen against any storage (in this case IMAP). In general the Open-Xchange Server hands over every information that the user has entered during the login procedure (Username@domain and Password) to this plugin, so that the plugin can use these information to verify if the user should get a valid session or if he should get a login error. To create a valid session, the plugin has to return a user id and a context id.

Imap Authentication Matrix

The IMAP authentication module offers some main properties which influence the result which the plugin returns to the groupware:

com.openexchange.mail.loginSource
USE_FULL_LOGIN_INFO
USE_MULTIPLE

The following will show how they influence the results. In this example we have a user who types max.muster@firma.de to the login form, his imaplogin at the database is "maxdb", his email address at the database is mm@1337.to

com.openexchange.mail.loginSource=login

Property/Property USE_FULL_LOGIN_INFO
true false
USE_MULTIPLE true maxdb maxdb
false max.muster@firma.de max.muster

com.openexchange.mail.loginSource=mail

Property/Property USE_FULL_LOGIN_INFO
true false
USE_MULTIPLE true mm@1337.to mm@1337.to
false max.muster@firma.de max.muster

com.openexchange.mail.loginSource=name

Property/Property USE_FULL_LOGIN_INFO
true false
USE_MULTIPLE true max.muster@firma.de max.muster
false max.muster@firma.de max.muster

Install on OX AppSuite

Debian GNU/Linux 10.0

Add the following entry to /etc/apt/sources.list.d/open-xchange.list if not already present:

deb https://software.open-xchange.com/products/stable/DebianBuster/ /
# if you have a valid maintenance subscription, please uncomment the 
# following and add the ldb account data to the url so that the most recent
# packages get installed
# deb https://[CUSTOMERID:PASSWORD]@software.open-xchange.com/products/stable/updates/DebianBuster/ /

and run

$ apt-get update
$ apt-get install open-xchange-authentication-imap

Debian GNU/Linux 11.0

Add the following entry to /etc/apt/sources.list.d/open-xchange.list if not already present:

deb https://software.open-xchange.com/products/stable/DebianBullseye/ /
# if you have a valid maintenance subscription, please uncomment the 
# following and add the ldb account data to the url so that the most recent
# packages get installed
# deb https://[CUSTOMERID:PASSWORD]@software.open-xchange.com/products/stable/updates/DebianBullseye/ /

and run

$ apt-get update
$ apt-get install open-xchange-authentication-imap