Alon Bar-Lev has posted comments on this change. Change subject: aaa: Introducing usage of Acct ......................................................................
Patch Set 11: (2 comments) http://gerrit.ovirt.org/#/c/27070/11/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java: Line 170: Line 171: // Check that the authenticator provided by the profile supports password authentication: Line 172: authnExtension = profile.getAuthn(); Line 173: authRecord = (ExtMap) getParameters().getAuthRecord(); Line 174: int reportReason = Acct.ReportReason.PRINCIPAL_LOGIN_NEGOTIATE; > ok. so put it on request Line 175: String loginName = null; Line 176: if (authRecord == null) { Line 177: reportReason = Acct.ReportReason.PRINCIPAL_LOGIN_CREDENTIALS; Line 178: http://gerrit.ovirt.org/#/c/27070/11/backend/manager/modules/extensions-api-root/extensions-api/src/main/java/org/ovirt/engine/api/extensions/aaa/Acct.java File backend/manager/modules/extensions-api-root/extensions-api/src/main/java/org/ovirt/engine/api/extensions/aaa/Acct.java: Line 109: * Will have {@link PrincipalRecord}. Line 110: */ Line 111: public static final int PRINCIPAL_CREDENTIALS_CHANGED = 10; Line 112: /** Line 113: * Principal record was not found. > Ok, so I'll change this to PRINCIPAL_RECORD_INVALID (and change the order). PRINCIPAL_INVALID the record is not a term for public Line 114: */ Line 115: public static final int PRINCIPAL_RECORD_NOT_FOUND = 11; Line 116: /** Line 117: * Access denied. -- To view, visit http://gerrit.ovirt.org/27070 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ief13d233d11b7ab32b328735b4f58ec7cffff567 Gerrit-PatchSet: 11 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> Gerrit-Reviewer: Ravi Nori <rn...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches