Scope of RelyingParty object #263
Unanswered
muhammadwasay
asked this question in
Q&A
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 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions