[keycloak-user] Setting the default HTTP session timeout - HttpSession.html#setMaxInactiveInterval

Marek Posolda mposolda at redhat.com
Fri Feb 13 05:21:52 EST 2015


Hi,

Session timeout of HttpSession can be set in web.xml of your application 
by adding this:

|<session-config>
         <session-timeout>30</session-timeout>
</session-config>

AFAIK Wildfly and EAP6 have session timeout 30 minutes by default, which is same like the default SSO Idle timeout in Keycloak.

Marek
|


On 13.2.2015 00:20, Mashama McFarlane wrote:
> I am using KeyCloak 1.1.0.Final on Wildfly 8.1.  I am wondering if it 
> is possible for the adapter to set the max inactive interval for 
> servlet container session.  In my case I would like the servlet 
> session timeout to be equal to the SSO session timeout externally 
> managed and configured through KeyCloak.  If doesn't make sense for 
> the adapter to do this then how can I do it in my application logic?
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150213/fd62fdb2/attachment-0001.html 


More information about the keycloak-user mailing list