Scope of RelyingParty object #263
Replies: 1 comment
-
Hi!
That would probably be unnecessarily slow, but should be fine. There's a small amount of validation logic that runs during |
Beta Was this translation helpful? Give feedback.
-
Is it ok to create one instance of RelyingParty class at the time application bootstraping and reuse this instance. i.e a Singleton instance for whole java application.
1 - will this instance be threadsafe?
2- is it ok to use the same instance for handling both registeration operations and authentication operations?
What if i create a new RelyingParty instance for every start / finish registeration/authentication operation and then leave it for garbage collection.
Beta Was this translation helpful? Give feedback.
All reactions