Class CommandLineClient

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.Logable, edu.uiuc.ncsa.security.util.cli.Commands, edu.uiuc.ncsa.security.util.cli.ComponentManager
    Direct Known Subclasses:
    OA2CommandLineClient

    public abstract class CommandLineClient
    extends edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl
    This is a command line client. It will let you test pretty much the entire life cycle of OAuth. The only thing is you have to have is a client registered with the server.

    Created by Jeff Gaynor
    on 5/11/16 at 10:34 AM

    • Nested Class Summary

      • Nested classes/interfaces inherited from class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl

        edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl.ListOnlyNotification
    • Field Summary

      • Fields inherited from class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl

        COMMENT_START, COMMENT_START_OPTION, CONFIG_FILE_LONG_OPTION, CONFIG_FILE_OPTION, CONFIG_NAME_LONG_OPTION, CONFIG_NAME_OPTION, DEBUG_LONG_OPTION, DEBUG_OPTION, DEFAULT_LOG_FILE, ENV_LONG_OPTION, ENV_OPTION, FILE_SWITCH, HELP_LONG_OPTION, HELP_OPTION, INPUT_OPTION, LOG_FILE_LONG_OPTION, LOG_FILE_OPTION, OUTPUT_OPTION, USE_COMPONENT_LONG_OPTION, USE_COMPONENT_OPTION, VERBOSE_LONG_OPTION, VERBOSE_OPTION
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandLineClient​(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getComponentName()  
      String getPrompt()  
      void useHelp()  
      • Methods inherited from class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl

        debug, doListNames, error, figureOutLoader, getCommandLine, getConfigFile, getConfigName, getEnvironment, getGlobalEnv, getIOInterface, getLoader, getLogfileName, getMyLogger, getOptions, getOptions, hasOption, info, initialize, isDebugOn, isVerbose, listConfigs, listXMLConfigs, load, loadConfig, padLineWithBlanks, parseCommandLine, print_help, readEnv, say, sayv, setConfigFile, setConfigName, setDebugOn, setEnvironment, setIOInterface, setLoader, setLogfileName, setMyLogger, setVerbose, showHelp, showLoadHelp, trace, use, warn
      • Methods inherited from interface edu.uiuc.ncsa.security.util.cli.Commands

        bootstrap, getHelpUtil
      • Methods inherited from interface edu.uiuc.ncsa.security.util.cli.ComponentManager

        listComponents
    • Constructor Detail

      • CommandLineClient

        public CommandLineClient​(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
    • Method Detail

      • getComponentName

        public String getComponentName()
        Specified by:
        getComponentName in class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl
      • useHelp

        public void useHelp()
        Specified by:
        useHelp in class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl
      • getPrompt

        public String getPrompt()