Skip to Content
0

Cannot retrieve user attributes from SAP Idp

Jan 15 at 01:28 PM

36

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Marko Sommer
Jan 18 at 08:33 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded