Yutaka-Notes about Extensible Classes In ZimbraStore: Difference between revisions

No edit summary
No edit summary
Line 20: Line 20:
com.zimbra.cs.security.sasl.PlainAuthenticator
com.zimbra.cs.security.sasl.PlainAuthenticator


[Note] You have to register this to =com.zimbra.cs.security.sasl.Authenticator
[Note] You have to register this to com.zimbra.cs.security.sasl.Authenticator
 
==com.zimbra.cs.account.AttributeCallback==
By this, you can implement custom function which is called right before/after a certain LDAP field is modified.
 
Sample is here;
com.zimbra.cs.account.callback.AccountStatus
 
[Note] You have to register this to zimbra-attrs.xml and rebuild ZimbraServer project as far as I remember.

Revision as of 02:02, 12 August 2011

com.zimbra.cs.lmtpserver.LmtpCallback

By this, you can register your custom function to be called when a messege is receive with lmtp.

Sample is here;com.zimbra.cs.mailbox.QuotaWarning

[Note]You have to register this to com.zimbra.cs.lmtpserver.ZimbraLmtpBackend

com.zimbra.cs.service.AuthProvider

By this, you can implement to genearate custom auth token and to validate that.

Sample is here; com.zimbra.cs.service.ZimbraAuthProvider

[Note] You have to register this to com.zimbra.cs.service.AuthProvider

com.zimbra.cs.security.sasl.Authenticator

By this, you can add SASL mechanism for IMAP/POP. But to use the custome SASL mechanism, you also needs to customize Zimbra Proxy(Nginx/nginxlookup), which requires you to modify core code.

Sample is here; com.zimbra.cs.security.sasl.PlainAuthenticator

[Note] You have to register this to com.zimbra.cs.security.sasl.Authenticator

com.zimbra.cs.account.AttributeCallback

By this, you can implement custom function which is called right before/after a certain LDAP field is modified.

Sample is here; com.zimbra.cs.account.callback.AccountStatus

[Note] You have to register this to zimbra-attrs.xml and rebuild ZimbraServer project as far as I remember.

Jump to: navigation, search