Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here the important considerations are:1.-

  1. The username field is named j_username and password is named j_password.  These are typical default field names for many different Java authentication systems.

...

  1. The action of the login form is typically j_security_check.

If authentication fails, most authentication systems allow you to provide an error page, the example code available below includes this as well.

...