IBM Support

IT07941: HTTP CLIENT ADAPTER DOES NOT ALLOW LARGE USERID AND PASSWORD COMBINATIONS FOR BASICAUTHENTICATION

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

  • Customer is trying to use BasicAuthentication in HTTP Client
    adapter with a user ID and password that are both 32 characters.
    [java.lang.ArrayIndexOutOfBoundsException:
    Array index out of range: 75], reduce the
    
    If they reduce the size of both values, the call
    would start, but the partner would reject it.
    Investigation into the sourcecode does show that there is a
    hard limitation in size:
    base64_encode(user+":"+pw) is restricted to 75 characters.
    See
    com.sterlingcommerce.woodstock.services.httpclient.session.HttpC
    ommand#generateBasicAuthHeaders()
    Line 484 in Version 1.10 of the source file.
    

Local fix

  • Workaround:
    Reduce the size of the password or the length of the user name
    to a total of less than 75 characters.
    

Problem summary

  • Users Affected:
    All
    
    Problem Description:
    HTTP Client Get Service errors out with
    ArrayIndexOutOfBoundsException when userid and password is
    long.
    
    Platforms Affected:
    All
    

Problem conclusion

  • Resolution Summary:
    A fix has been provided.
    
    Delivered In:
    5020500_8
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT07941

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    522

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-26

  • Closed date

    2015-08-28

  • Last modified date

    2015-10-29

  • 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

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

  • R525 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.2","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
29 October 2015