JWT Builder (jwtBuilder)

Information about configuring the builder. The elements and attributes that you specify are used to build the token.

Attribute name Data type Default value Description
expiry A period of time with hour precision 2h Indicates the token expiration time. Specify a positive integer followed by the unit of time, which can be hours (h). For example, specify 12 hours as 12h.
id string   A unique configuration ID.
issuer string   An Issuer is a case-sensitive URL using the HTTP or HTTPS scheme that contains scheme, host, and optionally port number and path components.
jti boolean false Indicates whether to generate a unique id for the token.
jwkEnabled boolean false Indicates whether to use JWK to sign the token.
keyAlias string   A key alias name that is used to locate the private key for signing the token with an asymmetric algorithm.
keyStoreRef A reference to top level keyStore element (string).   A keystore containing the private key necessary for signing the token with an asymmetric algorithm.
scope string   scope.desc=Specify a white space separated list of OAuth scopes.
sharedKey Reversably encoded password (string)   Specifies the secret that will be used to generate the shared keys.
signatureAlgorithm
  • HS256
  • RS256
RS256 Specifies the signature algorithm that will be used to sign the JWT token.
HS256
Use the HS256 signature algorithm to sign and verify tokens.
RS256
Use the RS256 signature algorithm to sign and verify tokens.
audiences
Description: The trusted audience list to be included in the aud claim in the JSON web token.
Required: false
Data type: string
claims
Description: Specify a comma separated list of claims to include in the token.
Required: false
Data type: string

Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: Monday, 5 December 2016
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-libcore-mp&topic=rwlp_config_jwtBuilder
File name: rwlp_config_jwtBuilder.html