Idira Identity: Can we alternate Uppercase/ Lowercase in SAML response?
87
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:59 PM
Question
Can we alternate Uppercase/ Lowercase in SAML response? E.g. in the SAML response, we need to set the entity nameID must with lowercase letter like user@domaina.com instead of User@domainA.com
Environment
21.12
Answer
You can do the case change in SAML scripting this by the function below:
.toUpperCase()
.toLowerCase()
For e.g.
setSubjectName(LoginUser.Get("mail").toLowerCase());
this is to set the nameid in SAML script into the user's email address (with turning into lowercase).
In other words,
setSubjectName(LoginUser.Get("mail").toUpperCase());
can help in turning into whole capital letter.