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

All Superinterfaces:
Hook, ProtocolHandler

public interface AuthHook
extends Hook

Implement this interfaces to hook in the AUTH Command


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

Method Detail

doAuth

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

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


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