wso2 IS 5.0 SP1:会话持久性 [英] wso2 IS 5.0 SP1 : session persistence

查看:59
本文介绍了wso2 IS 5.0 SP1:会话持久性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用的是 WSO2 Is 5.0 sp1.我们正在使用会话持久性功能,我们提供了以下配置

We are using WSO2 Is 5.0 sp1. We are using the session persistence feature where we have given the following config

 <SessionDataPersist>
 <Enable>true</Enable>
 <RememberMePeriod>30</RememberMePeriod>
 <CleanUp>
 <Enable>true</Enable>
  <Period>5</Period>
 <TimeOut>35</TimeOut>
 </CleanUp>
<Temporary>false</Temporary>
</SessionDataPersist>

我们的观察是,在 15 分钟的会话不活动后 wso2 IS 超时.这意味着即使在指定更高值的会话持久性之后,会话仍然会在 wso2 IS 中处于非活动状态 15 分钟后超时.从属性名称上我觉得我们需要在登录页面设置remember me.这是真的?提前致谢

Our observation is that after 15 min of session inactivity wso2 IS time-outs. This means that even after specifying session persistence of higher value the session still timesout after 15 min of inactivity in wso2 IS. From the name of the property I feel that we need to set the remember me on the login page. Is this true? Thanks in advance

喜乐

推荐答案

是的.默认情况下,SSO 会话的空闲超时设置为 15 分钟.但是您可以使用 /repository/conf/tomcat/carbon/WEB-INF/web.xml 文件中的以下属性配置空闲超时.

Yes. By default, idle timeout of SSO session is set to 15min. But you can configure the idle timeout using following property in /repository/conf/tomcat/carbon/WEB-INF/web.xml file.

15

然而;我认为 WSO2IS 5.0.0 SP1 可能存在一些问题.关于会话时间,它没有按预期方式工作.它似乎有一些错误.希望;它将发布带有这些修复程序的 SP2.但我想最好尝试一下即将发布的 5.1.0.请从 这里

However; i assume that there may be some issue with WSO2IS 5.0.0 SP1. It is not working as expected way with regarding session time. There seems be some bugs with it. Hope; it will be release SP2 with these fixes. But i guess it is better to try 5.1.0 which is going to release soon. Please find more details about session time out from here

这篇关于wso2 IS 5.0 SP1:会话持久性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆