AuthenticationManager
manages the mapping between virtual login/password (to the VirtualDatabase
) and the real login/password for each backend.
AuthenticationManager.java の 47 行で定義されています。
Public メソッド | |
AuthenticationManager () | |
boolean | isValidAdminUser (AdminUser user) |
boolean | isValidVirtualUser (VirtualDatabaseUser vUser) |
boolean | isValidVirtualLogin (String vLogin) |
synchronized void | addVirtualUser (VirtualDatabaseUser vUser) |
void | addRealUser (String vLogin, DatabaseBackendUser rUser) throws AuthenticationManagerException |
DatabaseBackendUser | getDatabaseBackendUser (String vLogin, String backendName) |
HashMap | getRealLogins () |
ArrayList | getVirtualLogins () |
String | getXml () |
void | addAdminUser (AdminUser user) |
boolean | removeAdminUser (AdminUser user) |
ArrayList | getAdminUsers () |
Private 変数 | |
ArrayList | virtualLogins |
ArrayList | adminUsers |
HashMap | realLogins |
|
Creates a new 参照先 org.objectweb.cjdbc.controller.authentication.AuthenticationManager.adminUsers, org.objectweb.cjdbc.controller.authentication.AuthenticationManager.realLogins, と org.objectweb.cjdbc.controller.authentication.AuthenticationManager.virtualLogins.
|
|
Add an admin user for this authentication manager.
|
|
Associates a new database backend user to a virtual database login.
参照先 org.objectweb.cjdbc.common.users.AbstractDatabaseUser.getLogin(), と org.objectweb.cjdbc.controller.authentication.AuthenticationManager.realLogins.
|
|
Registers a new virtual database user.
参照先 org.objectweb.cjdbc.controller.authentication.AuthenticationManager.virtualLogins.
|
|
|
|
Gets the
|
|
|
|
参照元 org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMetaData.getTablePrivileges(), org.objectweb.cjdbc.controller.virtualdatabase.protocol.VirtualDatabaseConfiguration.isCompatible(), と org.objectweb.cjdbc.controller.virtualdatabase.protocol.VirtualDatabaseConfiguration.VirtualDatabaseConfiguration().
|
|
Format to xml
参照先 org.objectweb.cjdbc.common.users.VirtualDatabaseUser.getXml(), と org.objectweb.cjdbc.common.users.AdminUser.getXml().
|
|
Checks whether this administrator user has been registered to this
参照先 org.objectweb.cjdbc.controller.authentication.AuthenticationManager.adminUsers.
|
|
Checks whether a given virtual login has been registered to this
参照先 org.objectweb.cjdbc.common.users.AbstractDatabaseUser.getLogin(), と org.objectweb.cjdbc.controller.authentication.AuthenticationManager.virtualLogins.
|
|
Checks whether a given virtual database user has been registered to this
参照先 org.objectweb.cjdbc.controller.authentication.AuthenticationManager.virtualLogins. 参照元 org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseWorkerThread.run().
|
|
Remove an admin user from the admin list
|
|
参照元 org.objectweb.cjdbc.controller.authentication.AuthenticationManager.AuthenticationManager(), と org.objectweb.cjdbc.controller.authentication.AuthenticationManager.isValidAdminUser(). |
|
参照元 org.objectweb.cjdbc.controller.authentication.AuthenticationManager.addRealUser(), と org.objectweb.cjdbc.controller.authentication.AuthenticationManager.AuthenticationManager(). |
|