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

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.

Thanks.

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,691 views 25 10
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