The JSON Web Token Generator Processor generates JSON Web Tokens.
Select the Processor Configuration tab and click on Add Processor.
Select the JSON Web Token Generator Processor from the drop-down.
On the Basic tab you can specify:
Output As: Whether the token should be outputted in the Transaction Data stream or as a Transaction Attribute
Output Attribute Name: The name of the attribute to output the token in
On the Conditional Execution tab, you can set additional Processor execution conditions. The transaction data dependent condition may be specified here as enhanced expression. If this expression returns anything other than TRUE (ignore case) – this processor will be skipped. No additional configuration for this Processor is required.
On the Claims tab you can specify:
Expires In: How long will it take the token to expire from the time it is generated. Use 0 for no expiration If the value is set with enhanced properties, the units are seconds.
Custom Token ID: A custom value for the Token ID. If not provided, a GUID will be used.
Issuer Claim: The value for the issuer claim.
Subject Claim: The value for the subject claim.
Audience Claim: The value for the audience claim.
Other Claims: Any other claims to include in the token.
On the Signature tab you can specify:
Signature Algorithm Family: The family that the algorithm used to sign the token belongs to. For example, RSASSA-PKCS1 SHA-256 belongs to the RSASSA family.
HMAC Secret: The secret used to generate the HMAC signature for the token.
KeyStore File: The KeyStore containing the key to validate the token.
KeyStore Type: The type of the KeyStore containing the key to validate the token.
KeyStore Password: The password for the KeyStore containing the key to validate the token.
Key Alias: The alias of the key to validate the token.
Cache KeyStore: If the KeyStore should be cached.