Teddy_A_328594
Jan 31, 2018Nimbostratus
iRule to assign user id in SAML Assertion message to http header
Need help to assign user id in SAML Assertion message to http header so that Non-SAML application can be supported.
Deployment Scenario:- * BIG-IP as SAML SP and external IdP * PeopleSoft application - SAML not supported * Used the following iRules to map user id in SAML Assertion to http header but no value in the variable
when ACCESS_POLICY_COMPLETED { log local0. "ACCESS POLICY COMPLETED" set pplsftUser [ACCESS::session data get "session.saml.last.attr.name.nameid"] log local0. "PeopleSoft User $pplsftUser" HTTP::header insert "X-P" $pplsftUser log local0. "Header Inserted $pplsftUser" }
Need to know how to get user-id on ACCESS::session code?
Thanks and Best regards Teddy