Package org.cilogon.oauth2.admin
Class CILogonOA2Commands
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl
-
- edu.uiuc.ncsa.security.util.cli.ConfigurableCommandsImpl2
-
- org.oa4mp.server.admin.oauth2.base.BaseCommands2
-
- org.oa4mp.server.admin.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.oauth2.tools.OA2CommandsCreated 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.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
-
-
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 voidabout()voidabout(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 ArchivedUserStoreCommandsgetArchivedUserStoreCommands(String indent)protected CILogonOA2ServiceEnvironmentgetCILogonSE()protected CounterCommandsgetCounterCommands(String indent)protected IDPCommandsgetIdpCommands(String indent)edu.uiuc.ncsa.security.core.util.ConfigurationLoader<? extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment>getLoader()StringgetPrompt()protected TwoFactorCommandsgetTwoFactorCommands(String indent)protected UserStoreCommandsgetUserStoreCommands(String indent)protected booleanhasComponent(String componentName)static voidmain(String[] args)protected voidrunComponent(String componentName)booleanuse(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)voiduseHelp()-
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, configureCommands, 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
-
-
-
-
Method Detail
-
getPrompt
public String getPrompt()
- Specified by:
getPromptin interfaceedu.uiuc.ncsa.security.util.cli.Commands- Overrides:
getPromptin classorg.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:
getLoaderin classorg.oa4mp.server.admin.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:
hasComponentin classorg.oa4mp.server.admin.oauth2.base.BaseCommands2
-
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:
runComponentin classorg.oa4mp.server.admin.oauth2.base.BaseCommands2- Throws:
Throwable
-
use
public boolean use(edu.uiuc.ncsa.security.util.cli.InputLine inputLine) throws Throwable- Specified by:
usein interfaceedu.uiuc.ncsa.security.util.cli.ComponentManager- Overrides:
usein classorg.oa4mp.server.admin.oauth2.tools.OA2Commands- Throws:
Throwable
-
about
public void about()
- Overrides:
aboutin classorg.oa4mp.server.admin.oauth2.tools.OA2Commands
-
about
public void about(boolean showBanner, boolean showHeader)- Overrides:
aboutin classorg.oa4mp.server.admin.oauth2.tools.OA2Commands
-
useHelp
public void useHelp()
- Overrides:
useHelpin classorg.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:
figureOutLoaderin classorg.oa4mp.server.admin.oauth2.tools.OA2Commands- Throws:
Throwable
-
-