IBM Support

PI91500: GETUSERPRINCIPAL().GETNAME() RETURNS GARBLED USER ID ON 17.0.0.3

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using Liberty 17.0.0.3 on zOS with SAF registry,
    getUserPrincipal().getName() returns garbled user id:
    
    getUserPrincipal().getName() returns:
    JAT259[::c2c2c7e9d9c5c7e30000000100000040000000007e7490c0000
    0000
    000000000010000000000000000000000000000000000000000000000000
    0000
    000000000]
    when JAT259 was expected.
    
    This same behavior is seen when using
    com.ibm.websphere.security.auth.WSSubject.getCallerPrincipal
    ()
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of WebSphere Liberty for z/OS with a  *
    *                  SAF user registry                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: getUserPrincipal().getName() returns a  *
    *                      garbled user ID when using a SAF user   *
    *                      registry                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using WebSphere Liberty for z/OS fixpack 17.0.0.3 with a
    SAF registry, the call to getUserPrincipal().getName() returns a
    garbled user id:
    
    TESTUSER[::c2c2c7e9d9c5c7e30000000100000040000000007e7490c000000
    00
    0000000000100000000000000000000000000000000000000000000000000000
    000000000]
    when TESTUSER1 was expected.
    
    This same behavior is seen when using
    com.ibm.websphere.security.auth.WSSubject.getCallerPrincipal().
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI91500

  • Reported component name

    LIBERTY PROF -

  • Reported component ID

    5655W6514

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-12-13

  • Closed date

    2018-02-26

  • Last modified date

    2018-02-26

  • 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

    LIBERTY PROF -

  • Fixed component ID

    5655W6514

Applicable component levels

  • RCD0 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"CD0","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 June 2020