当我们运行常规的Apereo CAS时,有一个登录会话超时的设置,因此如果有人进入CAS登录屏幕并让它处于位置,登录会话将在一定时间后超时(5-10分钟IIRC)。
我很好奇在WSO2中是否有类似的配置设置,如果是,它是什么参数?
我之所以问这个问题,是因为在周六,我们做了第一轮的学生注册,很明显,招生人员登录了所有的实验室计算机,并在学生们开始使用之前一小时把他们带到了登录屏幕上,在他们刷新浏览器之前,没有人可以登录。所以我希望有一个设置,不知怎么的,我只是不确定是哪一个设置。只要查看identity.xml文件,就会有相当多的可配置超时设置,我不确定它是否是其中之一:
...../repository/conf/identity # cat identity.xml | grep -i timeout
<CleanUpTimeout>720</CleanUpTimeout>
<CleanUpTimeout>2</CleanUpTimeout>
<SessionIdleTimeout>720</SessionIdleTimeout>
<RememberMeTimeout>10080</RememberMeTimeout>
<AppInfoCacheTimeout>-1</AppInfoCacheTimeout>
<AuthorizationGrantCacheTimeout>-1</AuthorizationGrantCacheTimeout>
<SessionDataCacheTimeout>-1</SessionDataCacheTimeout>
<ClaimCacheTimeout>-1</ClaimCacheTimeout>
<PersistanceCacheTimeout>157680000</PersistanceCacheTimeout>
<SessionIndexCacheTimeout>157680000</SessionIndexCacheTimeout>
<ClientTimeout>10000</ClientTimeout>
<!--<Cache name="AppAuthFrameworkSessionContextCache" enable="false" timeout="1" capacity="5000"/>-->
<CacheTimeout>120</CacheTimeout>发布于 2017-05-02 05:35:07
全局配置可以在< IS_HOME >/ TimeConfig >元素下的/conf/identity/IDENTENT.xml文件中找到。
<TimeConfig>
<SessionIdleTimeout>15</SessionIdleTimeout>
<RememberMeTimeout>20160</RememberMeTimeout>
</TimeConfig>更多信息可以找到这里。
管理控制台会话超时:打开存储库/conf/tomcat/carbon/web.xml/web.xml,增加会话超时值。
<session-config>
<session-timeout>240</session-timeout>
<cookie-config>
<secure>true</secure>
</cookie-config>
</session-config>https://stackoverflow.com/questions/43724819
复制相似问题