Class ManagementEnableHTTPCommand
- java.lang.Object
-
- org.jboss.as.cli.impl.aesh.cmd.security.auth.AbstractEnableAuthenticationCommand
-
- org.jboss.as.cli.impl.aesh.cmd.security.auth.AbstractMgmtEnableAuthenticationCommand
-
- org.jboss.as.cli.impl.aesh.cmd.security.auth.ManagementEnableHTTPCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<CLICommandInvocation>,DMRCommand
public class ManagementEnableHTTPCommand extends AbstractMgmtEnableAuthenticationCommand
Enable HTTP authentication for a management interface.- Author:
- jdenise@redhat.com
-
-
Constructor Summary
Constructors Constructor Description ManagementEnableHTTPCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetEnabledFactory(CommandContext ctx)protected StringgetOOTBFactory(CommandContext ctx)protected StringgetSecuredEndpoint(CommandContext ctx)protected voidsecure(CommandContext ctx, AuthSecurityBuilder builder)-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.security.auth.AbstractMgmtEnableAuthenticationCommand
getMechanism
-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.security.auth.AbstractEnableAuthenticationCommand
buildExternalConfiguration, buildLocalUserConfiguration, buildRequest, buildSecurityRequest, buildUserPasswordConfiguration, execute, getFactorySpec, throwInvalidOptions
-
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
-
-
-
-
Method Detail
-
secure
protected void secure(CommandContext ctx, AuthSecurityBuilder builder) throws Exception
- Specified by:
securein classAbstractEnableAuthenticationCommand- Throws:
Exception
-
getEnabledFactory
protected String getEnabledFactory(CommandContext ctx) throws IOException, OperationFormatException
- Specified by:
getEnabledFactoryin classAbstractEnableAuthenticationCommand- Throws:
IOExceptionOperationFormatException
-
getOOTBFactory
protected String getOOTBFactory(CommandContext ctx) throws Exception
- Specified by:
getOOTBFactoryin classAbstractEnableAuthenticationCommand- Throws:
Exception
-
getSecuredEndpoint
protected String getSecuredEndpoint(CommandContext ctx)
- Specified by:
getSecuredEndpointin classAbstractEnableAuthenticationCommand
-
-