Confluence remember me, doesn't

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2012

After upgrading confluence to 4.3.1, the login "Remember Me" functionality is not working. After a restart of the browser it's necessary to log in again.

The seraph.confluence cookie is being set correctly.

I am using a custom authenticator - other than stuff specifc to PKI, I am using @Joseph Clark's code. Is this something that needs to be added to the custom authenticator or should it just work?

3 answers

1 accepted

1 vote
Answer accepted
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2012

I think it's a bug in Joe's code. I've posted a possible fix here: https://jira.atlassian.com/browse/CONF-24358?focusedCommentId=412365&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-412365

Thanks Jozef for the pointer to the login() method.

Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 31, 2012

Fix tested and applied... thanks! Pull requests welcome in the future :-)

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 31, 2012

Sorry, would have cloned if you had been using hg ;-)

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2012

I am using his code almost exact as is... Apache sets the remoteuser on the request which is passed to confluence via ajp. His example is for pretty much exactly that.

I am not overriding the login method. Previously I was and rememberme worked, but all the method did was call super then add the user to the confluence-users group, so I don't think it can be related to that...?

0 votes
Jozef Kotlár
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2012

It is unclear for me to what level are you following his example-confluence-sso-authenticator. Have you overriden login method - as there is rememberMe store management?

Disclaimer: We are using CAS and I want to move remember me functionality there as we got rid of native login screen, so my knowledge doesn't cover our use case.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events