JIRA - Active Directory for User Directories - Cache or Active Read?

Bryan Trummer Community Champion Nov 26, 2014

We are using Active Directory for our JIRA user directory. My question is does JIRA cache the Active Directories password and sync at a certain interval? If so is there a way to change the interval? Or does JIRA do an active read on the active directory at the time of log in to verify the username/password? We are using JIRA 6.0.8

2 answers

1 accepted

Accepted Answer
3 votes

JIRA does not cache users' Active Directory passwords. Based on monitoring network traffic between our JIRA server and the AD controller, I noticed that JIRA goes out to the controller each time a user makes a log-in attempt.  The synchronization that occurs at a defined interval, which you can change, is for pulling in new/updated domain accounts and groups.

To sum up: if an existing user changes his/her domain password, a re-synchronization is not required.  However, if this user is placed in a new AD group, then a re-synchronization would be required for JIRA to see the change.

Bryan Trummer Community Champion Nov 26, 2014

Awesome! This is what I was expecting!

JIRA does not cache user passwords in LDAP user directories. Authentication is done by the LDAP server. 

JIRA only caches, name and email address for an account. By default every hour JIRA syncs. If you want more frequent syncs you will see the interval (with value 60) when you edit the directory in JIRA

Bryan Trummer Community Champion Nov 26, 2014

Makes sense. Reason I ask is we are having users having password issues after they have changed their password in Active Directory. So my concern was maybe the password was cached and when they change their password in between the next cache it was causing this issue and having them lock out of our active directory. Since JIRA doesn't cache the passwords this would not be the cause for their issues I believe.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

53 views 0 2
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