apara_5691
Jul 28, 2011Nimbostratus
Bypass Authentication Form
Good morning!!
I want to bypass an authentication form with an iRule, this is simple with a redirection:
http://example.com/script?user=user&pass=pass
I'm using an LDAP authentication profile with a simple configuration (default _sys_auth_ldap) so what I try to do is the next:
if {[AUTH::status] == 0} {
Successfull authentication
http::respond 320 Location "http://example.com/script?user=user&pass=pass"
}
The iRule "catches" the HTTP authentication params and redirects with this params
The problem is that the authentication profile is associated to the same VS that the redirection is performed, and the 302 is repeated indefinitely.
Any ideas for this particular "problem"? I don't have a lot of experience in iRule development so I'm a little lost :(
Regards,
Alberto