summaryrefslogtreecommitdiffstats
path: root/base/kra
diff options
context:
space:
mode:
authorAbhishek Koneru <akoneru@redhat.com>2012-06-27 14:27:55 -0400
committerEndi Sukma Dewata <edewata@redhat.com>2012-07-02 12:43:57 -0500
commit10502e34a10fb3b672aef1161cc271003c7806ba (patch)
tree4c3c5e8fc8c99759953b52518f78e8ba3100aa17 /base/kra
parentd2b06ee1f9fcc42be83f04f64559cfa6317bda67 (diff)
downloadpki-10502e34a10fb3b672aef1161cc271003c7806ba.tar.gz
pki-10502e34a10fb3b672aef1161cc271003c7806ba.tar.xz
pki-10502e34a10fb3b672aef1161cc271003c7806ba.zip
Fixes for Guarded_By_Violation issues shown in Coverity
Diffstat (limited to 'base/kra')
-rw-r--r--base/kra/src/com/netscape/kra/TokenKeyRecoveryService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/kra/src/com/netscape/kra/TokenKeyRecoveryService.java b/base/kra/src/com/netscape/kra/TokenKeyRecoveryService.java
index 2d53552a0..36f698fcf 100644
--- a/base/kra/src/com/netscape/kra/TokenKeyRecoveryService.java
+++ b/base/kra/src/com/netscape/kra/TokenKeyRecoveryService.java
@@ -194,7 +194,7 @@ public class TokenKeyRecoveryService implements IService {
* @return operation success or not
* @exception EBaseException failed to serve
*/
- public boolean serviceRequest(IRequest request) throws EBaseException {
+ public synchronized boolean serviceRequest(IRequest request) throws EBaseException {
String auditMessage = null;
String auditSubjectID = null;
String auditRecoveryID = ILogger.UNIDENTIFIED;