• 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic