Class OA2Commands

  • 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 OA2Commands
    extends BaseCommands

    Created by Jeff Gaynor
    on 4/3/14 at 1:23 PM

    See Also:
    Serialized Form
    • Constructor Detail

      • OA2Commands

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

      • getPrompt

        public String getPrompt()
      • getName

        public String getName()
      • getLoader

        public edu.uiuc.ncsa.security.core.util.ConfigurationLoader<? extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment> getLoader()
        Specified by:
        getLoader in class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl
      • print_help

        public void print_help()
                        throws Exception
        Specified by:
        print_help in interface edu.uiuc.ncsa.security.util.cli.Commands
        Overrides:
        print_help in class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl
        Throws:
        Exception
      • main

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

        protected static void setupSAS​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                                throws Throwable
        Throws:
        Throwable
      • about

        public void about​(boolean showBanner,
                          boolean showHeader)
      • getTokenCommands

        protected edu.uiuc.ncsa.security.util.cli.CommonCommands getTokenCommands()
                                                                           throws Throwable
        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 BaseCommands
        Throws:
        Throwable
      • getHelpUtil

        public edu.uiuc.ncsa.security.util.cli.HelpUtil getHelpUtil()
      • setLoader

        public void setLoader​(edu.uiuc.ncsa.security.core.util.ConfigurationLoader<? extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment> loader)
        Specified by:
        setLoader in class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl
      • figureOutLoader

        protected edu.uiuc.ncsa.security.core.util.ConfigurationLoader<? extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment> figureOutLoader​(String fileName,
                                                                                                                                                       String configName)
                                                                                                                                                throws Throwable
        Specified by:
        figureOutLoader in class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl
        Throws:
        Throwable