wso2 IS 5.0 SP1 : session persistence

﹥>﹥吖頭↗ 提交于 2019-12-11 20:09:50

问题


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>

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

Cijoy


回答1:


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.

<session-timeout>15</session-timeout>

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



来源:https://stackoverflow.com/questions/33150069/wso2-is-5-0-sp1-session-persistence

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!