Class CreateSourceConfig
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.claims.qdl.CreateSourceConfig
-
- All Implemented Interfaces:
CSConstants
,edu.uiuc.ncsa.qdl.extensions.QDLFunction
,Serializable
public class CreateSourceConfig extends Object implements edu.uiuc.ncsa.qdl.extensions.QDLFunction, CSConstants
This fills in all of the missing configuration values with their defaults. Sp the contract is that the argument is a stem with the minimum required parameters. All of those are taken and any missing parameters are supplied.Created by Jeff Gaynor
on 2/10/20 at 5:51 AM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
CREATE_SOURCE_NAME
-
Fields inherited from interface edu.uiuc.ncsa.myproxy.oa4mp.qdl.claims.CSConstants
CS_CODE_JAVA_CLASS, CS_DEFAULT_CLAIM_NAME_KEY, CS_DEFAULT_FAIL_ON_ERROR, CS_DEFAULT_ID, CS_DEFAULT_ID_VALUE, CS_DEFAULT_IS_ENABLED, CS_DEFAULT_NAME, CS_DEFAULT_NOTIFY_ON_FAIL, CS_DEFAULT_TYPE, CS_FILE_CLAIM_KEY, CS_FILE_FILE_PATH, CS_FILE_STEM_CLAIMS, CS_HEADERS_PREFIX, CS_LDAP_ADDITIONAL_FILTER, CS_LDAP_AUTHZ_TYPE, CS_LDAP_CONTEXT_NAME, CS_LDAP_GROUP_NAMES, CS_LDAP_LISTS, CS_LDAP_PASSWORD, CS_LDAP_PORT, CS_LDAP_RENAME, CS_LDAP_SEARCH_ATTRIBUTES, CS_LDAP_SEARCH_BASE, CS_LDAP_SEARCH_FILTER_ATTRIBUTE, CS_LDAP_SEARCH_NAME, CS_LDAP_SEARCH_SCOPE, CS_LDAP_SECURITY_PRINCIPAL, CS_LDAP_SERVER_ADDRESS, CS_TYPE_BASIC, CS_TYPE_CODE, CS_TYPE_FILE, CS_TYPE_HEADERS, CS_TYPE_LDAP, CS_TYPE_NCSA, CS_USE_DEFAULT_KEY
-
-
Constructor Summary
Constructors Constructor Description CreateSourceConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected edu.uiuc.ncsa.qdl.variables.QDLStem
doFS(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem output)
protected edu.uiuc.ncsa.qdl.variables.QDLStem
doLDAP(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem output)
protected edu.uiuc.ncsa.qdl.variables.QDLStem
doNCSA(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem output)
Object
evaluate(Object[] objects, edu.uiuc.ncsa.qdl.state.State state)
int[]
getArgCount()
List<String>
getDocumentation(int argCount)
String
getName()
static void
main(String[] args)
protected void
setBasicValues(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem output)
These are the basic value for every configuration.protected void
setValue(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem config, String argKey)
Case where the key in the argument is the same as the key in the configuration stemprotected void
setValue(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem output, String key, Object defaultValue)
-
-
-
Field Detail
-
CREATE_SOURCE_NAME
public static final String CREATE_SOURCE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceedu.uiuc.ncsa.qdl.extensions.QDLFunction
-
getArgCount
public int[] getArgCount()
- Specified by:
getArgCount
in interfaceedu.uiuc.ncsa.qdl.extensions.QDLFunction
-
evaluate
public Object evaluate(Object[] objects, edu.uiuc.ncsa.qdl.state.State state)
- Specified by:
evaluate
in interfaceedu.uiuc.ncsa.qdl.extensions.QDLFunction
-
doNCSA
protected edu.uiuc.ncsa.qdl.variables.QDLStem doNCSA(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem output)
-
doLDAP
protected edu.uiuc.ncsa.qdl.variables.QDLStem doLDAP(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem output)
-
setValue
protected void setValue(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem config, String argKey)
Case where the key in the argument is the same as the key in the configuration stem- Parameters:
arg
-config
-argKey
-
-
doFS
protected edu.uiuc.ncsa.qdl.variables.QDLStem doFS(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem output)
-
setValue
protected void setValue(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem output, String key, Object defaultValue)
-
setBasicValues
protected void setBasicValues(edu.uiuc.ncsa.qdl.variables.QDLStem arg, edu.uiuc.ncsa.qdl.variables.QDLStem output)
These are the basic value for every configuration.- Parameters:
arg
-output
-
-
getDocumentation
public List<String> getDocumentation(int argCount)
- Specified by:
getDocumentation
in interfaceedu.uiuc.ncsa.qdl.extensions.QDLFunction
-
main
public static void main(String[] args)
-
-