diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-09-06 14:21:23 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-09-06 14:32:17 +0800 |
commit | b3580028292d2927564020e8143bc1f659ef0ab3 (patch) | |
tree | 6fffa805732173047ef7ae449c9754e9fd40ee05 /testapi/opnfv_testapi/common/constants.py | |
parent | 3c77911dfb82fe165607496ca8a14ad7bd1a4337 (diff) |
hide cas ticket from web portal
In the previous implementation, when login the url will shown as:
http://localhost:8000/?ticket=ST-5WzYs6SD2A#/
this patch aims to hide the ticket mechanism.
1) add /api/v1/auth/signin_return to process login verify
2) refactor code, leverage SignBaseHanlder() to manage casclient
Change-Id: I62e23eb69ee52304c30753e861b4f0a4e0d45541
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/common/constants.py')
-rw-r--r-- | testapi/opnfv_testapi/common/constants.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/common/constants.py b/testapi/opnfv_testapi/common/constants.py index b37ebb3..70c9223 100644 --- a/testapi/opnfv_testapi/common/constants.py +++ b/testapi/opnfv_testapi/common/constants.py @@ -2,4 +2,3 @@ TESTAPI_ID = 'testapi_id' CSRF_TOKEN = 'csrf_token' ROLE = 'role' TESTAPI_USERS = ['opnfv-testapi-users'] -USER_TABLE = 'users' |