?
Solved

Java Server Faces parameter pass?

Posted on 2016-11-16
6
Medium Priority
?
71 Views
Last Modified: 2017-01-25
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
0
Comment
Question by:the_b1ackfox
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 2000 total points
ID: 41890685
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
 
LVL 9

Author Comment

by:the_b1ackfox
ID: 41891745
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
 
LVL 82

Expert Comment

by:leakim971
ID: 41891868
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 9

Author Comment

by:the_b1ackfox
ID: 41893602
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
 
LVL 82

Expert Comment

by:leakim971
ID: 41893622
nice, don't forget to close the question, thanks
0
 
LVL 9

Author Closing Comment

by:the_b1ackfox
ID: 41906379
Thank you for the information, You helped us get pretty far into our project!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month7 days, 22 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question