Class ControlledCommandActivator
- java.lang.Object
-
- org.wildfly.core.cli.command.aesh.activator.AbstractCommandActivator
-
- org.jboss.as.cli.impl.aesh.cmd.ConnectedActivator
-
- org.jboss.as.cli.impl.aesh.cmd.security.ControlledCommandActivator
-
- All Implemented Interfaces:
org.aesh.command.activator.CommandActivator,CLICommandActivator
public class ControlledCommandActivator extends ConnectedActivator
A command activator that enables the command only if the security constraints are full-filled.- Author:
- jdenise@redhat.com
-
-
Constructor Summary
Constructors Constructor Description ControlledCommandActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisActivated(org.aesh.command.impl.internal.ParsedCommand cmd)protected booleanisAddressValid(CommandContext ctx, OperationRequestAddress requiredAddress)-
Methods inherited from class org.wildfly.core.cli.command.aesh.activator.AbstractCommandActivator
getCommandContext, setCommandContext
-
-
-
-
Method Detail
-
isActivated
public boolean isActivated(org.aesh.command.impl.internal.ParsedCommand cmd)
- Specified by:
isActivatedin interfaceorg.aesh.command.activator.CommandActivator- Overrides:
isActivatedin classConnectedActivator
-
isAddressValid
protected boolean isAddressValid(CommandContext ctx, OperationRequestAddress requiredAddress)
-
-