IBM Support

PI27898: JAASLOGINCONTEXTENTRIES WITH SAME NAME CAUSES WRONG BEHAVIOR.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • See defect 148890
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: The duplicate name of                   *
    *                      JaasLoginContextEntries might cause     *
    *                      unexpected behavior.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When specifying the id for a jaasLoginContextRef as follows:
    ---------------------
    <contextService jndiName="concurrent/securityContextSvc">
    <securityContext deserializeLoginContextRef="testMyOwnId"/>
    </contextService>
    <jaasLoginContextEntry id="testMyOwnId" name="testMyOwnName"
    loginModuleRef="hashtable,userNameAndPassword,certificate,token"
    />
    <jaasLoginContextEntry id="testMyOwnId2" name="testMyOwnName"
    loginModuleRef="hashtable,userNameAndPassword,certificate,token"
    />
    --------------------
    the runtime code will incorrectly use the second entry with id
    "tedtMyOwnId2" because these two entries have the same name. The
    current implementaion resolves the jaasLoginContextEntry which
    is specified by deserializeLoginContextRef with the name
    attribute instead of the id attribute.
    

Problem conclusion

  • In order to maintain the backword compatiblity, the current
    behavior is unchanged. However, CWWKS1122W message is logged
    when this condition is detected for administrators to notify
    that there are duplicate entries.
    
    The fix for this APAR is
    currently targeted for inclusion in fix pack 8.5.5.5.  Please
    refer to the Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI27898

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-10-19

  • Closed date

    2014-11-03

  • Last modified date

    2014-11-03

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022