Package org.subethamail.smtp.server
Class RequireAuthCommandWrapper
java.lang.Object
org.subethamail.smtp.server.RequireAuthCommandWrapper
- All Implemented Interfaces:
Command
Thin wrapper around any command to make sure authentication
has been performed.
- Author:
- Evgeny Naumenko
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RequireAuthCommandWrapper
- Parameters:
wrapped- the wrapped command (not null)
-
-
Method Details
-
execute
- Specified by:
executein interfaceCommand- Throws:
IOExceptionDropConnectionException
-
getHelp
- Specified by:
getHelpin interfaceCommand- Throws:
CommandException
-
getName
Returns the name of the command in upper case. For example "QUIT".
-