summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/tps/token/TokenClient.java
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2016-03-15 16:13:10 +0100
committerEndi S. Dewata <edewata@redhat.com>2016-03-17 00:57:01 +0100
commitb5637ae9c646c99efce4ff874666b75400502b2d (patch)
tree4a4b0ca46a8d64f6b122c14f25fbc2b0866a18bb /base/common/src/com/netscape/certsrv/tps/token/TokenClient.java
parentf65188e4df1ecc080bfca18bd8244f6df9177adc (diff)
downloadpki-b5637ae9c646c99efce4ff874666b75400502b2d.tar.gz
pki-b5637ae9c646c99efce4ff874666b75400502b2d.tar.xz
pki-b5637ae9c646c99efce4ff874666b75400502b2d.zip
Fixed illegal token state transition via TEMP_LOST.
The TokenService.setTokenStatus() has been modified to restore the temporarily lost token back into either uninitialized or active state based on whether the token has certificates. The TPSTokendb.tdbGetCertRecordsByCUID() has been modified to use only tokenID attribute to search for token certificates more accurately. It also has been simplified to return the certificate records collection object directly. Some constructors were added to the TPSException to allow chaining the exception cause. https://fedorahosted.org/pki/ticket/1808
Diffstat (limited to 'base/common/src/com/netscape/certsrv/tps/token/TokenClient.java')
0 files changed, 0 insertions, 0 deletions