incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject git commit: refs/heads/master - CLOUDSTACK-1142 Testing LDAP Auth Failed - due to % being illegal character in queryfilter
Date Tue, 05 Feb 2013 03:22:49 GMT
Updated Branches:
  refs/heads/master 7625de977 -> d8062e563


CLOUDSTACK-1142 Testing LDAP Auth Failed - due to % being illegal character in queryfilter


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/d8062e56
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d8062e56
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d8062e56

Branch: refs/heads/master
Commit: d8062e5633d884136cd532aad294c6c17ca702a5
Parents: 7625de9
Author: Mice Xia <mice_xia@tcloudcomputing.com>
Authored: Tue Feb 5 11:26:03 2013 +0800
Committer: Mice Xia <mice_xia@tcloudcomputing.com>
Committed: Tue Feb 5 11:26:42 2013 +0800

----------------------------------------------------------------------
 server/src/com/cloud/api/ApiServer.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d8062e56/server/src/com/cloud/api/ApiServer.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/ApiServer.java b/server/src/com/cloud/api/ApiServer.java
index aa28125..0df6cd4 100755
--- a/server/src/com/cloud/api/ApiServer.java
+++ b/server/src/com/cloud/api/ApiServer.java
@@ -292,7 +292,7 @@ public class ApiServer implements HttpRequestHandler {
                 // always trust commands from API port, user context will always be UID_SYSTEM/ACCOUNT_ID_SYSTEM
                 UserContext.registerContext(_systemUser.getId(), _systemAccount, null, true);
                 sb.insert(0, "(userId=" + User.UID_SYSTEM + " accountId=" + Account.ACCOUNT_ID_SYSTEM
+ " sessionId=" + null + ") ");
-                String responseText = handleRequest(parameterMap, true, responseType, sb);
+                String responseText = handleRequest(parameterMap, false, responseType, sb);
                 sb.append(" 200 " + ((responseText == null) ? 0 : responseText.length()));
 
                 writeResponse(response, responseText, HttpStatus.SC_OK, responseType, null);


Mime
View raw message