Package org.subethamail.smtp.server
Class RequireTLSCommandWrapper
java.lang.Object
org.subethamail.smtp.server.RequireTLSCommandWrapper
- All Implemented Interfaces:
Command
Verifies the presence of a TLS connection if TLS is required.
The wrapped command is executed when the test succeeds.
- Author:
- Erik van Oosten
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RequireTLSCommandWrapper
- Parameters:
wrapped- the wrapped command (not null)
-
-
Method Details
-
execute
- Specified by:
executein interfaceCommand- Throws:
IOExceptionDropConnectionException
-
getHelp
- Specified by:
getHelpin interfaceCommand- Throws:
CommandException
-
getName
Description copied from interface:CommandReturns the name of the command in upper case. For example "QUIT".
-