Forum Discussion
Faaiz_28768
Feb 17, 2011Nimbostratus
Dear hoolie,
Thanks for the link. I vistied this link (http://devcentral.f5.com/wiki/default.aspx/iRules/parse_username_from_http_requests_rule.html ) earlier. Upon your referring, i revisited and got a few hints that helped me to resolve my issue.
Yes, application prompts for the username and i did exactly as you highlighted and got the solution. Following is my iRule
when HTTP_REQUEST {
if {[HTTP::method] eq "POST" && ([HTTP::payload] contains "j_username") } {log local0. "HTTP User/Pass: [HTTP::payload] FROM {Client IP:[IP::client_addr]} "}
}
Thanks for the Chris as well.