diff options
Diffstat (limited to 'base/common/src/com/netscape/cmscore/dbs')
37 files changed, 83 insertions, 83 deletions
diff --git a/base/common/src/com/netscape/cmscore/dbs/BigIntegerMapper.java b/base/common/src/com/netscape/cmscore/dbs/BigIntegerMapper.java index 3fa613198..9af436295 100644 --- a/base/common/src/com/netscape/cmscore/dbs/BigIntegerMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/BigIntegerMapper.java @@ -32,7 +32,7 @@ import com.netscape.certsrv.dbs.IDBObj; * A class represents ann attribute mapper that maps * a Java BigInteger object into LDAP attribute, * and vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/ByteArrayMapper.java b/base/common/src/com/netscape/cmscore/dbs/ByteArrayMapper.java index 38362f341..1d1f218b2 100644 --- a/base/common/src/com/netscape/cmscore/dbs/ByteArrayMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/ByteArrayMapper.java @@ -32,7 +32,7 @@ import com.netscape.certsrv.dbs.IDBObj; * A class represents ann attribute mapper that maps * a Java byte array object into LDAP attribute, * and vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/CRLDBSchema.java b/base/common/src/com/netscape/cmscore/dbs/CRLDBSchema.java index 253bd81e0..60f6b69a1 100644 --- a/base/common/src/com/netscape/cmscore/dbs/CRLDBSchema.java +++ b/base/common/src/com/netscape/cmscore/dbs/CRLDBSchema.java @@ -21,7 +21,7 @@ package com.netscape.cmscore.dbs; * A class represents a collection of schema information * for CRL. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/CRLIssuingPointRecord.java b/base/common/src/com/netscape/cmscore/dbs/CRLIssuingPointRecord.java index 0a3a46f14..c6d041b34 100644 --- a/base/common/src/com/netscape/cmscore/dbs/CRLIssuingPointRecord.java +++ b/base/common/src/com/netscape/cmscore/dbs/CRLIssuingPointRecord.java @@ -33,7 +33,7 @@ import com.netscape.certsrv.dbs.crldb.ICRLIssuingPointRecord; /** * A class represents a CRL issuing point record. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/CRLRepository.java b/base/common/src/com/netscape/cmscore/dbs/CRLRepository.java index 7eb470d55..c83494984 100644 --- a/base/common/src/com/netscape/cmscore/dbs/CRLRepository.java +++ b/base/common/src/com/netscape/cmscore/dbs/CRLRepository.java @@ -39,7 +39,7 @@ import com.netscape.certsrv.dbs.crldb.ICRLRepository; * A class represents a CRL repository. It stores all the * CRL issuing points. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/CertDBSchema.java b/base/common/src/com/netscape/cmscore/dbs/CertDBSchema.java index 67b662713..916e83a8a 100644 --- a/base/common/src/com/netscape/cmscore/dbs/CertDBSchema.java +++ b/base/common/src/com/netscape/cmscore/dbs/CertDBSchema.java @@ -21,7 +21,7 @@ package com.netscape.cmscore.dbs; * A class represents a collection of certificate record * specific schema information. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/CertRecord.java b/base/common/src/com/netscape/cmscore/dbs/CertRecord.java index 1981757cb..b70c8cd36 100644 --- a/base/common/src/com/netscape/cmscore/dbs/CertRecord.java +++ b/base/common/src/com/netscape/cmscore/dbs/CertRecord.java @@ -36,7 +36,7 @@ import com.netscape.certsrv.dbs.certdb.IRevocationInfo; /** * A class represents a serializable certificate record. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/CertRecordList.java b/base/common/src/com/netscape/cmscore/dbs/CertRecordList.java index 29792880d..c4f10a61f 100644 --- a/base/common/src/com/netscape/cmscore/dbs/CertRecordList.java +++ b/base/common/src/com/netscape/cmscore/dbs/CertRecordList.java @@ -29,7 +29,7 @@ import com.netscape.certsrv.dbs.certdb.ICertRecordList; /** * A class represents a list of certificate records. * <P> - * + * * @author thomask mzhao * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/CertRecordMapper.java b/base/common/src/com/netscape/cmscore/dbs/CertRecordMapper.java index f4074c213..61d823b88 100644 --- a/base/common/src/com/netscape/cmscore/dbs/CertRecordMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/CertRecordMapper.java @@ -37,7 +37,7 @@ import com.netscape.cmscore.util.Debug; * A class represents a mapper to serialize * certificate record into database. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/DBRegistry.java b/base/common/src/com/netscape/cmscore/dbs/DBRegistry.java index 20e40a8e3..6a4e23f19 100644 --- a/base/common/src/com/netscape/cmscore/dbs/DBRegistry.java +++ b/base/common/src/com/netscape/cmscore/dbs/DBRegistry.java @@ -41,14 +41,14 @@ import com.netscape.certsrv.logging.ILogger; * A class represents a registry where all the * schema (object classes and attribute) information * is stored. - * + * * Attribute mappers can be registered with this * registry. - * + * * Given the schema information stored, this registry * has knowledge to convert a Java object into a * LDAPAttributeSet or vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ @@ -181,7 +181,7 @@ public class DBRegistry implements IDBRegistry, ISubsystem { * Creates LDAP-based search filters with help of * registered mappers. * Parses filter from filter string specified in RFC1558. - * + * * <pre> * <filter> ::= '(' <filtercomp> ')' * <filtercomp> ::= <and> | <or> | <not> | <item> diff --git a/base/common/src/com/netscape/cmscore/dbs/DBSSession.java b/base/common/src/com/netscape/cmscore/dbs/DBSSession.java index ddc9f1874..fd59e8d8f 100644 --- a/base/common/src/com/netscape/cmscore/dbs/DBSSession.java +++ b/base/common/src/com/netscape/cmscore/dbs/DBSSession.java @@ -49,10 +49,10 @@ import com.netscape.certsrv.logging.ILogger; /** * A class represents the database session. Operations * can be performed with a session. - * + * * Transaction and Caching support can be integrated * into session. - * + * * @author thomask * @version $Revision$, $Date$ */ @@ -64,7 +64,7 @@ public class DBSSession implements IDBSSession { /** * Constructs a database session. - * + * * @param system the database subsytem * @param c the ldap connection */ @@ -95,12 +95,12 @@ public class DBSSession implements IDBSSession { /** * Adds object to backend database. For example, - * + * * <PRE> * session.add("cn=123459,o=certificate repository,o=airius.com", * certRec); * </PRE> - * + * * @param name the name of the ldap entry * @param obj the DBobj that can be mapped to ldap attrubute set */ @@ -128,7 +128,7 @@ public class DBSSession implements IDBSSession { /** * Reads an object from the database. * all attributes will be returned - * + * * @param name the name of the ldap entry */ public IDBObj read(String name) throws EBaseException { @@ -138,7 +138,7 @@ public class DBSSession implements IDBSSession { /** * Reads an object from the database, and only populates * the selected attributes. - * + * * @param name the name of the ldap entry * @param attrs the attributes to be selected */ @@ -375,7 +375,7 @@ public class DBSSession implements IDBSSession { Integer version = (Integer) (mConn.getOption(LDAPv2.PROTOCOL_VERSION)); - // Only version 3 protocol supports persistent search. + // Only version 3 protocol supports persistent search. if (version.intValue() == 2) { mConn.setOption(LDAPv2.PROTOCOL_VERSION, Integer.valueOf(3)); } diff --git a/base/common/src/com/netscape/cmscore/dbs/DBSUtil.java b/base/common/src/com/netscape/cmscore/dbs/DBSUtil.java index 7c551b141..1460db969 100644 --- a/base/common/src/com/netscape/cmscore/dbs/DBSUtil.java +++ b/base/common/src/com/netscape/cmscore/dbs/DBSUtil.java @@ -21,7 +21,7 @@ package com.netscape.cmscore.dbs; * A class represents ann attribute mapper that maps * a Java BigInteger object into LDAP attribute, * and vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/DBSearchResults.java b/base/common/src/com/netscape/cmscore/dbs/DBSearchResults.java index 0621701b0..a97998916 100644 --- a/base/common/src/com/netscape/cmscore/dbs/DBSearchResults.java +++ b/base/common/src/com/netscape/cmscore/dbs/DBSearchResults.java @@ -31,7 +31,7 @@ import com.netscape.certsrv.logging.ILogger; * A class represents the search results. A search * results object contain a enumeration of * Java objects that are just read from the database. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/DBSubsystem.java b/base/common/src/com/netscape/cmscore/dbs/DBSubsystem.java index 4bc5b6471..82e688c03 100644 --- a/base/common/src/com/netscape/cmscore/dbs/DBSubsystem.java +++ b/base/common/src/com/netscape/cmscore/dbs/DBSubsystem.java @@ -55,11 +55,11 @@ import com.netscape.cmscore.ldapconn.LdapConnInfo; /** * A class represents the database subsystem that manages * the backend data storage. - * + * * This subsystem maintains multiple sessions that allows * operations to be performed, and provide a registry * where all the schema information is stored. - * + * * @author thomask * @version $Revision$, $Date$ */ @@ -170,7 +170,7 @@ public class DBSubsystem implements IDBSubsystem { /** * This method is used for unit tests. It allows the underlying instance * to be stubbed out. - * + * * @param dbSubsystem The stubbed out subsystem to override with. */ public static void setInstance(IDBSubsystem dbSubsystem) { @@ -242,7 +242,7 @@ public class DBSubsystem implements IDBSubsystem { /** * Gets minimum serial number limit in config file - * + * * @param repo repo identifier * @return min serial number */ @@ -252,7 +252,7 @@ public class DBSubsystem implements IDBSubsystem { /** * Gets maximum serial number limit in config file - * + * * @param repo repo identifier * @return max serial number */ @@ -262,7 +262,7 @@ public class DBSubsystem implements IDBSubsystem { /** * Gets minimum serial number limit in next range in config file - * + * * @param repo repo identifier * @return min serial number in next range */ @@ -277,7 +277,7 @@ public class DBSubsystem implements IDBSubsystem { /** * Gets maximum serial number limit in next range in config file - * + * * @param repo repo identifier * @return max serial number in next range */ @@ -292,7 +292,7 @@ public class DBSubsystem implements IDBSubsystem { /** * Gets low water mark limit in config file - * + * * @param repo repo identifier * @return low water mark */ @@ -302,7 +302,7 @@ public class DBSubsystem implements IDBSubsystem { /** * Gets range increment for next range in config file - * + * * @param repo repo identifier * @return range increment */ @@ -312,7 +312,7 @@ public class DBSubsystem implements IDBSubsystem { /** * Sets maximum serial number limit in config file - * + * * @param repo repo identifier * @param serial max serial number * @exception EBaseException failed to set @@ -333,7 +333,7 @@ public class DBSubsystem implements IDBSubsystem { /** * Sets minimum serial number limit in config file - * + * * @param repo repo identifier * @param serial min serial number * @exception EBaseException failed to set @@ -354,7 +354,7 @@ public class DBSubsystem implements IDBSubsystem { /** * Sets maximum serial number limit for next range in config file - * + * * @param repo repo identifier * @param serial max serial number for next range * @exception EBaseException failed to set @@ -381,7 +381,7 @@ public class DBSubsystem implements IDBSubsystem { /** * Sets minimum serial number limit for next range in config file - * + * * @param repo repo identifier * @param serial min serial number for next range * @exception EBaseException failed to set @@ -410,7 +410,7 @@ public class DBSubsystem implements IDBSubsystem { * Gets start of next range from database. * Increments the nextRange attribute and allocates * this range to the current instance by creating a pkiRange object. - * + * * @param repo repo identifier * @return start of next range */ @@ -429,8 +429,8 @@ public class DBSubsystem implements IDBSubsystem { BigInteger nextRangeNo = new BigInteger(nextRange); BigInteger incrementNo = new BigInteger((String) h.get(PROP_INCREMENT)); - // To make sure attrNextRange always increments, first delete the current value and then - // increment. Two operations in the same transaction + // To make sure attrNextRange always increments, first delete the current value and then + // increment. Two operations in the same transaction LDAPAttribute attrNextRange = new LDAPAttribute(PROP_NEXT_RANGE, nextRangeNo.add(incrementNo).toString()); LDAPModification[] mods = { new LDAPModification(LDAPModification.DELETE, attr), @@ -472,7 +472,7 @@ public class DBSubsystem implements IDBSubsystem { * If so, delete the conflict entry and remove the next range. * When the next number is requested, if the number of certs is still * below the low water mark, then a new range will be requested. - * + * * @param repo repo identifier * @return true if range conflict, false otherwise */ diff --git a/base/common/src/com/netscape/cmscore/dbs/DateArrayMapper.java b/base/common/src/com/netscape/cmscore/dbs/DateArrayMapper.java index 20562404b..2b60be4f6 100644 --- a/base/common/src/com/netscape/cmscore/dbs/DateArrayMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/DateArrayMapper.java @@ -32,7 +32,7 @@ import com.netscape.certsrv.dbs.IDBObj; * A class represents ann attribute mapper that maps * a Java Date array object into LDAP attribute, * and vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/DateMapper.java b/base/common/src/com/netscape/cmscore/dbs/DateMapper.java index a767758f6..ab2b2e225 100644 --- a/base/common/src/com/netscape/cmscore/dbs/DateMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/DateMapper.java @@ -34,7 +34,7 @@ import com.netscape.certsrv.dbs.IDBObj; * A class represents ann attribute mapper that maps * a Java Date object into LDAP attribute, * and vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/IntegerMapper.java b/base/common/src/com/netscape/cmscore/dbs/IntegerMapper.java index 8dc07e4d9..574030c42 100644 --- a/base/common/src/com/netscape/cmscore/dbs/IntegerMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/IntegerMapper.java @@ -31,7 +31,7 @@ import com.netscape.certsrv.dbs.IDBObj; * A class represents ann attribute mapper that maps * a Java Integer object into LDAP attribute, * and vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/KeyDBSchema.java b/base/common/src/com/netscape/cmscore/dbs/KeyDBSchema.java index 50b3badc3..743176318 100644 --- a/base/common/src/com/netscape/cmscore/dbs/KeyDBSchema.java +++ b/base/common/src/com/netscape/cmscore/dbs/KeyDBSchema.java @@ -21,7 +21,7 @@ package com.netscape.cmscore.dbs; * A class represents a collection of key record * specific schema information. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/KeyRecord.java b/base/common/src/com/netscape/cmscore/dbs/KeyRecord.java index e8122b6b8..7ae546184 100644 --- a/base/common/src/com/netscape/cmscore/dbs/KeyRecord.java +++ b/base/common/src/com/netscape/cmscore/dbs/KeyRecord.java @@ -34,7 +34,7 @@ import com.netscape.certsrv.dbs.keydb.KeyState; * archived key. Namely, whether a key is inactive because * of compromise. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ @@ -88,7 +88,7 @@ public class KeyRecord implements IDBObj, IKeyRecord { /* * Constructs key record. - * + * * @param key key to be archived */ public KeyRecord(BigInteger serialNo, byte publicData[], @@ -213,7 +213,7 @@ public class KeyRecord implements IDBObj, IKeyRecord { * Retrieves serial number of the key record. Each key record * is uniquely identified by serial number. * <P> - * + * * @return serial number of this key record */ public BigInteger getSerialNumber() throws EBaseException { @@ -231,7 +231,7 @@ public class KeyRecord implements IDBObj, IKeyRecord { * Retrieves the key state. This gives key life cycle * information. * <P> - * + * * @return key state */ public KeyState getState() throws EBaseException { @@ -256,7 +256,7 @@ public class KeyRecord implements IDBObj, IKeyRecord { /** * Retrieves key. * <P> - * + * * @return archived key */ public byte[] getPrivateKeyData() throws EBaseException { @@ -273,7 +273,7 @@ public class KeyRecord implements IDBObj, IKeyRecord { /** * Retrieves the key size. * <P> - * + * * @return key size */ public Integer getKeySize() throws EBaseException { diff --git a/base/common/src/com/netscape/cmscore/dbs/KeyRecordList.java b/base/common/src/com/netscape/cmscore/dbs/KeyRecordList.java index 941b0552d..732957c25 100644 --- a/base/common/src/com/netscape/cmscore/dbs/KeyRecordList.java +++ b/base/common/src/com/netscape/cmscore/dbs/KeyRecordList.java @@ -28,7 +28,7 @@ import com.netscape.certsrv.dbs.keydb.IKeyRecordList; /** * A class represents a list of key records. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/KeyRecordMapper.java b/base/common/src/com/netscape/cmscore/dbs/KeyRecordMapper.java index 1a6103492..15e6935e2 100644 --- a/base/common/src/com/netscape/cmscore/dbs/KeyRecordMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/KeyRecordMapper.java @@ -37,7 +37,7 @@ import com.netscape.certsrv.logging.ILogger; * A class represents a mapper to serialize * key record into database. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/KeyStateMapper.java b/base/common/src/com/netscape/cmscore/dbs/KeyStateMapper.java index 2622cdbc6..afb88bf66 100644 --- a/base/common/src/com/netscape/cmscore/dbs/KeyStateMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/KeyStateMapper.java @@ -31,7 +31,7 @@ import com.netscape.certsrv.dbs.keydb.KeyState; /** * A class represents a key state mapper. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/LdapFilterConverter.java b/base/common/src/com/netscape/cmscore/dbs/LdapFilterConverter.java index ff867bf52..4bd31bcad 100644 --- a/base/common/src/com/netscape/cmscore/dbs/LdapFilterConverter.java +++ b/base/common/src/com/netscape/cmscore/dbs/LdapFilterConverter.java @@ -28,7 +28,7 @@ import com.netscape.certsrv.dbs.IFilterConverter; * A class represents a filter converter * that understands how to convert a attribute * type from one defintion to another. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/LongMapper.java b/base/common/src/com/netscape/cmscore/dbs/LongMapper.java index b4d6c75d6..0afa95c72 100644 --- a/base/common/src/com/netscape/cmscore/dbs/LongMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/LongMapper.java @@ -31,7 +31,7 @@ import com.netscape.certsrv.dbs.IDBObj; * A class represents ann attribute mapper that maps * a Java Long object into LDAP attribute, * and vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/MetaInfoMapper.java b/base/common/src/com/netscape/cmscore/dbs/MetaInfoMapper.java index 9b224508c..f30d13bf6 100644 --- a/base/common/src/com/netscape/cmscore/dbs/MetaInfoMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/MetaInfoMapper.java @@ -32,14 +32,14 @@ import com.netscape.certsrv.dbs.IDBObj; /** * A class represent mapper for metainfo attribute. Metainfo * is in format of the following: - * + * * <PRE> * metaInfoType:metaInfoValue * metaInfoType:metaInfoValue * metaInfoType:metaInfoValue * metaInfoType:metaInfoValue * </PRE> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/ObjectStreamMapper.java b/base/common/src/com/netscape/cmscore/dbs/ObjectStreamMapper.java index f77a36ed4..b6f39818a 100644 --- a/base/common/src/com/netscape/cmscore/dbs/ObjectStreamMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/ObjectStreamMapper.java @@ -39,7 +39,7 @@ import com.netscape.certsrv.logging.ILogger; * A class represents ann attribute mapper that maps * a Java object into LDAP attribute, * and vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/PublicKeyMapper.java b/base/common/src/com/netscape/cmscore/dbs/PublicKeyMapper.java index 8b66d02ca..ba5880282 100644 --- a/base/common/src/com/netscape/cmscore/dbs/PublicKeyMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/PublicKeyMapper.java @@ -37,7 +37,7 @@ import com.netscape.cmscore.cert.CertUtils; * a public key data into LDAP attribute and * vice versa. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/ReplicaIDRepository.java b/base/common/src/com/netscape/cmscore/dbs/ReplicaIDRepository.java index 46ab07385..5a6a61d20 100644 --- a/base/common/src/com/netscape/cmscore/dbs/ReplicaIDRepository.java +++ b/base/common/src/com/netscape/cmscore/dbs/ReplicaIDRepository.java @@ -29,7 +29,7 @@ import com.netscape.certsrv.dbs.replicadb.IReplicaIDRepository; * A class represents a replica repository. It * creates unique managed replica IDs. * <P> - * + * * @author alee * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/Repository.java b/base/common/src/com/netscape/cmscore/dbs/Repository.java index aadfb888a..2cfe320f6 100644 --- a/base/common/src/com/netscape/cmscore/dbs/Repository.java +++ b/base/common/src/com/netscape/cmscore/dbs/Repository.java @@ -39,11 +39,11 @@ import com.netscape.certsrv.dbs.repository.IRepositoryRecord; * <P> * To build domain specific repository, subclass should be created. * <P> - * + * * @author galperin * @author thomask * @version $Revision: 1.4 - * + * * $, $Date$ */ @@ -126,7 +126,7 @@ public abstract class Repository implements IRepository { /** * Retrieves the next serial number attr in db. * <P> - * + * * @return next serial number */ protected BigInteger getSerialNumber() throws EBaseException { @@ -152,7 +152,7 @@ public abstract class Repository implements IRepository { BigInteger serial = rec.getSerialNumber(); if (!mInit) { - // cms may crash after issue a cert but before update + // cms may crash after issue a cert but before update // the serial number record try { IDBObj obj = s.read("cn=" + @@ -173,7 +173,7 @@ public abstract class Repository implements IRepository { /** * Updates the serial number to the specified in db. * <P> - * + * * @param num serial number */ protected void setSerialNumber(BigInteger num) throws EBaseException { @@ -186,7 +186,7 @@ public abstract class Repository implements IRepository { /** * Get the maximum serial number. - * + * * @return maximum serial number */ public String getMaxSerial() { @@ -195,7 +195,7 @@ public abstract class Repository implements IRepository { /** * Set the maximum serial number. - * + * * @param serial maximum number * @exception EBaseException failed to set maximum serial number */ @@ -212,7 +212,7 @@ public abstract class Repository implements IRepository { /** * Get the maximum serial number in next range. - * + * * @return maximum serial number in next range */ public String getNextMaxSerial() { @@ -221,7 +221,7 @@ public abstract class Repository implements IRepository { /** * Set the maximum serial number in next range - * + * * @param serial maximum number in next range * @exception EBaseException failed to set maximum serial number in next range */ @@ -240,7 +240,7 @@ public abstract class Repository implements IRepository { /** * Get the minimum serial number. - * + * * @return minimum serial number */ public String getMinSerial() { @@ -337,7 +337,7 @@ public abstract class Repository implements IRepository { /** * Updates the serial number to the specified in db and cache. * <P> - * + * * @param num serial number */ public void setTheSerialNumber(BigInteger num) throws EBaseException { @@ -364,7 +364,7 @@ public abstract class Repository implements IRepository { * Retrieves the next serial number, and also increase the * serial number by one. * <P> - * + * * @return serial number */ public synchronized BigInteger getNextSerialNumber() throws @@ -422,7 +422,7 @@ public abstract class Repository implements IRepository { /** * Checks to see if a new range is needed, or if we have reached the end of the * current range, or if a range conflict has occurred. - * + * * @exception EBaseException failed to check next range for conflicts */ public void checkRanges() throws EBaseException { @@ -483,7 +483,7 @@ public abstract class Repository implements IRepository { /** * Sets whether serial number management is enabled for certs * and requests. - * + * * @param value true/false * @exception EBaseException failed to set */ diff --git a/base/common/src/com/netscape/cmscore/dbs/RepositoryRecord.java b/base/common/src/com/netscape/cmscore/dbs/RepositoryRecord.java index 8f90723cd..36d5ce914 100644 --- a/base/common/src/com/netscape/cmscore/dbs/RepositoryRecord.java +++ b/base/common/src/com/netscape/cmscore/dbs/RepositoryRecord.java @@ -28,7 +28,7 @@ import com.netscape.certsrv.dbs.repository.IRepositoryRecord; /** * A class represents a repository record. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/RepositorySchema.java b/base/common/src/com/netscape/cmscore/dbs/RepositorySchema.java index 4a0cf4155..4ec8da629 100644 --- a/base/common/src/com/netscape/cmscore/dbs/RepositorySchema.java +++ b/base/common/src/com/netscape/cmscore/dbs/RepositorySchema.java @@ -21,7 +21,7 @@ package com.netscape.cmscore.dbs; * A class represents a collection of repository-specific * schema information. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/RevocationInfo.java b/base/common/src/com/netscape/cmscore/dbs/RevocationInfo.java index 00ca0034b..36f470511 100644 --- a/base/common/src/com/netscape/cmscore/dbs/RevocationInfo.java +++ b/base/common/src/com/netscape/cmscore/dbs/RevocationInfo.java @@ -30,7 +30,7 @@ import com.netscape.certsrv.dbs.certdb.IRevocationInfo; * object is written as an attribute of certificate record * which essentially signifies a revocation act. * <P> - * + * * @author galperin * @version $Revision$, $Date$ */ @@ -52,7 +52,7 @@ public class RevocationInfo implements IRevocationInfo, Serializable { /** * Constructs revocation info used by revocation * request implementation. - * + * * @param reason if not null contains CRL entry extension * that specifies revocation reason * @see CRLReasonExtension diff --git a/base/common/src/com/netscape/cmscore/dbs/RevocationInfoMapper.java b/base/common/src/com/netscape/cmscore/dbs/RevocationInfoMapper.java index 7cf39dcef..396067c79 100644 --- a/base/common/src/com/netscape/cmscore/dbs/RevocationInfoMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/RevocationInfoMapper.java @@ -40,7 +40,7 @@ import com.netscape.cmscore.util.Debug; * A class represents a mapper to serialize * revocation information into database. * <P> - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/StringMapper.java b/base/common/src/com/netscape/cmscore/dbs/StringMapper.java index 710a17875..d3b1ea710 100644 --- a/base/common/src/com/netscape/cmscore/dbs/StringMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/StringMapper.java @@ -32,7 +32,7 @@ import com.netscape.certsrv.dbs.IDBObj; * A class represents ann attribute mapper that maps * a Java String object into LDAP attribute, * and vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/StringVectorMapper.java b/base/common/src/com/netscape/cmscore/dbs/StringVectorMapper.java index 7a465231b..60dec48b7 100644 --- a/base/common/src/com/netscape/cmscore/dbs/StringVectorMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/StringVectorMapper.java @@ -31,7 +31,7 @@ import com.netscape.certsrv.dbs.IDBObj; * A class represents ann attribute mapper that maps * a Java String object into LDAP attribute, * and vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/X500NameMapper.java b/base/common/src/com/netscape/cmscore/dbs/X500NameMapper.java index 0bf3bf7da..684f27c22 100644 --- a/base/common/src/com/netscape/cmscore/dbs/X500NameMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/X500NameMapper.java @@ -36,7 +36,7 @@ import com.netscape.certsrv.logging.ILogger; * A class represents ann attribute mapper that maps * a Java X500Name object into LDAP attribute, * and vice versa. - * + * * @author thomask * @version $Revision$, $Date$ */ diff --git a/base/common/src/com/netscape/cmscore/dbs/X509CertImplMapper.java b/base/common/src/com/netscape/cmscore/dbs/X509CertImplMapper.java index 18f0c8e3d..6fbb2cfca 100644 --- a/base/common/src/com/netscape/cmscore/dbs/X509CertImplMapper.java +++ b/base/common/src/com/netscape/cmscore/dbs/X509CertImplMapper.java @@ -44,7 +44,7 @@ import com.netscape.certsrv.dbs.certdb.ICertRecord; /** * A class represents a mapper to serialize * x509 certificate into database. - * + * * @author thomask * @version $Revision$, $Date$ */ |