Class CommandLineClient

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.Logable, edu.uiuc.ncsa.security.util.cli.Commands, Serializable

    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

    See Also:
    Serialized Form
    • 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, ENV_LONG_OPTION, ENV_OPTION, FILE_SWITCH, HELP_LONG_OPTION, HELP_OPTION, INPUT_OPTION, LOG_FILE_LONG_OPTION, LOG_FILE_OPTION, OUTPUT_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

        bootstrap, debug, doListNames, error, figureOutLoader, getConfigFile, getConfigName, getDriver, getEnvironment, getGlobalEnv, getIOInterface, getLoader, getMyLogger, hasLogger, info, initialize, isDebugOn, isVerbose, listConfigs, listXMLConfigs, load, loadConfig, padLineWithBlanks, readEnv, say, sayv, setConfigFile, setConfigName, setDebugOn, setDriver, setEnvironment, setLoader, setMyLogger, setVerbose, showHelp, showLoadHelp, switchOrRun, trace, use, warn
      • Methods inherited from interface edu.uiuc.ncsa.security.util.cli.Commands

        getName
    • 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()