~~NOTRANS~~
~~Title: Use Custom Tables and Views for Authentication~~
If you use the standard DBSecurityManager, DBWorkScreenAccess or RoleBasedDBWorkScreenAccess you have to use the following table names:
//AUTOLOGIN \\
USERS//
and following view names:
//V_ACCESSRULES \\
V_ROLESCREENS \\
V_USERROLES \\
V_USERSCREENS//
If you want to change the names without changing the source code, it's very easy to map the expected names to your own names. It's also possible to define synonyms in your database, if supported.
Simply add the following to your config.xml:
…
APP_USERS
APP_AUTOLOGIN
…
The mapping syntax is:
<**origtablename**>//newtablename//**origtablename**>
It's also possible to change the column names of standard tables and views. Simply add the following to your config.xml:
PWD_CHANGE_FLAG
The syntax for column mapping is:
<**origtablename_origcolumnname**>//newcolumnname//**origtablename_origcolumnname**>
A hidden feature is the support for changing the YES value. The standard value for YES is Y. If you want another value, e.g., 1, simply add the following to your config.xml:
1
The value will be used in DBWorkScreenAccess and DBSecurityManager and following tables:
//USERS \\
WORKSCREENS//