User session - configure timeout

1,154 views
Skip to first unread message

Jakob Breivik Grimstveit

unread,
Jun 13, 2012, 4:21:16 AM6/13/12
to jenkins...@googlegroups.com
I've searched the docs and the web for any solution, but have not been able to find the answer, so I turn to you :-).

How do I configure the session timeout for user logins in Jenkins? I found a blog post describing how to configure $JENKINS_HOME/war/WEB-INF/web.xml (and that seemed to work), but this web.xml-file I assume will be overwritten for every new Jenkins upgrade, so perhaps a different solution exists?

We use the LDAP (AD) auth connector plugin, btw.

Thank you in advance for any tips about this!



-- 
Vyrdsamt,
    Jakob Breivik Grimstveit | +47 4829 8152
    http://grimstveit.no/jakob

kcd

unread,
Dec 17, 2013, 12:34:04 AM12/17/13
to jenkins...@googlegroups.com, ja...@grimstveit.no

I think this is the answer: http://stackoverflow.com/questions/14433070/default-session-timeout-for-apache-tomcat-applications

Open tomcat_home/conf/web.xml and find this

  <!-- ==================== Default Session Configuration ================= -->
  <!-- You can set the default session timeout (in minutes) for all newly   -->
  <!-- created sessions by modifying the value below.                       -->

    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>
Reply all
Reply to author
Forward
0 new messages