Class HTTPServerDisableAuthCommand
- java.lang.Object
-
- org.jboss.as.cli.impl.aesh.cmd.security.auth.AbstractDisableAuthenticationCommand
-
- org.jboss.as.cli.impl.aesh.cmd.security.auth.HTTPServerDisableAuthCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<CLICommandInvocation>,DMRCommand
public class HTTPServerDisableAuthCommand extends AbstractDisableAuthenticationCommand
Disable authentication applied to an http-server security-domain. Complexity comes from the fact that an undertow application-security-domain can references a factory or a security domain.- Author:
- jdenise@redhat.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHTTPServerDisableAuthCommand.MechanismActivatorstatic classHTTPServerDisableAuthCommand.MechanismCompleter
-
Constructor Summary
Constructors Constructor Description HTTPServerDisableAuthCommand(CommandContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.dmr.ModelNodebuildSecurityRequest(CommandContext context)protected org.jboss.dmr.ModelNodedisableFactory(CommandContext context)StringgetEnabledFactory(CommandContext ctx)protected StringgetMechanism()protected StringgetSecuredEndpoint(CommandContext ctx)-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.security.auth.AbstractDisableAuthenticationCommand
buildRequest, execute, getFactorySpec
-
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
-
HTTPServerDisableAuthCommand
public HTTPServerDisableAuthCommand(CommandContext ctx)
-
-
Method Detail
-
getMechanism
protected String getMechanism()
- Specified by:
getMechanismin classAbstractDisableAuthenticationCommand
-
buildSecurityRequest
public org.jboss.dmr.ModelNode buildSecurityRequest(CommandContext context) throws Exception
- Overrides:
buildSecurityRequestin classAbstractDisableAuthenticationCommand- Throws:
Exception
-
getEnabledFactory
public String getEnabledFactory(CommandContext ctx) throws Exception
- Specified by:
getEnabledFactoryin classAbstractDisableAuthenticationCommand- Throws:
Exception
-
disableFactory
protected org.jboss.dmr.ModelNode disableFactory(CommandContext context) throws Exception
- Specified by:
disableFactoryin classAbstractDisableAuthenticationCommand- Throws:
Exception
-
getSecuredEndpoint
protected String getSecuredEndpoint(CommandContext ctx)
- Specified by:
getSecuredEndpointin classAbstractDisableAuthenticationCommand
-
-