Hi Pradnya,
Where are these SCIM attributes coming from? Is this an external SCIM service that you want to retrieve attributes for?
If you're adding attributes to the context as part of an InfoMap authentication policy, these should be present in the user credential that is generated when that authentication policy completes. The code you need to use is something like this:
context.set(Scope.SESSION,"urn:ibm:security:asf:response:token:attribute","attrName","attrValue");
If you don't see the attribute in the credential after the policy completes, it is likely one of the following reasons:
- Some later InfoMap is clearing the context
- The Authentication process is not resulting in authentication at WebSEAL
- Some later authentication process in WebSEAL is replacing the credential
When you say "This custom Infomap is being called before actual login happens in WebSEAL", what is the login process at WebSEAL? Is it part of the same Authentication Policy? Is it another Authentication Policy? Is it a built-in WebSEAL authentication?
Jon.
------------------------------
Jon Harry
Consulting IT Security Specialist
IBM
------------------------------
Original Message:
Sent: Wed January 06, 2021 12:26 AM
From: Prandya Medhi
Subject: Addition of SCIM attributes of user to webseal header / credential
Hi,
I want to add SCIM attributes of user to webseal header / credential to make them available to backend server.
As these attributes are not seen in TDS, it looks like, traditional method of HTTP-TAG-VALUE wont be helpful.
I have tried to add such attributes using infomap to context object. I am able to read its value from context in infomap after setting.
But its not getting added to webseal's credential or header.
This custom login Infomap is being called before actual login happens in webseal.
Any pointers would be helpful.
Thanks,
Pradnya Medhi