summaryrefslogtreecommitdiffstats
path: root/testapi/etc
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-09-06 14:21:23 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-09-06 14:32:17 +0800
commitb3580028292d2927564020e8143bc1f659ef0ab3 (patch)
tree6fffa805732173047ef7ae449c9754e9fd40ee05 /testapi/etc
parent3c77911dfb82fe165607496ca8a14ad7bd1a4337 (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/etc')
-rw-r--r--testapi/etc/config.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/testapi/etc/config.ini b/testapi/etc/config.ini
index a7d8da6..8d0bde2 100644
--- a/testapi/etc/config.ini
+++ b/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