Is JWKSet thread safe?
Issue #256
resolved
Is JWKSet
thread safe? From my initial look at the code, it looks like it is but I don't see the @ThreadSafe
annotation. If it is, can @ThreadSafe
be added?
Comments (3)
-
-
- changed status to open
Edit JWKSet to make it immutable.
-
- changed status to resolved
Made JWKSet immutable: 4846a41
- Log in to comment
JWKSet
is thread safe, if you don't try to modify the underlyingLinkedList
via thegetKeys()
method.I'll consider making the list immutable. The @ThreadSafe annotation can then be put.