Two classes in the servlet package perform authentication for servlets: AuthenticationServlet and AS400Servlet.
AuthenticationServlet is an HttpServlet implementation that performs basic authentication for servlets. Subclasses of AuthenticationServlet override one or more of the following methods:
The AuthenticationServlet class provides methods that allow you to:
The AS400Servlet class is an abstract subclass of AuthenticationServlet that represents an HTML servlet. You can use a connection pool to share connections and manage the number of connections to the server that a servlet user can have.
The AS400Servlet class provides methods that allow you to:
For more information about servlets in general, see the reference section.