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

This widget could not be displayed.

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!

This widget could not be displayed.

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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

288 views 2 4
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