Forum Discussion
spalande
Nacreous
Jan 20, 2015iRule question
for one of the application using SAML for authentication. F5 is pass through for authentication, no apm policy applied
requirement is as below.
SSO should be enabled if already login into ...
Brad_Parker
Cirrus
Jan 23, 2015Will something like this possibly work for you?
when HTTP_REQUEST {
check for session cookie and forward on to pool if exists
if { HTTP::cookie exists MRHsession }{
return
}
if no session cookie check is client is on the corporate network and forward on to pool if yes
elseif { [IP::addr[IP::client_addr] equal 10.0.0.0/8] }{
return
}
if no session cookie or not on the corporate network redirect to the public login page
else {
HTTP::redirect "http://[HTTP::host]/public"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects