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
Nested ClassesModifier and TypeClassDescriptionstatic classCreates 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 aStringto 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:ResourceUriProviderReturns the resource URI as aStringto be used when making policy requests.- Specified by:
 resourceUriin interfaceResourceUriProvider- Parameters:
 context- The request context.request- The request.- Returns:
 - a 
Stringrepresenting the resource URI. 
 
 -