Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

security question

 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question is from Acutaltest.com

In a form-based authentication, what must be included in the HTML retrun from the URL specified by the <login-page> element?

A. a base-64 encoded user name and password
B. a form that POSTs to that j_security_check URL
C. an applet that requests the user name and password from the user
D. a hidden field that supplies the login-constraint used by the application

Please answer it ..Actually I didn't uderstood the question also..
 
Tony romer
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answer is b. You have to declare action in this way if you use FORM based authentication.
 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is j_security_check is manditory for form based authentication..
I have studied HFSJ but didn't find ..
 
Tony romer
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is,
if you do not say this as an action,
then form based authentication is not triggered.
I did not study that book but you can google form based authentication and see some examples.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!