Searched refs:script (Results 1 - 25 of 419) sorted by relevance

1234567891011>>

/forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/main/js/org/forgerock/openidm/ui/admin/delegates/
H A DScriptDelegate.js25 var obj = new AbstractDelegate(constants.host + "/openidm/script");
27 obj.evalScript = function(script, additionalGlobals) {
29 if(_.isUndefined(script.globals) || _.isNull(script.globals)) {
30 script.globals = {};
34 script.globals = _.extend(script.globals, additionalGlobals);
40 data: JSON.stringify(script),
49 obj.evalLinkQualifierScript = function(script) {
50 script
[all...]
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/workflow/
H A DtriggerWorkflowGeneric.js28 triggerWorkflowGeneric.js - A script to create workflow from event hooks given a set of parameters.
29 The parameters is a map of key value pairs. The values are expected to be script snip-its which
52 In addition to the well-known "params" and "workflowName" variables, there can be additional variables exposed to this script depending on the context in which it is invoked.
55 Those variables are only going to be used indirectly, by evaluating the param keys, but they are still important to be aware of in order to make sense of this script.
59 for (var script in params) {
61 params[script] = eval(params[script]);
/forgerock/openam-v13/openam-scripting/src/main/java/org/forgerock/openam/scripting/
H A DScriptingLanguage.java19 import javax.script.ScriptEngine;
20 import javax.script.ScriptEngineManager;
24 * script engines, validation objects, and so on.
31 * Gets a script engine for evaluating scripts in this scripting language.
33 * @param scriptEngineManager the JSR 223 script engine manager to use to retrieve the script engine.
39 * Gets a script validator for validating scripts in this scripting language.
H A DScriptEvaluator.java19 import javax.script.Bindings;
20 import javax.script.ScriptException;
30 * Evaluates the given script object using an appropriate script engine for the language of the script. Any
31 * bindings associated with the script will be passed to the engine when the script is evaluated.
36 * which makes the objects visible to all script engines. This is most appropriate for stateless API objects
43 * the other scopes. Likewise, script variables will hide any same-named variables in the global scope.
45 * @param script th
53 evaluateScript(ScriptObject script, Bindings bindings) argument
[all...]
H A DScriptObject.java21 import javax.script.Bindings;
25 * Representation of a script in some scripting language.
33 private final String script; field in class:ScriptObject
38 * Constructs a script object with the given name, script body, language and variable bindings.
40 * @param name the name of the script.
41 * @param script the script itself.
42 * @param language the language that the script is written in.
43 * @param bindings the bindings used for the script
45 ScriptObject(final String name, final String script, final ScriptingLanguage language, final Bindings bindings) argument
61 ScriptObject(final String name, final String script, final ScriptingLanguage language) argument
[all...]
H A DScriptValidator.java29 * Validate the given script for the particular language rules and produces a list of
31 * @param script the script that needs to be validated.
33 * @throws java.lang.NullPointerException if script is empty.
35 List<ScriptError> validateScript(ScriptObject script); argument
H A DStandardScriptEvaluator.java25 import javax.script.Bindings;
26 import javax.script.ScriptContext;
27 import javax.script.ScriptEngine;
28 import javax.script.ScriptException;
29 import javax.script.SimpleBindings;
30 import javax.script.SimpleScriptContext;
33 * Evaluates scripts using the standard JSR 223 script engine framework.
35 * Each script is run in its own thread, watched by the spawning thread. If the script-thread
36 * takes longer to run than the global timeout set for scripts in this class's script engin
83 evaluateScript(final ScriptObject script, final Bindings bindings) argument
103 getScriptEngineFor(final ScriptObject script) argument
[all...]
/forgerock/openam/openam-scripting/src/main/java/org/forgerock/openam/scripting/
H A DScriptingLanguage.java19 import javax.script.ScriptEngine;
20 import javax.script.ScriptEngineManager;
24 * script engines, validation objects, and so on.
31 * Gets a script engine for evaluating scripts in this scripting language.
33 * @param scriptEngineManager the JSR 223 script engine manager to use to retrieve the script engine.
39 * Gets a script validator for validating scripts in this scripting language.
H A DScriptEvaluator.java19 import javax.script.Bindings;
20 import javax.script.ScriptException;
30 * Evaluates the given script object using an appropriate script engine for the language of the script. Any
31 * bindings associated with the script will be passed to the engine when the script is evaluated.
36 * which makes the objects visible to all script engines. This is most appropriate for stateless API objects
43 * the other scopes. Likewise, script variables will hide any same-named variables in the global scope.
45 * @param script th
53 evaluateScript(ScriptObject script, Bindings bindings) argument
[all...]
H A DScriptObject.java21 import javax.script.Bindings;
25 * Representation of a script in some scripting language.
33 private final String script; field in class:ScriptObject
38 * Constructs a script object with the given name, script body, language and variable bindings.
40 * @param name the name of the script.
41 * @param script the script itself.
42 * @param language the language that the script is written in.
43 * @param bindings the bindings used for the script
45 ScriptObject(final String name, final String script, final ScriptingLanguage language, final Bindings bindings) argument
61 ScriptObject(final String name, final String script, final ScriptingLanguage language) argument
[all...]
H A DScriptValidator.java29 * Validate the given script for the particular language rules and produces a list of
31 * @param script the script that needs to be validated.
33 * @throws java.lang.NullPointerException if script is empty.
35 List<ScriptError> validateScript(ScriptObject script); argument
H A DStandardScriptEvaluator.java25 import javax.script.Bindings;
26 import javax.script.ScriptContext;
27 import javax.script.ScriptEngine;
28 import javax.script.ScriptException;
29 import javax.script.SimpleBindings;
30 import javax.script.SimpleScriptContext;
33 * Evaluates scripts using the standard JSR 223 script engine framework.
35 * Each script is run in its own thread, watched by the spawning thread. If the script-thread
36 * takes longer to run than the global timeout set for scripts in this class's script engin
83 evaluateScript(final ScriptObject script, final Bindings bindings) argument
103 getScriptEngineFor(final ScriptObject script) argument
[all...]
/forgerock/openam-v13/openam-scripting/src/main/java/org/forgerock/openam/scripting/factories/
H A DSandboxedGroovyScriptEngine.java22 import javax.script.AbstractScriptEngine;
23 import javax.script.Bindings;
24 import javax.script.Compilable;
25 import javax.script.CompiledScript;
26 import javax.script.ScriptContext;
27 import javax.script.ScriptEngine;
28 import javax.script.ScriptEngineFactory;
29 import javax.script.ScriptException;
33 * Applies a sandbox when executing groovy scripts. Delegates to an actual script engine after registering the
34 * sandbox interceptor. Ensures sandbox is removed again after each script evaluatio
62 eval(final String script, final ScriptContext scriptContext) argument
108 compile(final String script) argument
[all...]
/forgerock/openam/openam-scripting/src/main/java/org/forgerock/openam/scripting/factories/
H A DSandboxedGroovyScriptEngine.java22 import javax.script.AbstractScriptEngine;
23 import javax.script.Bindings;
24 import javax.script.Compilable;
25 import javax.script.CompiledScript;
26 import javax.script.ScriptContext;
27 import javax.script.ScriptEngine;
28 import javax.script.ScriptEngineFactory;
29 import javax.script.ScriptException;
33 * Applies a sandbox when executing groovy scripts. Delegates to an actual script engine after registering the
34 * sandbox interceptor. Ensures sandbox is removed again after each script evaluatio
62 eval(final String script, final ScriptContext scriptContext) argument
108 compile(final String script) argument
[all...]
/forgerock/openam-v13/openam-scripting/src/test/java/org/forgerock/openam/scripting/
H A DGroovySandboxTests.java19 import javax.script.ScriptEngine;
20 import javax.script.ScriptEngineManager;
H A DJavascriptSandboxTests.java19 import javax.script.ScriptEngine;
20 import javax.script.ScriptEngineManager;
/forgerock/openam-v13/openam-scripting/src/test/java/org/forgerock/openam/scripting/factories/
H A DRhinoScriptEngineTest.java22 import javax.script.ScriptEngine;
23 import javax.script.ScriptException;
28 * Basic tests of the rhino script engine. The engine is more fully tested by the
38 // we instead use a real script engine factory.
56 String script = "3 * 4";
59 Number result = (Number) testEngine.eval(script);
68 String script = "var x = 1;\nvarxxxx y = 2;\nx+y";
79 testEngine.eval(script);
95 String script = "var x = JSON.parse('{\"a\" : 12}'); x['a']";
98 Object result = testEngine.eval(script);
[all...]
H A DSandboxedGroovyScriptEngineTest.java23 import javax.script.Compilable;
24 import javax.script.CompiledScript;
25 import javax.script.ScriptContext;
26 import javax.script.ScriptEngine;
27 import javax.script.ScriptEngineFactory;
28 import javax.script.ScriptException;
29 import javax.script.SimpleScriptContext;
73 String script = "1 + 1";
77 testEngine.eval(script, context);
81 verify(mockScriptEngine).eval(script, contex
[all...]
/forgerock/openam-v13/openam-authentication/openam-auth-scripted/src/main/java/org/forgerock/openam/authentication/modules/scripted/
H A DScriptedClientUtilityFunctions.java25 * Creates an anonymous function which causes the script to run automatically when the client page containing the
27 * returned by the client script to the server.
29 * @param script The client side script to be ran.
33 public static String createClientSideScriptExecutorFunction(String script, String outputParameterId, argument
64 " %s\n" + // script
67 script,
/forgerock/openam/openam-scripting/src/test/java/org/forgerock/openam/scripting/
H A DGroovySandboxTests.java19 import javax.script.ScriptEngine;
20 import javax.script.ScriptEngineManager;
H A DJavascriptSandboxTests.java19 import javax.script.ScriptEngine;
20 import javax.script.ScriptEngineManager;
/forgerock/openam/openam-scripting/src/test/java/org/forgerock/openam/scripting/factories/
H A DRhinoScriptEngineTest.java22 import javax.script.ScriptEngine;
23 import javax.script.ScriptException;
28 * Basic tests of the rhino script engine. The engine is more fully tested by the
38 // we instead use a real script engine factory.
56 String script = "3 * 4";
59 Number result = (Number) testEngine.eval(script);
68 String script = "var x = 1;\nvarxxxx y = 2;\nx+y";
79 testEngine.eval(script);
95 String script = "var x = JSON.parse('{\"a\" : 12}'); x['a']";
98 Object result = testEngine.eval(script);
[all...]
H A DSandboxedGroovyScriptEngineTest.java23 import javax.script.Compilable;
24 import javax.script.CompiledScript;
25 import javax.script.ScriptContext;
26 import javax.script.ScriptEngine;
27 import javax.script.ScriptEngineFactory;
28 import javax.script.ScriptException;
29 import javax.script.SimpleScriptContext;
73 String script = "1 + 1";
77 testEngine.eval(script, context);
81 verify(mockScriptEngine).eval(script, contex
[all...]
/forgerock/openam/openam-authentication/openam-auth-scripted/src/main/java/org/forgerock/openam/authentication/modules/scripted/
H A DScriptedClientUtilityFunctions.java25 * Creates an anonymous function which causes the script to run automatically when the client page containing the
27 * returned by the client script to the server.
29 * @param script The client side script to be ran.
33 public static String createClientSideScriptExecutorFunction(String script, String outputParameterId, argument
64 " %s\n" + // script
67 script,
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/resources/css/am-admin/
H A Dscripts.less17 .script-area {
21 .script-validation-message {
47 .script-context {
58 .script-change-context {
66 .script-upload {

Completed in 115 milliseconds

1234567891011>>