Class ManagementEnableSSLCommand
- java.lang.Object
-
- org.jboss.as.cli.impl.aesh.cmd.security.ssl.AbstractEnableSSLCommand
-
- org.jboss.as.cli.impl.aesh.cmd.security.ssl.ManagementEnableSSLCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<CLICommandInvocation>,DMRCommand
public class ManagementEnableSSLCommand extends AbstractEnableSSLCommand
A command to enable SSL for a given management interface.- Author:
- jdenise@redhat.com
-
-
Constructor Summary
Constructors Constructor Description ManagementEnableSSLCommand(CommandContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetTarget(CommandContext ctx)protected booleanisSSLEnabled(CommandContext ctx)protected voidsecure(CommandContext ctx, SSLSecurityBuilder builder)-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.security.ssl.AbstractEnableSSLCommand
buildRequest, execute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.core.cli.command.DMRCommand
buildRequest
-
-
-
-
Constructor Detail
-
ManagementEnableSSLCommand
public ManagementEnableSSLCommand(CommandContext ctx)
-
-
Method Detail
-
secure
protected void secure(CommandContext ctx, SSLSecurityBuilder builder) throws org.aesh.command.CommandException
- Specified by:
securein classAbstractEnableSSLCommand- Throws:
org.aesh.command.CommandException
-
isSSLEnabled
protected boolean isSSLEnabled(CommandContext ctx) throws Exception
- Specified by:
isSSLEnabledin classAbstractEnableSSLCommand- Throws:
Exception
-
getTarget
protected String getTarget(CommandContext ctx)
- Specified by:
getTargetin classAbstractEnableSSLCommand
-
-