Increasing session timeout

Hi there,

I'd like to update your plugin to increase the session timeout, our users are complaining bitterly about this sad

Looking at your code, if I increase the expireAfterWrite value, should that do the trick?

public class OpenIdAuthenticationHandler implements AuthenticationHandler {

final Cache<String, String> cache = CacheBuilder.newBuilder()

            .maximumSize(10000)

            .expireAfterWrite(2, TimeUnit.HOURS)

            .build(new CacheLoader<String, String>() {

                @Override

                public String load(final String key) throws Exception {

                    return key;

                }

            });

 

I understand from the terms of the license that we are entitled to fix issues and build our own version to install?

Thanks

Paul

7 answers

So I assume that the problem is that JIRA session timeouts and they have to re-authenticate again? Is that the problem you want to solve?

In this case changing this cache will not solve it as this is used only when you are authenticating.

I plan to address session timeouts soon if that's what you're asking about.

Hi there,

yes session timeouts is the problem, we have about 500 users complaining they have to keep re-authenticating several times a day.

It would help if we were able to advise them of an ETA for a fix, when you say soon, do you have a rough idea of when?

Many thanks

Paul

 

Sorry I cannot give you any specific date as I don't know how long it will take me to solve it. But I guess it will be a week or two.

Hi @Pawel Niewiadomski - any update on this?

Right now we have 500 users complaining quite strongly about repeatedly being logged out of JIRA all day long.

Thanks

Unfortunately I wasn't able to fix it so far. I spent a lot of time reading JIRA and Tomcat sources and don't understand what's going on. In my tests session-timeout from web.xml was correctly influencing the session.

Hi @Pawel Niewiadomski - any further update on this? It's still a significant problem for our users.

Sorry, I don't have any. Still wasn't able to figure it out.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Apr 10, 2018 in Marketplace Apps

Learn about how Stefan K. built one of the *first ever* Marketplace apps

In this post you will discover more about the evolution of K15t software, some big topics they're currently focusing on in the app space, and a rare (not not funny!) photo of founders Mike Cannon-Bro...

13,072 views 11 24
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you