MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ExtAuthClient

Method ExtAuthClient

examples/extauth/ExtAuth.cpp:153–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151{
152public:
153 ExtAuthClient(ThrowStatusWrapper* status, IPluginConfig* cnf)
154 : PluginData(status, cnf),
155 ignorePassword(false),
156 ignoreLogin(false)
157 {
158 AutoRelease<IConfig> conf(cnf->getDefaultConfig(status));
159 if (conf)
160 {
161 AutoRelease<IConfigEntry> igPass(conf->find(status, "IgnorePassword"));
162 if (igPass)
163 ignorePassword = igPass->getBoolValue();
164 AutoRelease<IConfigEntry> igLgn(conf->find(status, "IgnoreLogin"));
165 if (igLgn)
166 ignoreLogin = igLgn->getBoolValue();
167 }
168 }
169
170 // IClient implementation
171 int authenticate(ThrowStatusWrapper* status, IClientBlock* cBlock);

Callers

nothing calls this directly

Calls 3

getDefaultConfigMethod · 0.45
findMethod · 0.45
getBoolValueMethod · 0.45

Tested by

no test coverage detected