the password are plain text.

not always to reproduce it.
still look into it why.




Here is the log.

From the log, it is an GET request.

INFO:cherrypy.access.41038288:127.0.0.1 - - [17/Jul/2014:13:42:27] "GET /tabs/storage.html HTTP/1.0" 200 4608 "https://localhost:8001/" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
127.0.0.1 - - [17/Jul/2014:13:42:27] "GET /storagepools HTTP/1.0" 200 1570 "https://localhost:8001/" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
INFO:cherrypy.access.41038288:127.0.0.1 - - [17/Jul/2014:13:42:27] "GET /storagepools HTTP/1.0" 200 1570 "https://localhost:8001/" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"

127.0.0.1 - - [17/Jul/2014:13:43:21] "GET /login.html?username=root&password=123456 HTTP/1.0" 200 2463 "https://localhost:8001/login.html?username=shhfeng&password=12345" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
INFO:cherrypy.access.41038288:127.0.0.1 - - [17/Jul/2014:13:43:21] "GET /login.html?username=root&password=123456 HTTP/1.0" 200 2463 "https://localhost:8001/login.html?username=shhfeng&password=12345" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"




On 07/17/2014 12:44 AM, alinefm@linux.vnet.ibm.com wrote:
From: Aline Manera <alinefm@linux.vnet.ibm.com>

V1 -> V2:
- Turn back next_url parameter to fix problems mentioned by Wen Wang
- Use urllib2.quote() to encode next_url in backend
- Use decodeURIcomponent() to decode next_url in JS

Aline Manera (4):
  Update test case to reflect new login design
  Remove former login design files
  Remove special console rules from nginx configuration
  Let frontend redirect user after logging

 src/kimchi/auth.py                    |   9 +--
 src/kimchi/root.py                    |  19 +----
 src/nginx.conf.in                     |  11 ---
 tests/test_rest.py                    |   2 +-
 ui/css/theme-default/login-window.css |  90 ------------------------
 ui/js/src/kimchi.login.js             |  71 +++++++++++++++++++
 ui/js/src/kimchi.login_window.js      | 128 ----------------------------------
 ui/pages/login-window.html.tmpl       |  53 --------------
 ui/pages/login.html.tmpl              |  36 ++--------
 9 files changed, 79 insertions(+), 340 deletions(-)
 delete mode 100644 ui/css/theme-default/login-window.css
 create mode 100644 ui/js/src/kimchi.login.js
 delete mode 100644 ui/js/src/kimchi.login_window.js
 delete mode 100644 ui/pages/login-window.html.tmpl



-- 
Thanks and best regards!

Sheldon Feng(冯少合)<shaohef@linux.vnet.ibm.com>
IBM Linux Technology Center