What is the regex Confluence uses to set passwords?

Does ayone know what the regex is that confluences uses to set passwords?

2 answers

1 accepted

2 votes
Accepted answer

Apologies for the necropost, but is this also the case for Jira? I looked around and this is the only thing I found about password hashing.


Actually necromancer is one of the badges :).

Yes. It's the same for JIRA. You can see a similar process over at the JIRA password reset.

Hi, thanks for answering!

Do you mean the regex to validate the password while the user sets a new one or the logic to generate a new password when the user wants to reset it?

As far as I know Confluence has no password policy except that it can't be empty. For better password control there was the User Security Management plugin from Adaptavist, sadly it is no longer being actively maintained.

To generate new passwords Confluence uses java.security.SecureRandom to generate a random sequence of bytes.

Hope this helps

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

912 views 45 7
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