Multiple choice technology web technology

In form-based authentication, what must be included in the HTML returned from the URL specified by the element?

  1. a base-64 encoded user name and password

  2. a form that POSTs to the j_security_check URL

  3. an applet that requests the user name and password from the user

  4. a hidden field that supplies the login-constraint used by the application

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Form-based authentication requires the login page to contain a form that POSTs to j_security_check with j_username and j_password fields. The servlet container handles the authentication processing at this URL.