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.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.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 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
-
-
-
-
Method Detail
-
getPrompt
public String getPrompt()
- Specified by:
getPrompt
in interfaceedu.uiuc.ncsa.security.util.cli.Commands
- Overrides:
getPrompt
in 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:
getLoader
in 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:
hasComponent
in 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:
runComponent
in 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:
use
in interfaceedu.uiuc.ncsa.security.util.cli.ComponentManager
- Overrides:
use
in classorg.oa4mp.server.admin.oauth2.tools.OA2Commands
- Throws:
Throwable
-
about
public void about()
- Overrides:
about
in classorg.oa4mp.server.admin.oauth2.tools.OA2Commands
-
about
public void about(boolean showBanner, boolean showHeader)
- Overrides:
about
in classorg.oa4mp.server.admin.oauth2.tools.OA2Commands
-
useHelp
public void useHelp()
- Overrides:
useHelp
in 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:
figureOutLoader
in classorg.oa4mp.server.admin.oauth2.tools.OA2Commands
- Throws:
Throwable
-
-