Yair Zaslavsky has uploaded a new change for review. Change subject: core: Use configuration to represent internal domain ......................................................................
core: Use configuration to represent internal domain Change-Id: Ie9b4c042feb7243621f119ffc6c4c86ad88d09ad Bug-Url: https://bugzilla.redhat.com/1095420 Signed-off-by: Yair Zaslavsky <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/adbroker/InternalBrokerUtils.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/76/27576/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/adbroker/InternalBrokerUtils.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/adbroker/InternalBrokerUtils.java index b3f3889..f071767 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/adbroker/InternalBrokerUtils.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/adbroker/InternalBrokerUtils.java @@ -40,7 +40,7 @@ public static LdapUser getUserByUPN(String userName) { LdapUser retVal = null; - DbUser dbUser = getDbUserDAO().getByUsernameAndDomain(userName, "internal"); + DbUser dbUser = getDbUserDAO().getByUsernameAndDomain(userName, Config.<String>getValue(ConfigValues.AdminDomain)); if (dbUser != null) { retVal = new LdapUser(dbUser); } -- To view, visit http://gerrit.ovirt.org/27576 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie9b4c042feb7243621f119ffc6c4c86ad88d09ad Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Yair Zaslavsky <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
