Hi everyone,

I want to write a custom authentication module that behaves the following way:

  1. Execute one of the Zimbra's common authentication methods
  2. If failed, execute a custom authentication

I have taken a brief look at Zimbra's wiki (Zimbra Directory Service, section Custom Authentication - zimbraCustomAuth) which explains how to create custom authentication modules, but didn't find anything about chaining authentication modules.

My question is: is it possible to have Zimbra chain authentication modules automatically? If yes, how can I achieve that? Otherwise, is it possible to build a custom authentication module that behaves the way described above? How can I execute other authentication mechanisms from my code?

Thanks in advance,