Package org.cilogon.oauth2.admin
Class CILogonOA2Commands
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl
-
- org.oa4mp.server.admin.myproxy.oauth2.base.BaseCommands
-
- org.oa4mp.server.admin.myproxy.oauth2.tools.OA2Commands
-
- org.cilogon.oauth2.admin.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.myproxy.oauth2.tools.OA2Commands
Created by Jeff Gaynor
on 3/25/15 at 2:53 PM- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.oa4mp.server.admin.myproxy.oauth2.tools.OA2Commands
ADMINS, KEYS, loader, PERMISSIONS, TOKENS, VIRTUAL_ORGANIZATION
-
Fields inherited from class org.oa4mp.server.admin.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)
-
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.myproxy.oauth2.tools.OA2Commands
bootstrap, getAdminClientCommands, getHelpUtil, getNewClientStoreCommands, getNewCopyCommands, getNewParserCommands, getPermissionCommands, getTokenCommands, getTransactionCommands, getVOCommands, init, print_help, setLoader, setupSAS
-
Methods inherited from class org.oa4mp.server.admin.myproxy.oauth2.base.BaseCommands
executeComponent, getComponentName, getNewClientApprovalStoreCommands, getServiceEnvironment, listComponents, start, switchOrRun
-
Methods inherited from class edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl
debug, doListNames, error, getCommandLine, getConfigFile, getConfigName, getEnvironment, getGlobalEnv, getIOInterface, getLogfileName, getMyLogger, getOptions, getOptions, hasOption, info, initialize, isDebugOn, isVerbose, listConfigs, listXMLConfigs, load, loadConfig, padLineWithBlanks, parseCommandLine, readEnv, say, sayv, setConfigFile, setConfigName, setDebugOn, setEnvironment, setIOInterface, setLogfileName, setMyLogger, setVerbose, showHelp, showLoadHelp, trace, warn
-
-
-
-
Method Detail
-
getPrompt
public String getPrompt()
- Specified by:
getPrompt
in interfaceedu.uiuc.ncsa.security.util.cli.Commands
- Overrides:
getPrompt
in classorg.oa4mp.server.admin.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 classorg.oa4mp.server.admin.myproxy.oauth2.tools.OA2Commands
-
main
public static void main(String[] args)
-
getCILogonSE
protected CILogonOA2ServiceEnvironment getCILogonSE() throws Exception
- Throws:
Exception
-
hasComponent
protected boolean hasComponent(String componentName)
- Overrides:
hasComponent
in classorg.oa4mp.server.admin.myproxy.oauth2.base.BaseCommands
-
getUserStoreCommands
protected UserStoreCommands getUserStoreCommands(String indent) throws Throwable
- Throws:
Throwable
-
getIdpCommands
protected IDPCommands getIdpCommands(String indent) throws Throwable
- Throws:
Throwable
-
getCounterCommands
protected CounterCommands getCounterCommands(String indent) throws Throwable
- Throws:
Throwable
-
getArchivedUserStoreCommands
protected ArchivedUserStoreCommands getArchivedUserStoreCommands(String indent) throws Throwable
- Throws:
Throwable
-
getTwoFactorCommands
protected TwoFactorCommands getTwoFactorCommands(String indent) throws Throwable
- Throws:
Throwable
-
runComponent
protected void runComponent(String componentName) throws Throwable
- Overrides:
runComponent
in classorg.oa4mp.server.admin.myproxy.oauth2.base.BaseCommands
- Throws:
Throwable
-
use
public boolean use(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) throws Throwable
- Specified by:
use
in interfaceedu.uiuc.ncsa.security.util.cli.ComponentManager
- Overrides:
use
in classorg.oa4mp.server.admin.myproxy.oauth2.tools.OA2Commands
- Throws:
Throwable
-
about
public void about()
- Overrides:
about
in classorg.oa4mp.server.admin.myproxy.oauth2.tools.OA2Commands
-
about
public void about(boolean showBanner, boolean showHeader)
- Overrides:
about
in classorg.oa4mp.server.admin.myproxy.oauth2.tools.OA2Commands
-
useHelp
public void useHelp()
- Overrides:
useHelp
in classorg.oa4mp.server.admin.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 classorg.oa4mp.server.admin.myproxy.oauth2.tools.OA2Commands
- Throws:
Throwable
-
-