Single sign on 当iPlanetDirectoryPro被禁用时,如何获取openAM的登录页面?现在是403禁页
openAM 13.0 tomcat8.3 apache 2.4 centos 7.2 firefox 当我问“www.example.com:8000/demo.html”时,没问题。 我得到openAM的登录页面,然后输入名称和密码,返回“www.example.com:8000/demo.html”页面 但是,我在获得“www.example.com:8000/demo.html”页面后重新启动openAM,然后我询问“www.example.com:8000/demo.html”,返回“403禁止”。为什么? 然后,我发现cookie中的iPlanetDirectoryPro被禁用。如果cookie中存在禁用的iPlanetDirectoryPro,openAM将返回“403禁止”。但在openAM的cookie、openAM重定向登录页面中没有iPlanetDirectoryPro 我希望当cookie中存在禁用的iPlanetDirectoryPro时,openAM重定向登录页面。我怎么做呢?我解决了这个问题 我已经更改了Apache中的403页面,并设置了一个JavaScript函数以重定向到openam的登录页面 例如:Single sign on 当iPlanetDirectoryPro被禁用时,如何获取openAM的登录页面?现在是403禁页,single-sign-on,openam,Single Sign On,Openam,openAM 13.0 tomcat8.3 apache 2.4 centos 7.2 firefox 当我问“www.example.com:8000/demo.html”时,没问题。 我得到openAM的登录页面,然后输入名称和密码,返回“www.example.com:8000/demo.html”页面 但是,我在获得“www.example.com:8000/demo.html”页面后重新启动openAM,然后我询问“www.example.com:8000/demo.html”,返回“
<script>
var locationUrl = window.location.href;
var redirectUrl = locationUrl.split("?")[0]; location.href="http://test.iesolutions.com.cn:8590/openamHelper/login.htm?goto="+redirectUrl;
</script>
var locationUrl=window.location.href;
var redirectUrl=locationUrl.split(“?”[0];location.href=”http://test.iesolutions.com.cn:8590/openamHelper/login.htm?goto=“+URL;