Class AuthCommand
- java.lang.Object
-
- com.icegreen.greenmail.smtp.commands.SmtpCommand
-
- com.icegreen.greenmail.smtp.commands.AuthCommand
-
public class AuthCommand extends SmtpCommand
AUTH command. Supported: PLAIN, LOGIN AUTH mechanism [initial-response] or AUTH LOGIN [initial-response] RFC4954 RFC2554 SASL mechanisms SASL LOGIN
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthCommand.AuthMechanism
-
Field Summary
Fields Modifier and Type Field Description static StringAUTH_ALREADY_AUTHENTICATEDstatic StringAUTH_CREDENTIALS_INVALIDstatic StringAUTH_SUCCEDEDstatic StringSMTP_SERVER_CONTINUATIONstatic StringSMTP_SYNTAX_ERRORstatic StringSUPPORTED_AUTH_MECHANISM-
Fields inherited from class com.icegreen.greenmail.smtp.commands.SmtpCommand
log
-
-
Constructor Summary
Constructors Constructor Description AuthCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(SmtpConnection conn, SmtpState state, SmtpManager manager, String commandLine)
-
-
-
Field Detail
-
AUTH_SUCCEDED
public static final String AUTH_SUCCEDED
- See Also:
- Constant Field Values
-
AUTH_CREDENTIALS_INVALID
public static final String AUTH_CREDENTIALS_INVALID
- See Also:
- Constant Field Values
-
AUTH_ALREADY_AUTHENTICATED
public static final String AUTH_ALREADY_AUTHENTICATED
- See Also:
- Constant Field Values
-
SMTP_SYNTAX_ERROR
public static final String SMTP_SYNTAX_ERROR
- See Also:
- Constant Field Values
-
SMTP_SERVER_CONTINUATION
public static final String SMTP_SERVER_CONTINUATION
- See Also:
- Constant Field Values
-
SUPPORTED_AUTH_MECHANISM
public static final String SUPPORTED_AUTH_MECHANISM
-
-
Method Detail
-
execute
public void execute(SmtpConnection conn, SmtpState state, SmtpManager manager, String commandLine) throws IOException
- Specified by:
executein classSmtpCommand- Throws:
IOException
-
-