So within the action LoginUser is hard coded instantiation of "User"
Any objection to making a
User UserFactory.getUser( String logon, String password ) throws
Exception
that will return a user or throw an Exception if the password is
wrong/user does not exist (perhaps this should be a
LogonFailedException)
This has two purposes.
- better OO design in my opinion.
- allows easier use as an API, which is how I am using it right now.
Thoughts?
--
Kevin A Burton
Senior Software Engineer
Kendara Inc
http://www.kendara.com
Mobile: 408-910-6145
"If you continue running Windows, your system may become unstable."
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]