OAM11g R2 PS3:How to add attribute to userMap from custom authentication plugin
Hello All,
I want to use an advanced post-auth rule to switch the auth scheme. The attribute used (e.g. carlicense) is not being read in the post auth rule eg:
user.userMap['carLicense'] == 'something'
But it never matches while eg:
user.userMap['mail'] == 'something'
will work
I can pass carlicense attribute in a http_header in the authn and authz policy of the application. I have read somewhere that the advanced rules cannot read all props..
So i was trying to read the value from ldap and add it to the usermap of even add it to the session from a custom authentication plugin ( i can off course read the value from and write values to ldap in custom plugin successfully).