| java.lang.Object dinamica.AbstractModule dinamica.GenericTransaction dinamica.security.Login
Login | public class Login extends GenericTransaction (Code) | | Execute the login and return an exit code:
0 - OK
1 - LOGIN FAILED
3 - FORCE NEW PASSWORD
4 - ACCOUNT LOCKED
This Transaction provides the default login mechanism
against a database based realm, according to the Dinamica
security model database (s_user table).
The request must contain the parameters userlogin and passwd
(c) 2004 Martin Cordova
This code is released under the LGPL license
Dinamica Framework - http://www.martincordova.com
author: Martin Cordova (dinamica@martincordova.com) |
getUserPrefs | public void getUserPrefs(Db db, Recordset user) throws Throwable(Code) | | Set session attributes containing user preferences
like Locale and Stylesheet
Parameters: db - Db channel Parameters: user - Recordset with user info after successful login throws: Throwable - |
|
|