Forum Discussion

Ronny_Vanbroec1's avatar
Ronny_Vanbroec1
Icon for Nimbostratus rankNimbostratus
Mar 01, 2016

Http auth respone data to variable

I've setup an Http auth server that gives back a response which includes auth status and application rights the response looks like an XML file

 

 

app1;app2,app3

 

status

 

 

 

I use the status for checking if auth is succesfull and that works fine

 

Now i'm searching on how to use the app1;app2,app3 data to assign to session variables so that i can use them in an acl to protect application access

 

5 Replies

  • Josiah_39459's avatar
    Josiah_39459
    Historic F5 Account
    Are you connecting to the http auth server via a sideband irule? Or external login page? With a sideband irule, it's as easy as using "ACCESS::session data set".
  • It is the auth response on the AAA http server in an APM policy that i would like to use
  • The AAA HTTP server is used in the APM policy so no sideband irule , at the moment i use the build in logon page . But we will have to switch to an external logon page in a later stage
  • Josiah_39459's avatar
    Josiah_39459
    Historic F5 Account

    I know no way to do this via the HTTP AAA object. That object is for verifying successful logon or not only. It has no capability to set custom session variables. You would have to use a sideband irule.