diff options
author | Endi S. Dewata <edewata@redhat.com> | 2014-12-02 17:25:55 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2014-12-15 11:57:07 -0500 |
commit | 5d82ad42001875e28a48ba374d4a467c9ec91f5c (patch) | |
tree | 2c32fd69b42077d8fa424ffa8194f4bcddc3f6d6 /base/server/cmscore/src/com/netscape/cmscore/dbs/LDAPDatabase.java | |
parent | aab703ab457ff02d8623933a15574a556dae5e99 (diff) | |
download | pki-5d82ad42001875e28a48ba374d4a467c9ec91f5c.tar.gz pki-5d82ad42001875e28a48ba374d4a467c9ec91f5c.tar.xz pki-5d82ad42001875e28a48ba374d4a467c9ec91f5c.zip |
Added rangeUnit property to certificate profiles.
A new optional property has been added to certificate profiles to
specify the range unit. The default range unit is 'day'. The code
has been modified to use the Calendar API to calculate the end of
validity range based on the range unit.
https://fedorahosted.org/pki/ticket/1226
Diffstat (limited to 'base/server/cmscore/src/com/netscape/cmscore/dbs/LDAPDatabase.java')
-rw-r--r-- | base/server/cmscore/src/com/netscape/cmscore/dbs/LDAPDatabase.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/server/cmscore/src/com/netscape/cmscore/dbs/LDAPDatabase.java b/base/server/cmscore/src/com/netscape/cmscore/dbs/LDAPDatabase.java index cfe958807..0e3ffc13b 100644 --- a/base/server/cmscore/src/com/netscape/cmscore/dbs/LDAPDatabase.java +++ b/base/server/cmscore/src/com/netscape/cmscore/dbs/LDAPDatabase.java @@ -55,6 +55,9 @@ public abstract class LDAPDatabase<E extends IDBObj> extends Database<E> { } public void register(Class<E> recordType) throws EBaseException { + + CMS.debug("registering " + recordType.getName()); + IDBRegistry dbRegistry = dbSubsystem.getRegistry(); // register object classes |