Setting it up Download login application template Set it up in tomcat Test it Basic Features A login page Successful login Invaid login Redirected login Advanced features Going to a target url after the login happens Using a master page Patrs of the application Master page welcome page login page home page Role of the authentication plug in Using trivial authentication Using db authentication Writing your own authentication Using pre-fabricated parts Using AspireLoginPart Using LoginValidator Writing a login page Create a web form with userid and password Obtaining the page from aspire Submitting the page for validation Dealing with the response login page source code (link) properties file for login page Handling the submit on the server side validating the userid and password redirecting to the welcome page if successful redirecting to the same page if the login fails transferring the viewstate Tightening the login process Rejecting url's if not logged in Transferring to target urls Specifying a master page
This article describes the process of writing a web application using Aspire and any servlet API compliant application server such as Tomcat. There are two goals for this login application. The first is to describe how this login application is built in detail. The second goal of the application is to provide a working application that you can take home and built a more specialized application for yourself.
You can look at the completed application by using the followign link
This application demonstrate the following