Skip to Content
avatar image
Former Member

Cannot retrieve user attributes from SAP Idp

Hi everyone,

we have a Java Application on SCP Canary where we want to retrieve the name and e-mail address of any user in the central SAP IDP by using their user id (D-Number or I-Number). Does anyone know how this can be done?

Currently we are using the function "getUser" from com.sap.security.um.user.UserProvider to retrieve the name and e-mail for a currently logged in user id. Somehow, this function only returns values for my own user id when I'm authenticated, but null values for all the other user ids.

Best regards
Christopher

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 18 at 08:33 AM

    Hi,

    the security concept for IDS does not allow programmatic integration with SAP ID service for applications like yours.
    You have to rely on the user attributes in the SAML assertion for the current user that you receive after authentication from IDS.

    Regards,
    Marko

    Add comment
    10|10000 characters needed characters exceeded