IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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 / Xsystem

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS3JSW","label":"Sterling B2B Integrator"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.2","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
11 September 2024