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 byAbstractScriptableHeapObject
.- Since:
- 7.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScriptableResourceUriProvider.Heaplet
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
resourceUri(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 Detail
-
resourceUri
public String resourceUri(Context context, Request request)
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.
-
-