Package org.oa4mp.server.qdl
Class ClientManagementCommands
- java.lang.Object
-
- org.oa4mp.server.qdl.ClientManagementCommands
-
- All Implemented Interfaces:
Serializable,org.qdl_lang.extensions.QDLMetaModule
public class ClientManagementCommands extends Object implements org.qdl_lang.extensions.QDLMetaModule
Created by Jeff Gaynor
on 3/31/20 at 11:07 AM- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classClientManagementCommands.ApproveclassClientManagementCommands.InitMethodclassClientManagementCommands.KeysclassClientManagementCommands.ReadClientclassClientManagementCommands.RemoveclassClientManagementCommands.SaveClientclassClientManagementCommands.SearchclassClientManagementCommands.Size
-
Field Summary
Fields Modifier and Type Field Description protected StringAPPROVE_NAMEprotected StringcheckInitMessageprotected StringINIT_NAMEprotected StringKEYS_NAMEprotected StringREAD_NAMEprotected StringREMOVE_NAMEprotected StringSAVE_NAMEprotected StringSEARCH_NAMEprotected StringSIZE_NAME
-
Constructor Summary
Constructors Constructor Description ClientManagementCommands()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckInit()voiddeserializeFromJSON(net.sf.json.JSONObject jsonObject)org.apache.commons.configuration.tree.ConfigurationNodegetConfigurationNode()org.oa4mp.server.loader.oauth2.OA2SEgetEnvironment()edu.uiuc.ncsa.security.core.util.ConfigurationLoader<? extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment>getLoader()edu.uiuc.ncsa.security.core.util.MyLoggingFacadegetLogger()protected voidinit(String configFile, String cfgName)net.sf.json.JSONObjectserializeToJSON()voidsetConfigurationNode(org.apache.commons.configuration.tree.ConfigurationNode configurationNode)voidsetLogger(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)protected org.qdl_lang.variables.QDLStemtoStem(org.oa4mp.server.loader.oauth2.storage.clients.OA2Client client)
-
-
-
Field Detail
-
INIT_NAME
protected String INIT_NAME
-
checkInitMessage
protected String checkInitMessage
-
READ_NAME
protected String READ_NAME
-
SAVE_NAME
protected String SAVE_NAME
-
SEARCH_NAME
protected String SEARCH_NAME
-
SIZE_NAME
protected String SIZE_NAME
-
REMOVE_NAME
protected String REMOVE_NAME
-
KEYS_NAME
protected String KEYS_NAME
-
APPROVE_NAME
protected String APPROVE_NAME
-
-
Method Detail
-
getLogger
public edu.uiuc.ncsa.security.core.util.MyLoggingFacade getLogger()
-
setLogger
public void setLogger(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
-
getLoader
public edu.uiuc.ncsa.security.core.util.ConfigurationLoader<? extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment> getLoader()
-
getConfigurationNode
public org.apache.commons.configuration.tree.ConfigurationNode getConfigurationNode()
-
setConfigurationNode
public void setConfigurationNode(org.apache.commons.configuration.tree.ConfigurationNode configurationNode)
-
getEnvironment
public org.oa4mp.server.loader.oauth2.OA2SE getEnvironment() throws Exception- Throws:
Exception
-
checkInit
protected void checkInit()
-
toStem
protected org.qdl_lang.variables.QDLStem toStem(org.oa4mp.server.loader.oauth2.storage.clients.OA2Client client) throws Exception- Throws:
Exception
-
serializeToJSON
public net.sf.json.JSONObject serializeToJSON()
- Specified by:
serializeToJSONin interfaceorg.qdl_lang.extensions.QDLMetaModule
-
deserializeFromJSON
public void deserializeFromJSON(net.sf.json.JSONObject jsonObject)
- Specified by:
deserializeFromJSONin interfaceorg.qdl_lang.extensions.QDLMetaModule
-
-