Lets say for simplicity I want to authenticate a user based on username and a password. So I have a logon.jsp which mapss to LogonFormController.
In the controller bean mapping I have following properties:
Is this the correct mapping, as in design point of view? The logon form contains only username and password field. Should this map directly to a domain class? The database has a table having fields username and password.And Person class conatins name,address,username.This is my only domain class.Is there any need for a different domain class?
Also, if I want to authenticate user based on username,password from database, should I do it in Validator class for the form?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com