Add HookReturnCode.DISCONNECT to allow to trigger disconnect from Hook
----------------------------------------------------------------------

                 Key: PROTOCOLS-14
                 URL: https://issues.apache.org/jira/browse/PROTOCOLS-14
             Project: JAMES Protocols
          Issue Type: New Feature
            Reporter: Norman Maurer
            Assignee: Norman Maurer


We should add the HookReturnCode.DISCONNECT to allow to trigger a disconnect 
from a Hook. Even better we should allow todo something like that:

return new HookResult(HookReturnCode.DENY | HookReturnCode.DISCONNECT) 

This will first write a permant error to the client and then disconnect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to