Uses of Class
org.forgerock.openig.el.Bindings
-
Packages that use Bindings Package Description org.forgerock.openig.el Integrates with the Java Enterprise Edition Unified Expression Language API.org.forgerock.openig.heap Manages collections or "heaps" of associated objects, initialized from declarative configuration artifacts.org.forgerock.openig.openam Integration classes specifically for ForgeRock Access Management.org.forgerock.openig.script Scripting support.org.forgerock.openig.util Miscellaneous utility classes. -
-
Uses of Bindings in org.forgerock.openig.el
Methods in org.forgerock.openig.el that return Bindings Modifier and Type Method Description Bindings
Bindings. bind(String name, Object value)
Binds a newvalue
to the givenname
.Bindings
Bindings. bind(Bindings source)
Binds all the bindings already bound fromsource
.static Bindings
Bindings. bindings()
Returns an emptyBindings
instance (mutable).static Bindings
Bindings. bindings(String name, Object value)
static Bindings
Bindings. bindings(Context context)
Returns aBindings
initialized with the givencontext
andrequest
.static Bindings
Bindings. bindings(Context context, Request request)
Returns aBindings
initialized with the givencontext
andrequest
.static Bindings
Bindings. bindings(Context context, Request request, Response response)
Returns aBindings
initialized with the givencontext
,request
andresponse
.Methods in org.forgerock.openig.el with parameters of type Bindings Modifier and Type Method Description Bindings
Bindings. bind(Bindings source)
Binds all the bindings already bound fromsource
.T
Expression. eval(Bindings bindings)
Evaluates the expression within the specified bindings and returns the resulting object if it matches the specified type, ornull
if it does not resolve or match.Promise<T,NeverThrowsException>
Expression. evalAsync(Bindings bindings)
Evaluates asynchronously the expression with the specified bindings and returns a promise of the resulting object if it matches the specified type, or a promise completed withnull
if it does not resolve or match.static Promise<Object,NeverThrowsException>
Expressions. evaluateAsync(Object value, Bindings bindings)
Evaluate an Object that may contain some expressions that needs to be evaluated.static Promise<List<Object>,NeverThrowsException>
Expressions. evaluateAsync(List<Object> list, Bindings bindings)
Evaluate a list that may contain some Expressions that needs to be evaluated.static Promise<Map<String,Object>,NeverThrowsException>
Expressions. evaluateAsync(Map<String,Object> map, Bindings bindings)
Evaluate a map that may contain some expressions that needs to be evaluated.static Object
Expressions. from(Object value, Bindings initialBindings)
Compile to expression an Object that may contain some String that needs to be evaluated.static Expression<Object>
Expressions. from(String value, Bindings initialBindings)
Convert a String to a compiled expression.static List<Object>
Expressions. from(List<Object> list, Bindings initialBindings)
Compile as expressions what can be compiled in a list.static Map<String,Object>
Expressions. from(Map<String,Object> map, Bindings initialBindings)
Compile a map that may contain some values that needs to be transformed as expression.void
LeftValueExpression. set(Bindings bindings, Object value)
Sets the result of an expression to a specified value.static <T> Expression<T>
Expression. valueOf(String expression, Class<T> expectedType, Bindings initialBindings)
Factory method to create an Expression.Constructors in org.forgerock.openig.el with parameters of type Bindings Constructor Description Expression(String expression, Class<T> expectedType, Bindings initialBindings)
Constructs an expression for later evaluation. -
Uses of Bindings in org.forgerock.openig.heap
Methods in org.forgerock.openig.heap that return Bindings Modifier and Type Method Description Bindings
EnvironmentHeap. getProperties()
Bindings
Heap. getProperties()
Returns the properties from this heap and its parents if any.Bindings
HeapImpl. getProperties()
protected Bindings
GenericHeaplet. initialBindings()
Return an initial set of bindings based on the heap properties, along with any utility items from the heap, such as the clock. -
Uses of Bindings in org.forgerock.openig.openam
Method parameters in org.forgerock.openig.openam with type arguments of type Bindings Modifier and Type Method Description void
PolicyEnforcementFilter. setClaimsSubject(AsyncFunction<Bindings,Map<String,Object>,NeverThrowsException> claimsSubject)
Sets a function that returns a map of JWT claims to their values, for the subject.void
PolicyEnforcementFilter. setEnvironment(AsyncFunction<Bindings,Map<String,List<Object>>,NeverThrowsException> environment)
The environment passed from the client making the authorization request as a sets a map of keys to lists of values. -
Uses of Bindings in org.forgerock.openig.script
Methods in org.forgerock.openig.script with parameters of type Bindings Modifier and Type Method Description protected V
AbstractScriptableHeapObject. runScript(Bindings bindings, Context context, Class<V> clazz)
Synchronously runs the compiled script using the provided bindings.protected Promise<V,ScriptException>
AbstractScriptableHeapObject. runScriptAsync(Bindings bindings, Context context, Class<V> clazz)
Asynchronously runs the compiled script using the provided bindings. -
Uses of Bindings in org.forgerock.openig.util
Methods in org.forgerock.openig.util that return types with arguments of type Bindings Modifier and Type Method Description static Function<JsonValue,Bindings,JsonValueException>
JsonValues. bindings()
Returns a function that will create some bindings based of a Map-basedJsonValue
.static Function<JsonValue,Bindings,JsonValueException>
JsonValues. bindings(Bindings bindings)
Returns a function that will create some bindings based of a Map-basedJsonValue
.Methods in org.forgerock.openig.util with parameters of type Bindings Modifier and Type Method Description static Function<JsonValue,Bindings,JsonValueException>
JsonValues. bindings(Bindings bindings)
Returns a function that will create some bindings based of a Map-basedJsonValue
.static Function<JsonValue,JsonValue,JsonValueException>
JsonValues. evaluated(Bindings bindings)
Returns a function that will evaluate all String nodes.static AsyncFunction<JsonValue,JsonValue,NeverThrowsException>
JsonValues. evaluatedAsync(Bindings bindings)
Returns an async function that will evaluate all String nodes.static <T> Function<JsonValue,Expression<T>,JsonValueException>
JsonValues. expression(Class<T> type, Bindings bindings)
Returns a function for transforming JsonValues to expressions.static Promise<Request,URISyntaxException>
BaseUriUtil. rebaseRequest(Expression<String> baseUri, Bindings bindings, Request request)
Rebase the URI of the request based on the evaluation of the baseUri expression.static Function<JsonValue,JsonValue,JsonValueException>
JsonValues. resolvedLocation(Bindings bindings)
Returns a function that will resolve the field $location.
-