Class HTTPServerEnableAuthCommand
- java.lang.Object
-
- org.jboss.as.cli.impl.aesh.cmd.security.auth.AbstractEnableAuthenticationCommand
-
- org.jboss.as.cli.impl.aesh.cmd.security.auth.HTTPServerEnableAuthCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<CLICommandInvocation>,DMRCommand
public class HTTPServerEnableAuthCommand extends AbstractEnableAuthenticationCommand
Enable authentication for a given http-server security domain.- Author:
- jdenise@redhat.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHTTPServerEnableAuthCommand.FactoryMechanismCompleterstatic classHTTPServerEnableAuthCommand.MechanismActivatorstatic classHTTPServerEnableAuthCommand.ReferencedSecurityDomainActivator
-
Constructor Summary
Constructors Constructor Description HTTPServerEnableAuthCommand(CommandContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AuthSecurityBuilderbuildSecurityRequest(CommandContext context)protected StringgetEnabledFactory(CommandContext ctx)protected StringgetMechanism()protected StringgetOOTBFactory(CommandContext ctx)protected StringgetOOTBSecurityDomain(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.AbstractEnableAuthenticationCommand
buildExternalConfiguration, buildLocalUserConfiguration, buildRequest, 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
-
-
-
-
Constructor Detail
-
HTTPServerEnableAuthCommand
public HTTPServerEnableAuthCommand(CommandContext ctx)
-
-
Method Detail
-
getMechanism
protected String getMechanism()
- Specified by:
getMechanismin classAbstractEnableAuthenticationCommand
-
secure
protected void secure(CommandContext ctx, AuthSecurityBuilder builder) throws Exception
- Specified by:
securein classAbstractEnableAuthenticationCommand- Throws:
Exception
-
buildSecurityRequest
protected AuthSecurityBuilder buildSecurityRequest(CommandContext context) throws Exception
- Overrides:
buildSecurityRequestin 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
-
getOOTBSecurityDomain
protected String getOOTBSecurityDomain(CommandContext ctx) throws Exception
- Throws:
Exception
-
getSecuredEndpoint
protected String getSecuredEndpoint(CommandContext ctx)
- Specified by:
getSecuredEndpointin classAbstractEnableAuthenticationCommand
-
-