Interface IdentityAssertionPluginTechPreview
-
- All Known Implementing Classes:
ScriptableIdentityAssertionPluginTechPreview
public interface IdentityAssertionPluginTechPreviewImplementations of this interface carry out some user processing and returns the claims that should be included in the Assertion JWT in theIdentityAssertionClaims. The processing may include some form of local authentication and/or authorization.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.
-
-
-
Method Detail
-
preProcessingFilter
default Filter preProcessingFilter()
Return aFilterto deal with any pre-processing requirements. The default implementation simply calls the nextHandlerwithout doing any processing.- Returns:
- a
Filterto deal with any pre-processing requirements.
-
process
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. The processing may include some form of local authentication and/or authorization.- 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.
-
-