aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes security question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "security question" Watch "security question" New topic
Author

security question

Amruth Puppala
Ranch Hand

Joined: Jul 14, 2008
Posts: 295
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..


SCJP 5 |SCWCD 5| Started thinking about Web Services ?
Tony romer
Ranch Hand

Joined: Jul 21, 2008
Posts: 32
Answer is b. You have to declare action in this way if you use FORM based authentication.
Amruth Puppala
Ranch Hand

Joined: Jul 14, 2008
Posts: 295
Is j_security_check is manditory for form based authentication..
I have studied HFSJ but didn't find ..
Tony romer
Ranch Hand

Joined: Jul 21, 2008
Posts: 32
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: security question