Forum Discussion

Raghbir_Singh_S's avatar
Raghbir_Singh_S
Icon for Nimbostratus rankNimbostratus
Jul 18, 2016

APM reauthenticate when switch SSL Server profile disable to enable or enable to disable

I am using APM and LTM. I am using irule to assign different pool depending on URL and also disable or enable to SSL SERVER profile. However, when I switch the pool and enable or disable to SSL Server profile the APM module is forcing user to re-authenticate. I am using AD Authentication (AD AAA) to authenticate the users. I want SSO session remain. Please advise why it is happening. Here is my irule code

 

when HTTP_REQUEST { HTTP::header remove Accept-Encoding switch [string tolower [HTTP::host]]

 

{ "aaaa.com" { pool /Common/aaaa_pool SSL::disable serverside switch [string tolower [HTTP::uri]] { "/" { SSL::disable serverside HTTP::redirect https://[HTTP::host]/Home.aspx } } } "bbbb.com" { pool /Common/bbbb_pool SSL::enable serverside if { ([HTTP::uri] == "/")} { HTTP::redirect https://[HTTP::host]/default.aspx } } "cccc.com" { pool /Common/cccc_pool SSL::disable serverside if { ([HTTP::uri] == "/")} { log local0. "this is the Home PAGE New Redirect for [HTTP::host]" HTTP::redirect https://[HTTP::host]/cccc/default.aspx } } "dddd.com" { pool /Common/dddd_pool SSL::enable serverside if { ([HTTP::uri] == "/")} { HTTP::redirect https://[HTTP::host]/login.aspx?ReturnUrl=%2f } }

 

} }