Class AuthCommand
java.lang.Object
com.icegreen.greenmail.smtp.commands.SmtpCommand
com.icegreen.greenmail.smtp.commands.AuthCommand
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 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.icegreen.greenmail.smtp.commands.SmtpCommand
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(SmtpConnection conn, SmtpState state, SmtpManager manager, String commandLine)
-
Field Details
-
AUTH_SUCCEDED
- See Also:
-
AUTH_CREDENTIALS_INVALID
- See Also:
-
AUTH_ALREADY_AUTHENTICATED
- See Also:
-
SMTP_SYNTAX_ERROR
- See Also:
-
SMTP_SERVER_CONTINUATION
- See Also:
-
SUPPORTED_AUTH_MECHANISM
-
-
Constructor Details
-
AuthCommand
public AuthCommand()
-
-
Method Details
-
execute
public void execute(SmtpConnection conn, SmtpState state, SmtpManager manager, String commandLine) throws IOException - Specified by:
executein classSmtpCommand- Throws:
IOException
-