Forum Discussion

Lane_Findley_54's avatar
Lane_Findley_54
Icon for Nimbostratus rankNimbostratus
Sep 23, 2011

Capture username when using APM AAA authenticaiton

When using the APM module, is there a way to pass the username that a user logs in with (AAA authentication) to a backend server?

 

 

For example pass the username in the header, or via a cookie ?

 

1 Reply

  • I was able to answer my own question by stealing an idea from one of the examples. The trick was to use something similar to the following. Where you build the cookie in the variable $cookie.

     

     

    when ACCESS_POLICY_AGENT_EVENT {

     

    :

     

    ACCESS::respond 302 Location $landing_page "Set-Cookie" $cookie

     

    }