Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to validate a raw password against crowd encrypted ones?

Hello, I have integrated my own web apps with crowd. What I would like to have is an authentication fallback in case crowd is down. I plan to have a script to copy/sync the user password from the crowd database to my own application database. Once this is done, how can I validate a user password (send by my webapp) against the crowd encrypted one? Do you have any piece of code I could reuse?

1 answer

1 accepted

1 vote
Answer accepted

We publish crowd-password-encoders as a reusable module for apps outside Crowd. You should just be able to depend on that (and a few other necessary libraries which that module assumes are provided) and use the password encoder classes directly.

I've put together a sample application which shows how to encode and validate passwords from outside Crowd: (if anyone finds any problems with it, please raise them as BitBucket issues).

Very nice, it works easily! The PasswordEncoder interface is very close to the Spring one. Is there Spring Implementation in the spring integration module that directly implements the Spring PasswordEncoder interface?

I vaguely recall possibly delegating to impls of Spring's PasswordEncoder interface in at least some cases? (check that rather than taking my word for it - you can download the Crowd source yourself from if you have a license.) Looking at the Spring PasswordEncoder docs, it is crazy similar, but we don't have direct implementations of the Spring PasswordEncoder interface that I know of: you'll have to do the tedious but trivial work of wrapping our impls yourself.

Hi Caspar


Where can I obtain the encoders? Seems like they are no longer available from maven?


Best regards,

Mads Tandrup

Latest builds of the encoder can be found here:

I had to update the .pom file with the repository reference:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

320 views 0 10
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you