IBM Support

LI80111: JWT-GENERATE POLICY ADD UNNECESSARY SINGLE QUOTATION ON EXP-CLAIM(VALIDITY PERIOD) PROPERTY.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When the customer try to change the value of the exp-claim
    property on jwt-generate policy from 3600(default) to other
    value like 7200 in the assemble view.
    The value of the property is surrounded by single quotation
    marks like ('7200'), it cause to generate following error when
    we try to stage product.
    ========================================
    Error
    The policy named "jwt-generate" is not valid against the schema
    of policy type: jwt-generate, version: 1.0.0. See additional
    messages for more information.
    
    Message: "Invalid type: string (expected integer)", DataPath:
    "/exp-claim", SchemaPath: "/properties/exp-claim/type"
    
    API jwt-generate-test:1.0.0
    Error ID: 5abc68dee4b0da1b491ccf90
    ========================================
    

Local fix

  • Remove single quotation manually on Source tab.
    

Problem summary

  • The jwt-generate policy adds unnecessary " ' " -single
    quotation- on the exp-claim (Validity Period) property.
    

Problem conclusion

  • The fix is targeted for inclusion in IBM API Management v5.0.8.4
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI80111

  • Reported component name

    API CONNECT ENT

  • Reported component ID

    5725Z2201

  • Reported release

    508

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-05-01

  • Closed date

    2018-06-19

  • Last modified date

    2018-06-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    API CONNECT ENT

  • Fixed component ID

    5725Z2201

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"508","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
19 June 2018