public abstract class AbstractDisableAuthenticationCommand extends Object implements org.aesh.command.Command<CLICommandInvocation>, DMRCommand
| Constructor and Description |
|---|
AbstractDisableAuthenticationCommand(AuthFactorySpec factorySpec) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.dmr.ModelNode |
buildRequest(CommandContext context) |
org.jboss.dmr.ModelNode |
buildSecurityRequest(CommandContext context) |
protected abstract org.jboss.dmr.ModelNode |
disableFactory(CommandContext context) |
org.aesh.command.CommandResult |
execute(CLICommandInvocation commandInvocation) |
abstract String |
getEnabledFactory(CommandContext ctx) |
AuthFactorySpec |
getFactorySpec() |
protected abstract String |
getMechanism() |
protected abstract String |
getSecuredEndpoint(CommandContext ctx) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildRequestpublic AbstractDisableAuthenticationCommand(AuthFactorySpec factorySpec)
public AuthFactorySpec getFactorySpec()
public abstract String getEnabledFactory(CommandContext ctx) throws Exception
Exceptionprotected abstract org.jboss.dmr.ModelNode disableFactory(CommandContext context) throws Exception
Exceptionprotected abstract String getSecuredEndpoint(CommandContext ctx)
protected abstract String getMechanism()
public org.aesh.command.CommandResult execute(CLICommandInvocation commandInvocation) throws org.aesh.command.CommandException, InterruptedException
execute in interface org.aesh.command.Command<CLICommandInvocation>org.aesh.command.CommandExceptionInterruptedExceptionpublic org.jboss.dmr.ModelNode buildRequest(CommandContext context) throws CommandFormatException
buildRequest in interface DMRCommandCommandFormatExceptionpublic org.jboss.dmr.ModelNode buildSecurityRequest(CommandContext context) throws Exception
ExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.