Building, Packaging, and Deploying the Form-Based Authentication Example Using Ant To build, package, and deploy this application using the Ant tool, follow these steps: Follow the steps in Setting Up Your farag ahmed Greenhorn Posts: 12 posted 4 years ago using Internet Explorer I got this error message: HTTP Status 408 - The time allowed for the login process has been exceeded. Introduction History of Web Applications Common Gateway Interface Other Solutions Java Servlets Support for Servlets Standalone Servlet Containers Add-on Servlet Containers Embeddable Servlet Containers Additional Thoughts The Power of Servlets Portability The section Specifying Security in the Deployment Descriptor shows how you specify these pages in the deployment descriptor.
Specifying Security for the Form-Based Authentication Example shows how you specify these pages in the deployment descriptor. You have unlimited access to the application now. I use form-based authentication almost exclusively, and it does work exactly as you're expecting, which is to say the same response as you'd see from BASIC authentication. Creating the Login Form and the Error Page When using form-based login mechanisms, you must specify a page that contains the form you want to use to obtain the user name
Technically, you don't "have to force a log in", though, since when the user requests a protected URL, the webapp server will do the forcing without any action on your part. If so, the user's request proceeds. Thanks in advance Rob Spoor Sheriff Posts: 20699 68 I like...
For this example, the login error page can be found at tut-install/examples/web/hello2_formauth/web/loginerror.html. For this application, this means a user that has been created in the
file realm and has been assigned to the group of