Yair Zaslavsky has posted comments on this change.
Change subject: engine: Added provider table & DAO
......................................................................
Patch Set 20: (1 inline comment)
....................................................
File
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/provider/ProviderDaoDbFacadeImpl.java
Line 56: entity.setUrl(rs.getString("url"));
Line 57:
entity.setType(ProviderType.valueOf(rs.getString("provider_type")));
Line 58:
entity.setRequiringAuthentication(rs.getBoolean("auth_required"));
Line 59: entity.setUsername(rs.getString("auth_username"));
Line 60:
entity.setPassword(DbFacadeUtils.decryptPassword(rs.getString("auth_password")));
Note yourself this may hurt performance. consider to decrypt "on demand".
Line 61: return entity;
Line 62: }
Line 63: }
--
To view, visit http://gerrit.ovirt.org/10785
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Iaa461cb6721b866c0a6f6531365c8af4d46eb1bb
Gerrit-PatchSet: 20
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Livnat Peer <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches