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
Community showcase
Posted Oct 11, 2018 in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

2,667 views 5 6
Join discussion

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