Impersonation :: How to get the SM_USERIMPERSONATORNAME header.

book

Article ID: 51150

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) AXIOMATICS POLICY SERVER CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

Description:

I just configured my environment to do impersonation. It works. Now for the application needs, I would like to get the header:

 SM_USERIMPERSONATORNAME
 

Reading the Policy Server Design Guide, I noticed that:

The following list contains user attributes that SiteMinder generates automatically.

When I list the header variables, I am surprised that this header is not present, even if it is told that SiteMinder generates it automatically. How can I get it?

Solution:

For those automatic generated headers, you have to create a response to get them. In order to get the header:

 SM_USERIMPERSONATORNAME
 

You need to create a response for user attribute, with:

 variable  SM_USERIMPERSONATORNAME
 attribute   SM_USERIMPERSONATORNAME
 

Bind that response to the Impersonation Start User event. Then you will be able to get the value and to pass it to your backend application.

Environment

Release:
Component: SMIIS