Class CILogonOA2Commands

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

    public class CILogonOA2Commands
    extends edu.uiuc.ncsa.myproxy.oauth2.tools.OA2Commands

    Created by Jeff Gaynor
    on 3/25/15 at 2:53 PM

    • 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.myproxy.oauth2.tools.OA2Commands

        ADMINS, KEYS, loader, PERMISSIONS, TOKENS, VIRTUAL_ORGANIZATION
      • Fields inherited from class edu.uiuc.ncsa.myproxy.oauth2.base.BaseCommands

        CLIENT_APPROVALS, CLIENTS, components, COPY, logoName, PARSER_COMMAND, showHeader, showLogo, TRANSACTION_COMMAND
      • 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
      CILogonOA2Commands​(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)  
    • Constructor Detail

      • CILogonOA2Commands

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

      • getPrompt

        public String getPrompt()
        Specified by:
        getPrompt in interface edu.uiuc.ncsa.security.util.cli.Commands
        Overrides:
        getPrompt in class edu.uiuc.ncsa.myproxy.oauth2.tools.OA2Commands
      • getLoader

        public edu.uiuc.ncsa.security.core.util.ConfigurationLoader<? extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment> getLoader()
        Overrides:
        getLoader in class edu.uiuc.ncsa.myproxy.oauth2.tools.OA2Commands
      • main

        public static void main​(String[] args)
      • hasComponent

        protected boolean hasComponent​(String componentName)
        Overrides:
        hasComponent in class edu.uiuc.ncsa.myproxy.oauth2.base.BaseCommands
      • runComponent

        protected void runComponent​(String componentName)
                             throws Throwable
        Overrides:
        runComponent in class edu.uiuc.ncsa.myproxy.oauth2.base.BaseCommands
        Throws:
        Throwable
      • use

        public boolean use​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                    throws Throwable
        Specified by:
        use in interface edu.uiuc.ncsa.security.util.cli.ComponentManager
        Overrides:
        use in class edu.uiuc.ncsa.myproxy.oauth2.tools.OA2Commands
        Throws:
        Throwable
      • about

        public void about()
        Overrides:
        about in class edu.uiuc.ncsa.myproxy.oauth2.tools.OA2Commands
      • about

        public void about​(boolean showBanner,
                          boolean showHeader)
        Overrides:
        about in class edu.uiuc.ncsa.myproxy.oauth2.tools.OA2Commands
      • useHelp

        public void useHelp()
        Overrides:
        useHelp in class edu.uiuc.ncsa.myproxy.oauth2.tools.OA2Commands
      • figureOutLoader

        protected edu.uiuc.ncsa.security.core.util.ConfigurationLoader<? extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment> figureOutLoader​(String fileName,
                                                                                                                                                       String configName)
                                                                                                                                                throws Throwable
        Overrides:
        figureOutLoader in class edu.uiuc.ncsa.myproxy.oauth2.tools.OA2Commands
        Throws:
        Throwable