Class ScriptableIdentityAssertionPluginTechPreview
- java.lang.Object
-
- org.forgerock.openig.script.AbstractScriptableHeapObject<IdentityAssertionClaims>
-
- org.forgerock.openig.handler.assertion.ScriptableIdentityAssertionPluginTechPreview
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,IdentityAssertionPluginTechPreview
public class ScriptableIdentityAssertionPluginTechPreview extends AbstractScriptableHeapObject<IdentityAssertionClaims> implements IdentityAssertionPluginTechPreview
A scriptableIdentityAssertionPluginTechPreview
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScriptableIdentityAssertionPluginTechPreview.Heaplet
Creates and initializes a ScriptableIdentityAssertionPlugin 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 Filter
preProcessingFilter()
Return aFilter
to deal with any pre-processing requirements.Promise<IdentityAssertionClaims,IdentityAssertionException>
process(Context context, Request request, Map<String,Object> incomingClaims)
Preform some processing and return a set of claims to be returned in the Assertion JWT.-
Methods inherited from class org.forgerock.openig.script.AbstractScriptableHeapObject
close, runScript, runScriptAsync, setArgs, setClientHandler
-
-
-
-
Method Detail
-
preProcessingFilter
public Filter preProcessingFilter()
Description copied from interface:IdentityAssertionPluginTechPreview
Return aFilter
to deal with any pre-processing requirements. The default implementation simply calls the nextHandler
without doing any processing.- Specified by:
preProcessingFilter
in interfaceIdentityAssertionPluginTechPreview
- Returns:
- a
Filter
to deal with any pre-processing requirements.
-
process
public Promise<IdentityAssertionClaims,IdentityAssertionException> process(Context context, Request request, Map<String,Object> incomingClaims)
Description copied from interface:IdentityAssertionPluginTechPreview
Preform some processing and return a set of claims to be returned in the Assertion JWT. The processing may include some form of local authentication and/or authorization.- Specified by:
process
in interfaceIdentityAssertionPluginTechPreview
- Parameters:
context
- The context.request
- The request.incomingClaims
- The claims provided in the JWT from the requester based on the incoming claim keys.- Returns:
- An
IdentityAssertionClaims
promise that represents claims to be returned in the Assertion JWT.
-
-