IBM Support

PH04136: Attempt to create user in SCIM returns 500 HTTP status code with DefaultParentNotFoundException message

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • While attempting to create an SCIM user with a base entry
    that has not been federated, SCIM will return a 500 HTTP
    status code with a DefaultParentNotFoundException message
    when it should return a 400 HTTP status code.
    
    [10/15/18 9:36:39:183 CDT] 0000006e id=00000000
    com.ibm.ws.security.wim.scim.rest.HandlerUtil >
    handleException Entry
    com.ibm.wsspi.security.wim.exception.DefaultParentNotFoundEx
    ception: CWIML0516E: The default parent for PersonAccount
    cannot be determined. Verify that the configuration for the
    FederatedRealm realm is correct.
    at
    com.ibm.ws.security.wim.ProfileManager.createImpl(ProfileMan
    ager.java:2951)
    at
    com.ibm.ws.security.wim.ProfileManager.genericProfileManager
    Method(ProfileManager.java:250)
    at
    com.ibm.ws.security.wim.ProfileManager.create(ProfileManager
    .java:2814)
    at
    com.ibm.ws.security.wim.VMMService.create(VMMService.java:33
    0)
    at
    com.ibm.ws.security.wim.scim.rest.UserHandler.createUser(Use
    rHandler.java:366)
    at
    com.ibm.ws.security.wim.scim.rest.UserHandler.handleRequest(
    UserHandler.java:172)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty- Virtual Member Manager      *
    *                  (VMM)                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: Attempt to create user in SCIM returns  *
    *                      500 HTTP status code with               *
    *                      DefaultParentNotFoundException message  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    While attempting to create an SCIM user with an ID that includes
    a base entry that has not been federated, SCIM will return a 500
    HTTP status code with a DefaultParentNotFoundException message
    when it should return a 400 HTTP status code.
    
    The JSON response might appear as follows:
    
    {
        "Errors": [
            {
                "code": "500",
                "description":
    "com.ibm.wsspi.security.wim.exception.DefaultParentNotFoundExcep
    tion: CWIML0516E: The default parent for PersonAccount cannot be
    determined. Verify that the configuration for the FederatedRealm
    realm is correct."
            }
        ]
    }
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH04136

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-16

  • Closed date

    2018-10-17

  • Last modified date

    2018-10-17

  • 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

  • RCD0 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021