org.apache.james.protocols.smtp.hook
Interface AuthHook


public interface AuthHook

Implement this interfaces to hook in the AUTH Command


Method Summary
 HookResult doAuth(SMTPSession session, java.lang.String username, java.lang.String password)
          Return the HookResult after run the hook
 

Method Detail

doAuth

HookResult doAuth(SMTPSession session,
                  java.lang.String username,
                  java.lang.String password)
Return the HookResult after run the hook

Parameters:
session - the SMTPSession
username - the username
password - the password
Returns:
HockResult


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.