Package org.qdl_lang.scripting
Class AnaphorUtil
- java.lang.Object
- 
- org.qdl_lang.scripting.AnaphorUtil
 
- 
- All Implemented Interfaces:
- edu.uiuc.ncsa.security.util.scripting.ScriptingConstants
 
 public class AnaphorUtil extends Object implements edu.uiuc.ncsa.security.util.scripting.ScriptingConstants Utility for reading/processing QDL anaphorsCreated by Jeff Gaynor 
 on 6/1/20 at 3:52 PM
- 
- 
Field SummaryFields Modifier and Type Field Description static StringARGS_TAGstatic StringQDL_TAGstatic StringXMD_TAG- 
Fields inherited from interface edu.uiuc.ncsa.security.util.scripting.ScriptingConstantsALL_PHASES, AUTH_PHASE, EXCHANGE_PHASE, POST_PREFIX, PRE_PREFIX, REFRESH_PHASE, SRE_EXEC_INIT, SRE_EXEC_PHASE, SRE_NO_EXEC_PHASE, SRE_PHASES, SRE_POST_ALL, SRE_POST_AT, SRE_POST_AUTH, SRE_POST_EXCHANGE, SRE_POST_REFRESH, SRE_POST_USER_INFO, SRE_PRE_ALL, SRE_PRE_AT, SRE_PRE_AUTH, SRE_PRE_EXCHANGE, SRE_PRE_REFRESH, SRE_PRE_USER_INFO, SRE_REQ_ACCESS_TOKEN, SRE_REQ_AUDIENCE, SRE_REQ_AUTH_HEADERS, SRE_REQ_CLAIM_SOURCES, SRE_REQ_CLAIMS, SRE_REQ_EXTENDED_ATTRIBUTES, SRE_REQ_FLOW_STATES, SRE_REQ_MAIL_CONFIG, SRE_REQ_MAIL_MESSAGE, SRE_REQ_PROXY_CLAIMS, SRE_REQ_REFRESH_TOKEN, SRE_REQ_RESOURCE, SRE_REQ_SCOPES, SRE_TX_REQ_AUDIENCE, SRE_TX_REQ_RESOURCES, SRE_TX_REQ_SCOPES, TOKEN_PHASE, USER_INFO_PHASE
 
- 
 - 
Constructor SummaryConstructors Constructor Description AnaphorUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description protected static StringbuildArgList(net.sf.json.JSON json)protected static QDLScriptcreateScript(net.sf.json.JSONObject jsonObject)Create an individual script from a JSON Object.static edu.uiuc.ncsa.security.util.scripting.ScriptSet<QDLScript>createScripts(net.sf.json.JSON topNode)Create all the scripts for this configuration.static voidmain(String[] args)protected static edu.uiuc.ncsa.security.core.configuration.XPropertiesprocessMD(net.sf.json.JSONObject jsonObject)Every configured elements has a set of meta-data about processing.static List<Object>toScriptArgs(net.sf.json.JSON json)Contract is: Passing in aJSONObjectmeans this has a single argument which is a stem.
 
- 
- 
- 
Field Detail- 
QDL_TAGpublic static final String QDL_TAG - See Also:
- Constant Field Values
 
 - 
XMD_TAGpublic static final String XMD_TAG - See Also:
- Constant Field Values
 
 - 
ARGS_TAGpublic static final String ARGS_TAG - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
toScriptArgspublic static List<Object> toScriptArgs(net.sf.json.JSON json) Contract is: Passing in aJSONObjectmeans this has a single argument which is a stem. Passing in aJSONArraymeans this is an array of objects.- Parameters:
- json-
- Returns:
 
 - 
createScriptspublic static edu.uiuc.ncsa.security.util.scripting.ScriptSet<QDLScript> createScripts(net.sf.json.JSON topNode) Create all the scripts for this configuration. This is the main entry point for this class.- Parameters:
- topNode-
- Returns:
 
 - 
processMDprotected static edu.uiuc.ncsa.security.core.configuration.XProperties processMD(net.sf.json.JSONObject jsonObject) Every configured elements has a set of meta-data about processing. Get it from the configuration and return it in anXPropertiesobject.- Parameters:
- jsonObject-
- Returns:
 
 - 
createScriptprotected static QDLScript createScript(net.sf.json.JSONObject jsonObject) Create an individual script from a JSON Object.- Parameters:
- jsonObject-
- Returns:
 
 - 
buildArgListprotected static String buildArgList(net.sf.json.JSON json) 
 - 
mainpublic static void main(String[] args) 
 
- 
 
-