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.

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,099 views 17 14
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