| 327 | } |
| 328 | |
| 329 | void UserManagement::checkSecurityResult(int errcode, IStatus* status, |
| 330 | const char* userName, unsigned operation) |
| 331 | { |
| 332 | if (!errcode) |
| 333 | { |
| 334 | return; |
| 335 | } |
| 336 | errcode = Auth::setGsecCode(errcode, operation); |
| 337 | |
| 338 | Arg::StatusVector tmp; |
| 339 | tmp << Arg::Gds(ENCODE_ISC_MSG(errcode, GSEC_MSG_FAC)); |
| 340 | if (errcode == GsecMsg22) |
| 341 | { |
| 342 | tmp << userName; |
| 343 | } |
| 344 | tmp.append(Arg::StatusVector(status)); |
| 345 | |
| 346 | tmp.raise(); |
| 347 | } |
| 348 | |
| 349 | static inline void merge(string& s, ConfigFile::Parameters::const_iterator& p) |
| 350 | { |
nothing calls this directly
no test coverage detected