public interface AuthHook extends Hook
Modifier and Type | Method and Description |
---|---|
HookResult |
doAuth(SMTPSession session,
String username,
String password)
Return the HookResult after run the hook
|
HookResult doAuth(SMTPSession session, String username, String password)
session
- the SMTPSessionusername
- the usernamepassword
- the passwordCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.