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, Serializable

    public class CILogonOA2Commands
    extends org.oa4mp.server.admin.oauth2.tools.OA2Commands

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

    See Also:
    Serialized Form
    • Nested Class Summary

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

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

      • Fields inherited from class org.oa4mp.server.admin.oauth2.tools.OA2Commands

        ADMINS, loader, PERMISSIONS, TOKENS, VIRTUAL_ISSUER
      • Fields inherited from class org.oa4mp.server.admin.oauth2.base.BaseCommands2

        CLIENT_APPROVALS, CLIENTS, COPY, drivers, logoName, showHeader, showLogo, TRANSACTION_COMMAND
      • Fields inherited from class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl2

        CFG_FILE_SWITCH, CONFIG_FILE_LONG_OPTION, CONFIG_FILE_OPTION, CONFIG_NAME_LONG_OPTION, CONFIG_NAME_OPTION
      • Fields inherited from class edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl

        CL_INPUT_FILE_FLAG, CL_OUTPUT_FILE_FLAG, DEFAULT_NULL_VALUE_PLACEHOLDER, defaultIndent, INDENT, LOGO, NO_HEADER, NO_LOGO, SILENT
    • Constructor Summary

      Constructors 
      Constructor Description
      CILogonOA2Commands​(edu.uiuc.ncsa.security.util.cli.CLIDriver driver)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void about()  
      void about​(boolean showBanner, boolean showHeader)  
      protected edu.uiuc.ncsa.security.core.util.ConfigurationLoader<? extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment> figureOutLoader​(String fileName, String configName)  
      protected ArchivedUserStoreCommands getArchivedUserStoreCommands​(String indent)  
      protected CILogonOA2ServiceEnvironment getCILogonSE()  
      protected CounterCommands getCounterCommands​(String indent)  
      protected IDPCommands getIdpCommands​(String indent)  
      edu.uiuc.ncsa.security.core.util.ConfigurationLoader<? extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment> getLoader()  
      String getPrompt()  
      protected TwoFactorCommands getTwoFactorCommands​(String indent)  
      protected UserStoreCommands getUserStoreCommands​(String indent)  
      protected boolean hasComponent​(String componentName)  
      static void main​(String[] args)  
      protected void runComponent​(String componentName)  
      boolean use​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)  
      void useHelp()  
      • Methods inherited from class org.oa4mp.server.admin.oauth2.tools.OA2Commands

        getAdminClientCommands, getClientCommands, getCommandCompletions, getCopyCommands, getName, getPermissionCommands, getTokenCommands, getTransactionCommands, getVICommands, initialize, newMain, setLoader, setupSAS
      • Methods inherited from class org.oa4mp.server.admin.oauth2.base.BaseCommands2

        createCLIDriver, getClientApprovalCommands, getComponentName, getServiceEnvironment, listComponents, startup
      • Methods inherited from class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl2

        bootstrap, doListNames, getConfigFile, getConfigName, getEnvironment, initHelp, listConfigs, listXMLConfigs, load, loadConfig, setConfigFile, setConfigName, setDriver, setEnvironment, showLoadHelp, switchOrRun
      • Methods inherited from class edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl

        bootstrap, clear_env, clearEnvHelp, debug, error, error, get_env, getDriver, getHelpUtil, getInput, getIOInterface, getLogoName, getPropertyHelp, gracefulExit, hasLogger, indentWidth, info, isDebugOn, isOk, isShowHeader, isShowLogo, print_env, printEnvHelp, printGetEnvHelp, printReadEnvHelp, printSaveEnvHelp, printSetEnvHelp, read_env, readJSON, readline, readline, save_env, say, say, sayi, sayv, set_env, setDebugOn, setLogoName, setShowHeader, setShowLogo, showHelp, warn
    • Constructor Detail

      • CILogonOA2Commands

        public CILogonOA2Commands​(edu.uiuc.ncsa.security.util.cli.CLIDriver driver)
    • Method Detail

      • getPrompt

        public String getPrompt()
        Specified by:
        getPrompt in interface edu.uiuc.ncsa.security.util.cli.Commands
        Overrides:
        getPrompt in class org.oa4mp.server.admin.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 org.oa4mp.server.admin.oauth2.tools.OA2Commands
      • main

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

        protected boolean hasComponent​(String componentName)
        Overrides:
        hasComponent in class org.oa4mp.server.admin.oauth2.base.BaseCommands2
      • runComponent

        protected void runComponent​(String componentName)
                             throws Throwable
        Overrides:
        runComponent in class org.oa4mp.server.admin.oauth2.base.BaseCommands2
        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 org.oa4mp.server.admin.oauth2.tools.OA2Commands
        Throws:
        Throwable
      • about

        public void about()
        Overrides:
        about in class org.oa4mp.server.admin.oauth2.tools.OA2Commands
      • about

        public void about​(boolean showBanner,
                          boolean showHeader)
        Overrides:
        about in class org.oa4mp.server.admin.oauth2.tools.OA2Commands
      • useHelp

        public void useHelp()
        Overrides:
        useHelp in class org.oa4mp.server.admin.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 org.oa4mp.server.admin.oauth2.tools.OA2Commands
        Throws:
        Throwable