+ "DB row is password protected, but given password is empty.");
+ }
+
+ if(!(row.encryptionScheme & ENCR_PASSWORD) && !password.empty()) {
+ ThrowErr(Exc::AuthenticationFailed,
+ "DB row is not password protected, but given password is not empty.");