000020510 - Is the RSA ClearTrust Java Admin API threadsafe?

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000020510
Applies ToRSA ClearTrust 5.0.1
IssueIs the RSA ClearTrust Java Admin API threadsafe?
ResolutionUnlike the Runtime API, the RSA ClearTrust Java Admin API is not at all threadsafe. Put another way, you cannot have several threads or processes using the same connection at the same time. You can do this with the Runtime API, but not with the Admin API.

If you have multiple threads that each need an Admin API, they must each use a separate connection. A common way to handle this is with a connection pool, where a set number of connections are reallocated. These connections can be allocated for exclusive use by a thread, then returned to the pool when that thread is done with it. This minimizes the overhead of establishing a connection and ensures the thread has exclusive use of the connection.
Legacy Article IDa17190

Attachments

    Outcomes