Hi David,
I'd imagine you would want to simply read the value of the "Accept-Language" header that is coming from the browser client.
To get the client headers into the infomap, I think you need to set this advanced configuration parameter:
sps.httpRequestClaims.enabled
to true.
I hope that helps.
Jon.
------------------------------
Jon Harry
Senior Technical Sales Enablement Specialist
Identity and Access Management
IBM Technology, Worldwide
------------------------------
Original Message:
Sent: Tue April 26, 2022 04:12 PM
From: David Gianetti
Subject: Getting User Language from Session in Mapping Rules
Hello All,
I am working with an IBM SVA virtual appliance (v.10.0.2.0)
We have a service provider who receives our users via SAML2. The requirement given to me is to set a group in the SAML message based on language preference. My first thought was to get this from the browser (en or es). The question is how do I get this value from within the Mapping Rules?
The idea is to look for either 'en' or 'es' and then set a custom attribute based on the value. The partner will then use that to present the correct version of the application to the user.
Thanks for any help in advance! If I've been unclear in any way, please let me know.
------------------------------
David Gianetti
------------------------------