I have application where username and password coming in two different URLs and when password is coming no username parameter is passed,
seems application is storing username in cookie(Not sure).
So how we can configure session and login page for same.
URL - /user/login.jsp
Parameters - CSRF_TOKEN&username=test&submit=enter
URL - /user/authenticate.jsp
Parameters - CSRF_TOKEN&password=****&submit=enter ---- here no username parameter
to be honest i never had to do that, if I had to do it, I would do it the following way.
first of all i find a point in common between the 2 pages of authentificaiton.
I think you should have a session cookie or the CSRF token for example which should be similar to the 2 pages. you could perhaps confirm this point to us.
you could then set up a tab (you can use session tab or APM too) that records the session (username). and when you are redirected to (/user/authenticate.jsp) you would add the username parameter.
Do you understand the solution I offer you? if you need help to build the irule do not hesitate to ask me.
Keep me in touch.