public class AuthenticateProcessor extends AbstractAuthProcessor<AuthenticateRequest> implements CapabilityImplementingProcessor
ImapProcessor.Responder
Constructor and Description |
---|
AuthenticateProcessor(ImapProcessor next,
org.apache.james.mailbox.MailboxManager mailboxManager,
StatusResponseFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected void |
doPlainAuth(String initialClientResponse,
ImapSession session,
String tag,
ImapCommand command,
ImapProcessor.Responder responder)
Parse the initialClientResponse and do a PLAIN AUTH with it
|
protected void |
doProcess(AuthenticateRequest request,
ImapSession session,
String tag,
ImapCommand command,
ImapProcessor.Responder responder) |
List<String> |
getImplementedCapabilities(ImapSession session)
Return a list of all Capabilities that are implemented by the Processor
|
doAuth
addFlagsResponses, buildFullPath, bye, bye, condstoreEnablingCommand, doProcess, flags, getMailboxManager, getSelectedMailbox, getStatusResponseFactory, idRanges, mailboxName, messageRange, no, no, normalizeMessageRange, okComplete, okComplete, permanentFlags, process, respondVanished, taggedBad, unsolicitedResponses, unsolicitedResponses
isAcceptable, process
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
public AuthenticateProcessor(ImapProcessor next, org.apache.james.mailbox.MailboxManager mailboxManager, StatusResponseFactory factory)
protected void doProcess(AuthenticateRequest request, ImapSession session, String tag, ImapCommand command, ImapProcessor.Responder responder)
doProcess
in class AbstractMailboxProcessor<AuthenticateRequest>
AbstractMailboxProcessor.doProcess(org.apache.james.imap.api.message.request.ImapRequest,
org.apache.james.imap.api.process.ImapSession, java.lang.String,
org.apache.james.imap.api.ImapCommand,
org.apache.james.imap.api.process.ImapProcessor.Responder)
protected void doPlainAuth(String initialClientResponse, ImapSession session, String tag, ImapCommand command, ImapProcessor.Responder responder)
initialClientResponse
- session
- tag
- command
- responder
- public List<String> getImplementedCapabilities(ImapSession session)
CapabilityImplementingProcessor
getImplementedCapabilities
in interface CapabilityImplementingProcessor
#getImplementedCapabilities(org.apache.james.imap.api.process.ImapSession)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.