diff options
| author | Christina Fu <cfu@redhat.com> | 2016-05-23 16:22:54 -0700 |
|---|---|---|
| committer | Christina Fu <cfu@redhat.com> | 2016-05-25 14:55:45 -0700 |
| commit | 03d578a6254620e4d4122b92b922f8711773ad40 (patch) | |
| tree | f9f33f8c17b642386b44faf49677ecaa9ba0fec1 /base/tps/src/org | |
| parent | 4950f167d628b04c3859baf512328bff8538bd2d (diff) | |
| download | pki-03d578a6254620e4d4122b92b922f8711773ad40.tar.gz pki-03d578a6254620e4d4122b92b922f8711773ad40.tar.xz pki-03d578a6254620e4d4122b92b922f8711773ad40.zip | |
Ticket 1665 - Cert Revocation Reasons not being updated when on-hold
This patch fixes the following areas:
* In the CA, when revokeCert is called, make it possible to move from on_hold
to revoke.
* In the servlet that handles TPS revoke (DoRevokeTPS), make sure it allows
the on_hold cert to be put in the bucket to be revoked.
* there are a few minor fixes such as typos and one have to do with the
populate method in SubjectDNInput.java needs better handling of subject in
case it's null.
Note: This patch does not make attempt to allow agents to revoke certs that
are on_hold from agent interface. The search filter needs to be modified to
allow that.
Diffstat (limited to 'base/tps/src/org')
| -rw-r--r-- | base/tps/src/org/dogtagpki/server/tps/TPSTokendb.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/tps/src/org/dogtagpki/server/tps/TPSTokendb.java b/base/tps/src/org/dogtagpki/server/tps/TPSTokendb.java index 2e46b037c..7997cc579 100644 --- a/base/tps/src/org/dogtagpki/server/tps/TPSTokendb.java +++ b/base/tps/src/org/dogtagpki/server/tps/TPSTokendb.java @@ -393,6 +393,7 @@ public class TPSTokendb { // get conn ID String config = "op.enroll." + cert.getType() + ".keyGen." + cert.getKeyType() + ".ca.conn"; + CMS.debug(method + ": " + " getting config: " + config); String connID = configStore.getString(config); RevocationReason revokeReason = RevocationReason.UNSPECIFIED; @@ -408,6 +409,7 @@ public class TPSTokendb { // get revoke reason config = "op.enroll." + cert.getType() + ".keyGen." + cert.getKeyType() + ".recovery." + tokenReason + ".revokeCert.reason"; + CMS.debug(method + ": " + " getting config: " + config); int reasonInt = configStore.getInteger(config, 0); revokeReason = RevocationReason.fromInt(reasonInt); |
