July 27, 2016 at 3:49 am #12242superzlcParticipant
I want to send a custom HTTP header to an agent protected application when policy evaluation was successful.
Appreciate for any help.July 27, 2016 at 4:21 am #12245samriver1Participant
You can simply define the customized header as the instruction in the Profile Attributes Processing (or other Attributes Processing section) as instructed in the screen
Maps the profile attributes to be populated under specific names for the currently authenticated user. (property name: com.sun.identity.agents.config.profile.attribute.mapping)
To populate the value of profile attribute cn under name CUSTOM-Common-Name: enter cn in Map Key field, and enter CUSTOM-Common-Name in Corresponding Map Value field.
To populate the value of profile attribute mail under name CUSTOM-Email: enter mail in Map Key field, and enter CUSTOM-Email in Corresponding Map Value field.
i.e, you have LDAP attribute such as uid and you want to return to the application as SSO_UID, you simply add the followig mapping
JohnJuly 27, 2016 at 5:52 am #12247superzlcParticipant
Thanks for your help.
I tested the solution and it worked well.
However, when I was trying to map one key to multiple values,it failed.
[cn] = test1
[cn] = test2
[cn] = test3…
I cannot save the configuration with an error alert:
Plug-in com.sun.identity.idim.plugins.internal.AgetnsRepo:Error while setting attributes for agentonly=WebAgent
Is there any solution?
You must be logged in to reply to this topic.