正如在 openam 文档中发现的那样,它说 openam 通知策略和会话中发生的更改,或者代理应该轮询,两者中的任何一个都应该发生,代理还在会话验证期间调用 sessionservice 并注册一个监听器以获取有关更改的通知,稍后openam 通知 agentapp 有关更改,但我可以从日志中找出它们是从代理到 openam 的连续轮询,即使我已经部署了正在接收通知的 agentapp.war
“GET /openam/namingservice HTTP/1.1”404 991
[19/Jan/2014:10:51:47 +0530] "GET /openam/namingservice HTTP/1.1" 200 991
[19/Jan/2014:10:51:51 +0530] "GET /openam/namingservice HTTP/1.1" 200 17
[19/Jan/2014:10:51:53 +0530] "GET /openam/namingservice HTTP/1.1" 200 991
[19/Jan/2014:10:51:54 +0530] "GET /openam/namingservice HTTP/1.1" 200 991
[19/Jan/2014:10:51:54 +0530] "GET /openam/namingservice HTTP/1.1" 200 991
[19/Jan/2014:10:51:57 +0530] "GET /openam/namingservice HTTP/1.1" 200 991
[19/Jan/2014:11:03:49 +0530] "POST /openam/sessionservice HTTP/1.1" 200 2042
[19/Jan/2014:11:03:49 +0530] "POST /openam/loggingservice HTTP/1.1" 200 183
[19/Jan/2014:11:03:49 +0530] "POST /openam/sessionservice HTTP/1.1" 200 2042
以及命名服务的轮询,即:
[19/Jan/2014:10:51:54 +0530] "GET /openam/namingservice HTTP/1.1" 200 991
即使我不访问任何应用程序也会发生。
任何人都可以帮助我解决这种轮询的原因吗?是否可以停止这种轮询。我想知道是因为我为代理选择了集中式选项吗?
提前致谢