vt-middleware / passay

Password policy enforcement for Java.
http://www.passay.org
Other
273 stars 63 forks source link

Are instances of core components thread-safe? #127

Open destan opened 3 years ago

destan commented 3 years ago

They seem to be thread-safe. But it says nothing about thread safety in the Javadocs. Some clarification would be good.

dan3721 commented 3 months ago

Can we get a confirmation on the thread safety? Thanks!

serac commented 3 months ago

While we tend to design for thread safety in general, we will have to do code review in order to provide a precise answer. We will likely take the approach of adding @ThreadSafe to classes that are known to be thread safe in a forthcoming commit.