Implementing Authentication

This is the simple part—simply declare the authentication scheme in the DD. The main DD element for authentication is <login-config>.

image with no caption

Note

Except for FORM, once you’ve declared the <login-config> element in the DD, implementing Authentication is done! (Assuming you’ve already configured username/password/role info into your server.)

Get Head First Servlets and JSP, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.