Package org.forgerock.openig.openam
Class ScriptableResourceUriProvider
java.lang.Object
org.forgerock.openig.script.AbstractScriptableHeapObject<String>
org.forgerock.openig.openam.ScriptableResourceUriProvider
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ResourceUriProvider
public final class ScriptableResourceUriProvider
extends AbstractScriptableHeapObject<String>
implements ResourceUriProvider
A scriptable resource URI provider. This resource URI provider acts as a simple wrapper around the
scripting engine. Scripts are provided with the bindings provided by
AbstractScriptableHeapObject
.- Since:
- 7.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Creates and initializes a scriptable resource url provider in a heap environment.Nested classes/interfaces inherited from class org.forgerock.openig.script.AbstractScriptableHeapObject
AbstractScriptableHeapObject.AbstractScriptableHeaplet<V>
-
Method Summary
Modifier and TypeMethodDescriptionresourceUri
(Context context, Request request) Returns the resource URI as aString
to be used when making policy requests.Methods inherited from class org.forgerock.openig.script.AbstractScriptableHeapObject
close, runScript, runScriptAsync, setArgs, setClientHandler
-
Method Details
-
resourceUri
Description copied from interface:ResourceUriProvider
Returns the resource URI as aString
to be used when making policy requests.- Specified by:
resourceUri
in interfaceResourceUriProvider
- Parameters:
context
- The request context.request
- The request.- Returns:
- a
String
representing the resource URI.
-