mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:40:38 +01:00
By Alex - fix for bug CORE-4659 : Error "Missing security context for .....\SECURITY3.FDB"
This commit is contained in:
parent
22ec9d1f85
commit
76df787334
@ -50,8 +50,8 @@ Get::Get(Config* firebirdConf)
|
||||
}
|
||||
}
|
||||
|
||||
Get::Get(const char* plugName)
|
||||
: GetPlugins<Firebird::IManagement>(IPluginManager::AuthUserManagement, plugName)
|
||||
Get::Get(Config* firebirdConf, const char* plugName)
|
||||
: GetPlugins<Firebird::IManagement>(IPluginManager::AuthUserManagement, firebirdConf, plugName)
|
||||
{
|
||||
if (!hasData())
|
||||
{
|
||||
|
@ -254,8 +254,8 @@ public:
|
||||
class Get : public Firebird::GetPlugins<Firebird::IManagement>
|
||||
{
|
||||
public:
|
||||
Get(Config* firebirdConf);
|
||||
Get(const char* plugName);
|
||||
explicit Get(Config* firebirdConf);
|
||||
Get(Config* firebirdConf, const char* plugName);
|
||||
};
|
||||
|
||||
int setGsecCode(int code, Firebird::IUser* iUser);
|
||||
|
@ -215,7 +215,7 @@ IManagement* UserManagement::getManager(const char* name)
|
||||
}
|
||||
|
||||
// We have new user manager plugin
|
||||
Auth::Get getPlugin(plugName.c_str());
|
||||
Auth::Get getPlugin(att->att_database->dbb_config, plugName.c_str());
|
||||
return registerManager(getPlugin, plugName.c_str());
|
||||
}
|
||||
|
||||
@ -238,7 +238,7 @@ void UserManagement::openAllManagers()
|
||||
if (flag)
|
||||
continue;
|
||||
|
||||
Auth::Get getPlugin(plugName.c_str());
|
||||
Auth::Get getPlugin(att->att_database->dbb_config, plugName.c_str());
|
||||
registerManager(getPlugin, plugName.c_str());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user