Class ExpandCommand

java.lang.Object
org.codice.ddf.security.command.ExpandCommand
All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action

public class ExpandCommand extends Object implements org.apache.karaf.shell.api.action.Action
Implements the "expand" command - taking an attribute name and the current value, and prints out what the expansion of that value is using the currently-configured expansion service.
  • Constructor Details

    • ExpandCommand

      public ExpandCommand()
  • Method Details

    • execute

      public Object execute() throws Exception
      Called to execute the security:encrypt console command.
      Specified by:
      execute in interface org.apache.karaf.shell.api.action.Action
      Throws:
      Exception