Oved Ourfali has posted comments on this change. Change subject: authentication: pki: cleanup ......................................................................
Patch Set 1: (2 comments) http://gerrit.ovirt.org/#/c/23534/1/ovirt-engine-reports/EngineAuthentication/src/main/java/org/ovirt/authentication/EngineSimplePreAuthFilter.java File ovirt-engine-reports/EngineAuthentication/src/main/java/org/ovirt/authentication/EngineSimplePreAuthFilter.java: Line 145: @Override Line 146: public X509Certificate[] getAcceptedIssuers() { Line 147: return new X509Certificate[] {}; Line 148: } Line 149: } Why is doing it here better then doing that in an external method? Makes the code here a bit more simple, imo. Line 150: }; Line 151: } Line 152: else { Line 153: if (trustStorePassword == null || trustStorePath == null) { Line 147: return new X509Certificate[] {}; Line 148: } Line 149: } Line 150: }; Line 151: } put the else up one line. Line 152: else { Line 153: if (trustStorePassword == null || trustStorePath == null) { Line 154: throw new RuntimeException("The Supplied URL is secured, however no trust store path or password were supplied."); Line 155: } -- To view, visit http://gerrit.ovirt.org/23534 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ie12f9bb3156ef280147a19c55bab019517b33ee9 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-reports Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> Gerrit-Reviewer: Alon Bar-Lev <[email protected]> Gerrit-Reviewer: Oved Ourfali <[email protected]> Gerrit-Reviewer: Yaniv Dary <[email protected]> Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
