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 classScriptableIdentityAssertionPluginTechPreview.HeapletCreates 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 FilterpreProcessingFilter()Return aFilterto 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:IdentityAssertionPluginTechPreviewReturn aFilterto deal with any pre-processing requirements. The default implementation simply calls the nextHandlerwithout doing any processing.- Specified by:
preProcessingFilterin interfaceIdentityAssertionPluginTechPreview- Returns:
- a
Filterto deal with any pre-processing requirements.
-
process
public Promise<IdentityAssertionClaims,IdentityAssertionException> process(Context context, Request request, Map<String,Object> incomingClaims)
Description copied from interface:IdentityAssertionPluginTechPreviewPreform 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:
processin 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
IdentityAssertionClaimspromise that represents claims to be returned in the Assertion JWT.
-
-