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
LVL 9
the_b1ackfoxCIOAsked:
Who is Participating?
 
leakim971PluritechnicianCommented:
with chrome do Chrome Menu -> More Tools -> Developer Tools
click on network tab
do a login and click on left on the line you see appear when you click on the login, one the right go on header tab and locate your parameters name
0
 
the_b1ackfoxCIOAuthor Commented:
I'll give that a try this weekend.  Once I have the parameters is there a particular format to put them into the url string?

https://www.somedumbsite.jsf/?userid=bob,password=1234
0
 
leakim971PluritechnicianCommented:
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
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
the_b1ackfoxCIOAuthor Commented:
OK, so I couldn't wait until the weekend.  :)  I was able to get the parameters based upon your suggestions!!!  Thank you so much!
1
 
leakim971PluritechnicianCommented:
nice, don't forget to close the question, thanks
0
 
the_b1ackfoxCIOAuthor Commented:
Thank you for the information, You helped us get pretty far into our project!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.