the_b1ackfox
asked on
Java Server Faces parameter pass?
Hello Experts!
General Scenario: (and I can't provide exact details thanks to an nda)
I have an application that needs to access a website written in Java Server Faces. The application supports several end users, and the goal is for the application to grab the users credentials, and log into the website to download their documents and then log off (all automated). Is there a way to look at the website code to see what the parameters are to pass and then just pass the parameters in the URL. I looked at the code and I see that Javascript is being used (maybe in the login function?)
Can someone point me in the right direction to go about getting this information? Tell me how *you* would solve this issue?
-Fox
General Scenario: (and I can't provide exact details thanks to an nda)
I have an application that needs to access a website written in Java Server Faces. The application supports several end users, and the goal is for the application to grab the users credentials, and log into the website to download their documents and then log off (all automated). Is there a way to look at the website code to see what the parameters are to pass and then just pass the parameters in the URL. I looked at the code and I see that Javascript is being used (maybe in the login function?)
Can someone point me in the right direction to go about getting this information? Tell me how *you* would solve this issue?
-Fox
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
no, this format use the GET method to post, so you see parameters in the url.
that's why I asked you to check th header, if you it's a POST, check the header to see the parameters name, maybe more than user/password
that's why I asked you to check th header, if you it's a POST, check the header to see the parameters name, maybe more than user/password
ASKER
OK, so I couldn't wait until the weekend. :) I was able to get the parameters based upon your suggestions!!! Thank you so much!
nice, don't forget to close the question, thanks
ASKER
Thank you for the information, You helped us get pretty far into our project!
ASKER
https://www.somedumbsite.jsf/?userid=bob,password=1234