[PATCH] 694 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 -- Endi S. Dewata
On 3/15/2016 10:30 AM, Endi Sukma Dewata wrote:
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.
ACKed by jmagne (thanks!). Pushed to master. -- Endi S. Dewata
participants (1)
-
Endi Sukma Dewata