diff options
author | 2017-09-06 14:21:23 +0800 | |
---|---|---|
committer | 2017-09-06 14:32:17 +0800 | |
commit | 9a8fea348c6c37db65708fea0dc4458ae5d274d7 (patch) | |
tree | e74a537bc2818eedcfe6f13a8b945a3608d2a875 /utils/test/testapi/etc | |
parent | b72e97b1261f751dd1a3c15733e80923de57636b (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 'utils/test/testapi/etc')
-rw-r--r-- | utils/test/testapi/etc/config.ini | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/test/testapi/etc/config.ini b/utils/test/testapi/etc/config.ini index a7d8da622..8d0bde20b 100644 --- a/utils/test/testapi/etc/config.ini +++ b/utils/test/testapi/etc/config.ini @@ -27,3 +27,5 @@ static_path = /usr/local/share/opnfv_testapi [lfid] # Linux Foundation cas URL cas_url = https://identity.linuxfoundation.org/cas/ +#service url used to authenticate to cas +signin_return = api/v1/auth/signin_return |