mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-1142 Testing LDAP Auth Failed - due to % being illegal character in queryfilter
This commit is contained in:
parent
7625de9778
commit
d8062e5633
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue