Alon Bar-Lev has uploaded a new change for review.

Change subject: aaa: display principal name post authn
......................................................................

aaa: display principal name post authn

post authn there is no sense to display the user that user entered, as
the principal name that is used is completely different.

Topic: AAA
Change-Id: Ibb0f7dd07d71cbcfc361f9da3d5ad677c5fb090b
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/85/27885/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java
index 8364663..91939e6 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java
@@ -224,7 +224,7 @@
                         "Can't login user \"{0}\" with authentication profile 
\"{1}\" because the user doesn't exist in the "
                                 +
                                 "directory.",
-                        loginName,
+                        authRecord.<String> get(Authn.AuthRecord.PRINCIPAL),
                         profileName
                         );
                 
addCanDoActionMessage(VdcBllMessages.USER_MUST_EXIST_IN_DIRECTORY);


-- 
To view, visit http://gerrit.ovirt.org/27885
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb0f7dd07d71cbcfc361f9da3d5ad677c5fb090b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to