public abstract class AbstractApopCmdHandler extends AbstractPassCmdHandler
AUTH_FAILED| Constructor and Description |
|---|
AbstractApopCmdHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Mailbox |
auth(POP3Session session,
String username,
String password)
Authenticate a
POP3Session and returns the Mailbox for it. |
protected abstract Mailbox |
auth(POP3Session session,
String apopTimestamp,
String user,
String digest)
Authenticate a
POP3Session and returns the Mailbox for it. |
Collection<String> |
getImplCommands()
Return a Collection of implemented commands
|
Response |
onCommand(POP3Session session,
Request request)
Handler method called upon receipt of a PASS command.
|
doAuthstatpublic Response onCommand(POP3Session session, Request request)
AbstractPassCmdHandleronCommand in interface CommandHandler<POP3Session>onCommand in class AbstractPassCmdHandlerpublic Collection<String> getImplCommands()
CommandHandlergetImplCommands in interface CommandHandler<POP3Session>getImplCommands in class AbstractPassCmdHandlerCommandHandler.getImplCommands()protected final Mailbox auth(POP3Session session, String username, String password) throws Exception
AbstractPassCmdHandlerPOP3Session and returns the Mailbox for it. If it can not get authenticated it will return null.auth in class AbstractPassCmdHandlerExceptionprotected abstract Mailbox auth(POP3Session session, String apopTimestamp, String user, String digest) throws Exception
POP3Session and returns the Mailbox for it. If it can not get authenticated it will return null.session - apopTimestamp - user - digest - ExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.