IBM Support

PI24446: CONNECTING TO APPCENTER WITH A LOG-IN NAME DIFFERENT BY CASE SENSETIVE FROM THE LOG IN NAME DEFINED IN LDAP RESULT IN ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a user connects from the Appcenter mobile client with a
    login name that is in a different case than the one defined in
    the LDAP entry
    (so for example login from the client in lower case while it is
    defined in upper case in LDAP) a NPE occurs in the AppCenter
    services.
    This can result in the following error message
    "Server error. contact the server administrator " and empty
    AppCenter list will be shown .
    
    Caused by: java.lang.NullPointerException
        at
    com.ibm.puremeap.resources.data.impl.FavoriteApplicationHelper.a
    reFavoriteApplicationsForPrincipal(FavoriteApplicationHelper.jav
    a:442)
        at
    com.ibm.puremeap.resources.data.impl.FavoriteApplicationHelper.g
    etAreFavoriteApplicationsForPrincipal(FavoriteApplicationHelper.
    java:408)
    
    Reason is that the LDAP login name attribute can be case
    insensitive and this login name is stored in the AppCenter
    database but the principal
    contains the value of the login name entered on the mobile
    client.
    So this principal is not found in the database if its value is
    not identical with the one defined in LDAP.
    
    Problem doesn't occur if the LDAP login name attribute is case
    sensitive.
    
    Additional Keywords :
    Appcenter,LDAP,
    
    Versions affected:
    6.x
    
    Initial impact :
    Low
    

Local fix

  • Log in the AppCenter client mobile with a user name having
    exactly the same case than the one defined in LDAP.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users connecting on a mobile to Application Center with the  *
    * Application Center client.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When a user connects from the Application Center mobile      *
    * client with a login name that is in a different case than    *
    * the one defined in the LDAP entry (so for example login from *
    * the client in lower case while it is defined in upper case   *
    * in LDAP) a NullPointer execption occurs in the Application   *
    * Center server part and the mobile client receives a server   *
    * error; so the connection fails:                              *
    *                                                              *
    * Caused by: java.lang.NullPointerException                    *
    *     at                                                       *
    * com.ibm.puremeap.resources.data.impl.FavoriteApplicationHelp *
    * er.areFavoriteApplicationsForPrincipal(FavoriteApplicationHe *
    * lper.java:442)                                               *
    *     at                                                       *
    * com.ibm.puremeap.resources.data.impl.FavoriteApplicationHelp *
    * er.getAreFavoriteApplicationsForPrincipal(FavoriteApplicatio *
    * nHelper.java:408)                                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The code was modified so that the user name is always converted
    to the form that is stored in LDAP.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI24446

  • Reported component name

    WORKLIGHT ENTER

  • Reported component ID

    5725I4300

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-08-25

  • Closed date

    2014-09-09

  • Last modified date

    2014-09-09

  • 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

    WORKLIGHT ENTER

  • Fixed component ID

    5725I4300

Applicable component levels

  • R610 PSY

       UP

  • R620 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021