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 |
OpenAM-specific integration classes.
|
org.forgerock.openig.script |
Scripting support.
|
org.forgerock.openig.util |
Miscellaneous utility classes.
|
Modifier and Type | Method and Description |
---|---|
Bindings |
Bindings.bind(Bindings source)
Binds all the bindings already bound from
source . |
Bindings |
Bindings.bind(String name,
Object value)
Binds a new
value to the given name . |
static Bindings |
Bindings.bindings()
Returns an empty
Bindings instance (mutable). |
static Bindings |
Bindings.bindings(Context context)
|
static Bindings |
Bindings.bindings(Context context,
Request request)
|
static Bindings |
Bindings.bindings(Context context,
Request request,
Response response)
|
static Bindings |
Bindings.bindings(String name,
Object value)
|
Modifier and Type | Method and Description |
---|---|
Bindings |
Bindings.bind(Bindings source)
Binds all the bindings already bound from
source . |
T |
Expression.eval(Bindings bindings)
Evaluates the expression within the specified bindings and returns the resulting object if it matches the
specified type, or
null if it does not resolve or match. |
static List<Object> |
Expressions.evaluate(List<Object> list,
Bindings bindings)
Evaluate a list that may contain some String that needs to be evaluated.
|
static Map<String,Object> |
Expressions.evaluate(Map<String,Object> map,
Bindings bindings)
Evaluate a map that may contain some values that needs to be evaluated.
|
static Object |
Expressions.evaluate(Object value,
Bindings bindings)
Evaluate an Object that may contain some String that needs to be evaluated.
|
static Object |
Expressions.evaluate(String value,
Bindings bindings)
Evaluate a String.
|
static String |
Expressions.evaluateKey(String key,
Bindings bindings)
Evaluate a String.
|
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.
|
Constructor and Description |
---|
Expression(String expression,
Class<T> expectedType,
Bindings initialBindings)
Constructs an expression for later evaluation.
|
Modifier and Type | Method and Description |
---|---|
Bindings |
HeapImpl.getProperties() |
Bindings |
Heap.getProperties()
Returns the properties from this heap and its parents if any.
|
Bindings |
EnvironmentHeap.getProperties() |
Modifier and Type | Method and Description |
---|---|
void |
PolicyEnforcementFilter.setClaimsSubject(Function<Bindings,Map<String,Object>,ExpressionException> claimsSubject)
Sets a function that returns a map of JWT claims to their values, for the
subject.
|
void |
PolicyEnforcementFilter.setEnvironment(Function<Bindings,Map<String,List<Object>>,ExpressionException> environment)
The environment passed from the client making the authorization request
as a sets a map of keys to lists of values.
|
Modifier and Type | Method and Description |
---|---|
protected Promise<V,ScriptException> |
AbstractScriptableHeapObject.runScript(Bindings bindings,
Context context,
Class<V> clazz)
Runs the compiled script using the provided bindings.
|
Modifier and Type | Method and Description |
---|---|
static Function<JsonValue,Bindings,JsonValueException> |
JsonValues.bindings()
Returns a function that will create some bindings based of a Map-based
JsonValue . |
static Function<JsonValue,Bindings,JsonValueException> |
JsonValues.bindings(Bindings bindings)
Returns a function that will create some bindings based of a Map-based
JsonValue . |
Modifier and Type | Method and Description |
---|---|
static Function<JsonValue,Bindings,JsonValueException> |
JsonValues.bindings(Bindings bindings)
Returns a function that will create some bindings based of a Map-based
JsonValue . |
static Function<JsonValue,JsonValue,JsonValueException> |
JsonValues.evaluated(Bindings bindings)
Returns a 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 Request |
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.
|
Copyright 2011-2017 ForgeRock AS.