diff options
author | Adam Young <ayoung@redhat.com> | 2011-12-02 13:50:23 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-12-02 15:49:23 -0500 |
commit | 1f775b2e89af6e09fa56ea218ed92dc3dccaeb79 (patch) | |
tree | 695ccb0c050d8247091b6e00d9059f09fea3b040 /pki/base | |
parent | d7d71804b885118e74928e413a8e7fb91b78706c (diff) | |
download | pki-1f775b2e89af6e09fa56ea218ed92dc3dccaeb79.tar.gz pki-1f775b2e89af6e09fa56ea218ed92dc3dccaeb79.tar.xz pki-1f775b2e89af6e09fa56ea218ed92dc3dccaeb79.zip |
SerialVersionID
Autogenerated SerialVersionID for all serializable classes
Diffstat (limited to 'pki/base')
333 files changed, 1478 insertions, 11 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/acls/ACL.java b/pki/base/common/src/com/netscape/certsrv/acls/ACL.java index 56e53080d..5c0c55c61 100644 --- a/pki/base/common/src/com/netscape/certsrv/acls/ACL.java +++ b/pki/base/common/src/com/netscape/certsrv/acls/ACL.java @@ -37,6 +37,10 @@ import java.util.Vector; */ public class ACL implements IACL, java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = -1867465948611161868L; protected Vector mEntries = new Vector(); // ACL entries protected Vector mRights = null; // possible rights entries protected String mResourceACLs = null; // exact resourceACLs string on ldap server diff --git a/pki/base/common/src/com/netscape/certsrv/acls/ACLEntry.java b/pki/base/common/src/com/netscape/certsrv/acls/ACLEntry.java index 12e38ef41..208361286 100644 --- a/pki/base/common/src/com/netscape/certsrv/acls/ACLEntry.java +++ b/pki/base/common/src/com/netscape/certsrv/acls/ACLEntry.java @@ -30,6 +30,10 @@ import java.util.StringTokenizer; */ public class ACLEntry implements IACLEntry, java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = 422656406529200393L; protected Hashtable mPerms = new Hashtable(); protected String mExpressions = null; protected boolean mNegative = false; diff --git a/pki/base/common/src/com/netscape/certsrv/acls/EACLsException.java b/pki/base/common/src/com/netscape/certsrv/acls/EACLsException.java index 8bae56eb0..e79bd7242 100644 --- a/pki/base/common/src/com/netscape/certsrv/acls/EACLsException.java +++ b/pki/base/common/src/com/netscape/certsrv/acls/EACLsException.java @@ -37,6 +37,10 @@ import com.netscape.certsrv.base.MessageFormatter; public class EACLsException extends EBaseException { /** + * + */ + private static final long serialVersionUID = 5471535135648315104L; + /** * resource class name */ private static final String ACL_RESOURCES = ACLsResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/authentication/AuthCredentials.java b/pki/base/common/src/com/netscape/certsrv/authentication/AuthCredentials.java index dfaad21d0..222f9a613 100644 --- a/pki/base/common/src/com/netscape/certsrv/authentication/AuthCredentials.java +++ b/pki/base/common/src/com/netscape/certsrv/authentication/AuthCredentials.java @@ -30,6 +30,10 @@ import com.netscape.certsrv.base.IArgBlock; * @version $Revision$, $Date$ */ public class AuthCredentials implements IAuthCredentials { + /** + * + */ + private static final long serialVersionUID = 5862936214648594328L; private Hashtable authCreds = null; private IArgBlock argblk = null; diff --git a/pki/base/common/src/com/netscape/certsrv/authentication/EAuthException.java b/pki/base/common/src/com/netscape/certsrv/authentication/EAuthException.java index 8f68f870b..b998ae8b0 100644 --- a/pki/base/common/src/com/netscape/certsrv/authentication/EAuthException.java +++ b/pki/base/common/src/com/netscape/certsrv/authentication/EAuthException.java @@ -27,6 +27,10 @@ import com.netscape.certsrv.base.EBaseException; public class EAuthException extends EBaseException { /** + * + */ + private static final long serialVersionUID = -2763649418082002427L; + /** * Resource class name */ private static final String AUTH_RESOURCES = AuthResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/authentication/EAuthInternalError.java b/pki/base/common/src/com/netscape/certsrv/authentication/EAuthInternalError.java index 81dcccbbd..fb4ad04bb 100644 --- a/pki/base/common/src/com/netscape/certsrv/authentication/EAuthInternalError.java +++ b/pki/base/common/src/com/netscape/certsrv/authentication/EAuthInternalError.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authentication; public class EAuthInternalError extends EAuthException { /** + * + */ + private static final long serialVersionUID = -4020816090107820450L; + + /** * Constructs an authentication internal error exception * with a detailed message. * @param errorString Detailed error message. diff --git a/pki/base/common/src/com/netscape/certsrv/authentication/EAuthMgrNotFound.java b/pki/base/common/src/com/netscape/certsrv/authentication/EAuthMgrNotFound.java index b623f006b..675fbe59a 100644 --- a/pki/base/common/src/com/netscape/certsrv/authentication/EAuthMgrNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/authentication/EAuthMgrNotFound.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authentication; public class EAuthMgrNotFound extends EAuthException { /** + * + */ + private static final long serialVersionUID = 3102946146034004983L; + + /** * Constructs a exception for a missing authentication manager * @param errorString error string for missing authentication manager */ diff --git a/pki/base/common/src/com/netscape/certsrv/authentication/EAuthMgrPluginNotFound.java b/pki/base/common/src/com/netscape/certsrv/authentication/EAuthMgrPluginNotFound.java index 3904f5ed5..2210de2ca 100644 --- a/pki/base/common/src/com/netscape/certsrv/authentication/EAuthMgrPluginNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/authentication/EAuthMgrPluginNotFound.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authentication; public class EAuthMgrPluginNotFound extends EAuthException { /** + * + */ + private static final long serialVersionUID = 7422356574227925974L; + + /** * Constructs a exception for a missing authentication manager plugin * @param errorString error for a missing authentication manager plugin */ diff --git a/pki/base/common/src/com/netscape/certsrv/authentication/EAuthUserError.java b/pki/base/common/src/com/netscape/certsrv/authentication/EAuthUserError.java index 684b8c8a9..b3bafd3cc 100644 --- a/pki/base/common/src/com/netscape/certsrv/authentication/EAuthUserError.java +++ b/pki/base/common/src/com/netscape/certsrv/authentication/EAuthUserError.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authentication; public class EAuthUserError extends EAuthException { /** + * + */ + private static final long serialVersionUID = 287839079094761375L; + + /** * Constructs a exception for a Invalid attribute value * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/authentication/ECompSyntaxErr.java b/pki/base/common/src/com/netscape/certsrv/authentication/ECompSyntaxErr.java index 5203fa180..edbf13e66 100644 --- a/pki/base/common/src/com/netscape/certsrv/authentication/ECompSyntaxErr.java +++ b/pki/base/common/src/com/netscape/certsrv/authentication/ECompSyntaxErr.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authentication; public class ECompSyntaxErr extends EAuthException { /** + * + */ + private static final long serialVersionUID = 5434000917203952218L; + + /** * Constructs an component syntax error * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/authentication/EFormSubjectDN.java b/pki/base/common/src/com/netscape/certsrv/authentication/EFormSubjectDN.java index ff657351f..b56a1e0a0 100644 --- a/pki/base/common/src/com/netscape/certsrv/authentication/EFormSubjectDN.java +++ b/pki/base/common/src/com/netscape/certsrv/authentication/EFormSubjectDN.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authentication; public class EFormSubjectDN extends EAuthException { /** + * + */ + private static final long serialVersionUID = 4052335779095200482L; + + /** * Constructs an Error on formulating the subject dn. * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/authentication/EInvalidCredentials.java b/pki/base/common/src/com/netscape/certsrv/authentication/EInvalidCredentials.java index e77fff3ca..894a07ca5 100644 --- a/pki/base/common/src/com/netscape/certsrv/authentication/EInvalidCredentials.java +++ b/pki/base/common/src/com/netscape/certsrv/authentication/EInvalidCredentials.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authentication; public class EInvalidCredentials extends EAuthException { /** + * + */ + private static final long serialVersionUID = -5695804026210904331L; + + /** * Constructs an Invalid Credentials exception. * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/authentication/EMissingCredential.java b/pki/base/common/src/com/netscape/certsrv/authentication/EMissingCredential.java index 655366518..695dd15cd 100644 --- a/pki/base/common/src/com/netscape/certsrv/authentication/EMissingCredential.java +++ b/pki/base/common/src/com/netscape/certsrv/authentication/EMissingCredential.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authentication; public class EMissingCredential extends EAuthException { /** + * + */ + private static final long serialVersionUID = 1252384491944341767L; + + /** * Constructs a exception for a missing required authentication credential * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/authorization/AuthzToken.java b/pki/base/common/src/com/netscape/certsrv/authorization/AuthzToken.java index 2cb6e80b0..a0f7133a7 100644 --- a/pki/base/common/src/com/netscape/certsrv/authorization/AuthzToken.java +++ b/pki/base/common/src/com/netscape/certsrv/authorization/AuthzToken.java @@ -35,6 +35,11 @@ import com.netscape.certsrv.base.IAttrSet; * @version $Revision$, $Date$ */ public class AuthzToken implements IAttrSet { + /** + * + */ + private static final long serialVersionUID = 4716145610877112054L; + private Hashtable mAttrs = null; /** diff --git a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzAccessDenied.java b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzAccessDenied.java index 0284de58c..18429c983 100644 --- a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzAccessDenied.java +++ b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzAccessDenied.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authorization; public class EAuthzAccessDenied extends EAuthzException { /** + * + */ + private static final long serialVersionUID = 603324526695263260L; + + /** * Constructs a exception for access denied by Authz manager * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzException.java b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzException.java index 4c2670b00..869a021c2 100644 --- a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzException.java +++ b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzException.java @@ -28,6 +28,10 @@ import com.netscape.certsrv.base.EBaseException; public class EAuthzException extends EBaseException { /** + * + */ + private static final long serialVersionUID = 6265731237976616272L; + /** * Resource class name. */ private static final String AUTHZ_RESOURCES = AuthzResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzInternalError.java b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzInternalError.java index 52b1b9ade..ff7da13da 100644 --- a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzInternalError.java +++ b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzInternalError.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authorization; public class EAuthzInternalError extends EAuthzException { /** + * + */ + private static final long serialVersionUID = -2954801841027751903L; + + /** * Constructs an authorization internal error exception * @param errorString error with a detailed message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzMgrNotFound.java b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzMgrNotFound.java index 7bf76ba6f..944b9854a 100644 --- a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzMgrNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzMgrNotFound.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authorization; public class EAuthzMgrNotFound extends EAuthzException { /** + * + */ + private static final long serialVersionUID = 858647841945772328L; + + /** * Constructs a exception for a missing required authorization manager * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzMgrPluginNotFound.java b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzMgrPluginNotFound.java index b305d627b..b44e4711f 100644 --- a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzMgrPluginNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzMgrPluginNotFound.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authorization; public class EAuthzMgrPluginNotFound extends EAuthzException { /** + * + */ + private static final long serialVersionUID = -2647973726997526429L; + + /** * Constructs a exception for a missing authorization plugin * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzUnknownOperation.java b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzUnknownOperation.java index 99caba2be..025306cbd 100644 --- a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzUnknownOperation.java +++ b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzUnknownOperation.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authorization; public class EAuthzUnknownOperation extends EAuthzException { /** + * + */ + private static final long serialVersionUID = 4344508835702220953L; + + /** * Constructs a exception for an operation unknown to the authorization manager * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzUnknownProtectedRes.java b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzUnknownProtectedRes.java index 169ed443c..4d7695a8f 100644 --- a/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzUnknownProtectedRes.java +++ b/pki/base/common/src/com/netscape/certsrv/authorization/EAuthzUnknownProtectedRes.java @@ -23,6 +23,11 @@ package com.netscape.certsrv.authorization; public class EAuthzUnknownProtectedRes extends EAuthzException { /** + * + */ + private static final long serialVersionUID = 444663701711532889L; + + /** * Constructs a exception for a protected resource unknown to the authorization manager * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/base/EBaseException.java b/pki/base/common/src/com/netscape/certsrv/base/EBaseException.java index 3960d58fd..e58aaca2f 100644 --- a/pki/base/common/src/com/netscape/certsrv/base/EBaseException.java +++ b/pki/base/common/src/com/netscape/certsrv/base/EBaseException.java @@ -33,6 +33,11 @@ import java.util.Locale; public class EBaseException extends Exception { /** + * + */ + private static final long serialVersionUID = 8213021692117483973L; + + /** * The resource bundle to use for error messages. * Subclasses can override to use its own resource bundle. */ diff --git a/pki/base/common/src/com/netscape/certsrv/base/EPropertyNotDefined.java b/pki/base/common/src/com/netscape/certsrv/base/EPropertyNotDefined.java index 57385d700..938c9fffe 100644 --- a/pki/base/common/src/com/netscape/certsrv/base/EPropertyNotDefined.java +++ b/pki/base/common/src/com/netscape/certsrv/base/EPropertyNotDefined.java @@ -30,6 +30,11 @@ package com.netscape.certsrv.base; public class EPropertyNotDefined extends EBaseException { /** + * + */ + private static final long serialVersionUID = -7986464387187170352L; + + /** * Constructs an instance of this exception given the name of the * property that's not found. * <p> diff --git a/pki/base/common/src/com/netscape/certsrv/base/EPropertyNotFound.java b/pki/base/common/src/com/netscape/certsrv/base/EPropertyNotFound.java index a0f4ed93b..833a393a9 100644 --- a/pki/base/common/src/com/netscape/certsrv/base/EPropertyNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/base/EPropertyNotFound.java @@ -30,6 +30,11 @@ package com.netscape.certsrv.base; public class EPropertyNotFound extends EBaseException { /** + * + */ + private static final long serialVersionUID = 2701966082697733003L; + + /** * Constructs an instance of this exception given the name of the * property that's not found. * <p> diff --git a/pki/base/common/src/com/netscape/certsrv/base/MetaInfo.java b/pki/base/common/src/com/netscape/certsrv/base/MetaInfo.java index 3fd0d6a63..1922e74c6 100644 --- a/pki/base/common/src/com/netscape/certsrv/base/MetaInfo.java +++ b/pki/base/common/src/com/netscape/certsrv/base/MetaInfo.java @@ -32,6 +32,10 @@ import java.util.Hashtable; */ public class MetaInfo implements IAttrSet { + /** + * + */ + private static final long serialVersionUID = 7722068404789828101L; public static final String REQUEST_ID = "requestId"; public static final String IN_LDAP_PUBLISH_DIR = "inLdapPublishDir"; diff --git a/pki/base/common/src/com/netscape/certsrv/base/SessionContext.java b/pki/base/common/src/com/netscape/certsrv/base/SessionContext.java index 5716e6e17..29c390acd 100644 --- a/pki/base/common/src/com/netscape/certsrv/base/SessionContext.java +++ b/pki/base/common/src/com/netscape/certsrv/base/SessionContext.java @@ -35,6 +35,11 @@ import java.util.Hashtable; public class SessionContext extends Hashtable implements IAuthInfo { /** + * + */ + private static final long serialVersionUID = -3376355842991589505L; + + /** * End user locale of the current processing request in the current thread. */ public static final String LOCALE = "locale"; // Locale diff --git a/pki/base/common/src/com/netscape/certsrv/ca/ECAException.java b/pki/base/common/src/com/netscape/certsrv/ca/ECAException.java index 7b05bb6ac..59d8847c6 100644 --- a/pki/base/common/src/com/netscape/certsrv/ca/ECAException.java +++ b/pki/base/common/src/com/netscape/certsrv/ca/ECAException.java @@ -30,6 +30,10 @@ import com.netscape.certsrv.base.EBaseException; public class ECAException extends EBaseException { /** + * + */ + private static final long serialVersionUID = -2963412888833532478L; + /** * CA resource class name. */ private static final String CA_RESOURCES = CAResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/ca/EErrorPublishCRL.java b/pki/base/common/src/com/netscape/certsrv/ca/EErrorPublishCRL.java index 75800304c..0e271c21b 100644 --- a/pki/base/common/src/com/netscape/certsrv/ca/EErrorPublishCRL.java +++ b/pki/base/common/src/com/netscape/certsrv/ca/EErrorPublishCRL.java @@ -27,6 +27,11 @@ package com.netscape.certsrv.ca; public class EErrorPublishCRL extends ECAException { /** + * + */ + private static final long serialVersionUID = -5773392283237284399L; + + /** * Constructs a CA exception caused by publishing error. * <P> * @param errorString Detailed error message. diff --git a/pki/base/common/src/com/netscape/certsrv/dbs/EDBException.java b/pki/base/common/src/com/netscape/certsrv/dbs/EDBException.java index 335da55a2..14f653d67 100644 --- a/pki/base/common/src/com/netscape/certsrv/dbs/EDBException.java +++ b/pki/base/common/src/com/netscape/certsrv/dbs/EDBException.java @@ -30,6 +30,10 @@ import com.netscape.certsrv.base.EBaseException; public class EDBException extends EBaseException { /** + * + */ + private static final long serialVersionUID = -895521374187351529L; + /** * Resource class name. */ private static final String DB_RESOURCES = DBResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/dbs/EDBNotAvailException.java b/pki/base/common/src/com/netscape/certsrv/dbs/EDBNotAvailException.java index 28709b705..170a8ee84 100644 --- a/pki/base/common/src/com/netscape/certsrv/dbs/EDBNotAvailException.java +++ b/pki/base/common/src/com/netscape/certsrv/dbs/EDBNotAvailException.java @@ -26,6 +26,11 @@ package com.netscape.certsrv.dbs; public class EDBNotAvailException extends EDBException { /** + * + */ + private static final long serialVersionUID = 8516095366048215233L; + + /** * Constructs a ldap server down exception with host & port info. * * @param errorString Detailed error message. diff --git a/pki/base/common/src/com/netscape/certsrv/dbs/EDBRecordNotFoundException.java b/pki/base/common/src/com/netscape/certsrv/dbs/EDBRecordNotFoundException.java index 28402dba7..1640fc783 100644 --- a/pki/base/common/src/com/netscape/certsrv/dbs/EDBRecordNotFoundException.java +++ b/pki/base/common/src/com/netscape/certsrv/dbs/EDBRecordNotFoundException.java @@ -26,6 +26,11 @@ package com.netscape.certsrv.dbs; public class EDBRecordNotFoundException extends EDBException { /** + * + */ + private static final long serialVersionUID = -3797213848651705426L; + + /** * Constructs a ldap server down exception with host & port info. * * @param errorString Detailed error message. diff --git a/pki/base/common/src/com/netscape/certsrv/dbs/keydb/KeyState.java b/pki/base/common/src/com/netscape/certsrv/dbs/keydb/KeyState.java index d6e2fafb4..e4baf91eb 100644 --- a/pki/base/common/src/com/netscape/certsrv/dbs/keydb/KeyState.java +++ b/pki/base/common/src/com/netscape/certsrv/dbs/keydb/KeyState.java @@ -30,6 +30,10 @@ import java.io.Serializable; */ public final class KeyState implements Serializable { + /** + * + */ + private static final long serialVersionUID = 5452723730414730579L; private int mStateCode; /** diff --git a/pki/base/common/src/com/netscape/certsrv/extensions/EExtensionsException.java b/pki/base/common/src/com/netscape/certsrv/extensions/EExtensionsException.java index e76523760..df4c14447 100644 --- a/pki/base/common/src/com/netscape/certsrv/extensions/EExtensionsException.java +++ b/pki/base/common/src/com/netscape/certsrv/extensions/EExtensionsException.java @@ -29,6 +29,10 @@ import com.netscape.certsrv.base.EBaseException; public class EExtensionsException extends EBaseException { /** + * + */ + private static final long serialVersionUID = 6442466262945583489L; + /** * Resource class name. */ private static final String EXTENSIONS_RESOURCES = diff --git a/pki/base/common/src/com/netscape/certsrv/jobs/EJobsException.java b/pki/base/common/src/com/netscape/certsrv/jobs/EJobsException.java index cbcddb39a..154cb4e4a 100644 --- a/pki/base/common/src/com/netscape/certsrv/jobs/EJobsException.java +++ b/pki/base/common/src/com/netscape/certsrv/jobs/EJobsException.java @@ -30,6 +30,10 @@ import com.netscape.certsrv.base.EBaseException; public class EJobsException extends EBaseException { /** + * + */ + private static final long serialVersionUID = 4542243534794168088L; + /** * Identity resource class name. */ private static final String JOBS_RESOURCES = JobsResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/kra/EKRAException.java b/pki/base/common/src/com/netscape/certsrv/kra/EKRAException.java index 7f67f7a68..9ab4a238c 100644 --- a/pki/base/common/src/com/netscape/certsrv/kra/EKRAException.java +++ b/pki/base/common/src/com/netscape/certsrv/kra/EKRAException.java @@ -32,6 +32,10 @@ import com.netscape.certsrv.base.EBaseException; public class EKRAException extends EBaseException { /** + * + */ + private static final long serialVersionUID = -6803576959258754821L; + /** * KRA resource class name. * <P> */ diff --git a/pki/base/common/src/com/netscape/certsrv/kra/ProofOfArchival.java b/pki/base/common/src/com/netscape/certsrv/kra/ProofOfArchival.java index 5a9fb1195..a2742809e 100644 --- a/pki/base/common/src/com/netscape/certsrv/kra/ProofOfArchival.java +++ b/pki/base/common/src/com/netscape/certsrv/kra/ProofOfArchival.java @@ -73,6 +73,11 @@ import com.netscape.certsrv.dbs.IDBObj; public class ProofOfArchival implements IDBObj, IProofOfArchival, Serializable { /** + * + */ + private static final long serialVersionUID = -2533562170977678799L; + + /** * Constants */ public static final BigInteger DEFAULT_VERSION = new BigInteger("1"); diff --git a/pki/base/common/src/com/netscape/certsrv/ldap/ELdapException.java b/pki/base/common/src/com/netscape/certsrv/ldap/ELdapException.java index a6907c008..ab2d361ba 100644 --- a/pki/base/common/src/com/netscape/certsrv/ldap/ELdapException.java +++ b/pki/base/common/src/com/netscape/certsrv/ldap/ELdapException.java @@ -31,6 +31,10 @@ import com.netscape.certsrv.base.EBaseException; public class ELdapException extends EBaseException { /** + * + */ + private static final long serialVersionUID = -4345538974758823452L; + /** * Ldap resource class name. */ private static final String LDAP_RESOURCES = LdapResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/ldap/ELdapServerDownException.java b/pki/base/common/src/com/netscape/certsrv/ldap/ELdapServerDownException.java index b6b04a760..ead1a0201 100644 --- a/pki/base/common/src/com/netscape/certsrv/ldap/ELdapServerDownException.java +++ b/pki/base/common/src/com/netscape/certsrv/ldap/ELdapServerDownException.java @@ -26,6 +26,11 @@ package com.netscape.certsrv.ldap; public class ELdapServerDownException extends ELdapException { /** + * + */ + private static final long serialVersionUID = -21440748379854829L; + + /** * Constructs a ldap server down exception with host & port info. * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/listeners/EListenersException.java b/pki/base/common/src/com/netscape/certsrv/listeners/EListenersException.java index 1dae27287..c498ca3dc 100644 --- a/pki/base/common/src/com/netscape/certsrv/listeners/EListenersException.java +++ b/pki/base/common/src/com/netscape/certsrv/listeners/EListenersException.java @@ -29,6 +29,10 @@ import com.netscape.certsrv.base.EBaseException; public class EListenersException extends EBaseException { /** + * + */ + private static final long serialVersionUID = 8895858413292894796L; + /** * CA resource class name. */ private static final String LISTENERS_RESOURCES = ListenersResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/logging/AuditEvent.java b/pki/base/common/src/com/netscape/certsrv/logging/AuditEvent.java index 415b35d0f..4f7e64f27 100644 --- a/pki/base/common/src/com/netscape/certsrv/logging/AuditEvent.java +++ b/pki/base/common/src/com/netscape/certsrv/logging/AuditEvent.java @@ -37,6 +37,11 @@ import com.netscape.certsrv.base.MessageFormatter; */ public class AuditEvent implements IBundleLogEvent { + /** + * + */ + private static final long serialVersionUID = -844306657733902324L; + protected Object mParams[] = null; private String mEventType = null; diff --git a/pki/base/common/src/com/netscape/certsrv/logging/ELogException.java b/pki/base/common/src/com/netscape/certsrv/logging/ELogException.java index 12f5ede2c..90a74ba4a 100644 --- a/pki/base/common/src/com/netscape/certsrv/logging/ELogException.java +++ b/pki/base/common/src/com/netscape/certsrv/logging/ELogException.java @@ -35,6 +35,10 @@ import com.netscape.certsrv.base.MessageFormatter; public class ELogException extends EBaseException { /** + * + */ + private static final long serialVersionUID = -8903703675126348145L; + /** * Resource bundle class name. */ private static final String LOG_RESOURCES = LogResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/logging/ELogNotFound.java b/pki/base/common/src/com/netscape/certsrv/logging/ELogNotFound.java index 49d55f360..2dad7aece 100644 --- a/pki/base/common/src/com/netscape/certsrv/logging/ELogNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/logging/ELogNotFound.java @@ -26,6 +26,11 @@ package com.netscape.certsrv.logging; public class ELogNotFound extends ELogException { /** + * + */ + private static final long serialVersionUID = 7970168133875460127L; + + /** * Constructs a exception for a missing required log. * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/logging/ELogPluginNotFound.java b/pki/base/common/src/com/netscape/certsrv/logging/ELogPluginNotFound.java index 1775c8644..efac65a28 100644 --- a/pki/base/common/src/com/netscape/certsrv/logging/ELogPluginNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/logging/ELogPluginNotFound.java @@ -26,6 +26,11 @@ package com.netscape.certsrv.logging; public class ELogPluginNotFound extends ELogException { /** + * + */ + private static final long serialVersionUID = 256873523074609116L; + + /** * Constructs a exception for a missing log plugin. * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/logging/SignedAuditEvent.java b/pki/base/common/src/com/netscape/certsrv/logging/SignedAuditEvent.java index 7b87d67bd..ab86a4ce2 100644 --- a/pki/base/common/src/com/netscape/certsrv/logging/SignedAuditEvent.java +++ b/pki/base/common/src/com/netscape/certsrv/logging/SignedAuditEvent.java @@ -37,6 +37,11 @@ import com.netscape.certsrv.base.MessageFormatter; */ public class SignedAuditEvent implements IBundleLogEvent { + /** + * + */ + private static final long serialVersionUID = 4287822756516673931L; + protected Object mParams[] = null; private String mEventType = null; diff --git a/pki/base/common/src/com/netscape/certsrv/logging/SystemEvent.java b/pki/base/common/src/com/netscape/certsrv/logging/SystemEvent.java index f59a10df6..83026323c 100644 --- a/pki/base/common/src/com/netscape/certsrv/logging/SystemEvent.java +++ b/pki/base/common/src/com/netscape/certsrv/logging/SystemEvent.java @@ -36,6 +36,11 @@ import com.netscape.certsrv.base.MessageFormatter; */ public class SystemEvent implements IBundleLogEvent { + /** + * + */ + private static final long serialVersionUID = 7160410535724580752L; + protected Object mParams[] = null; private String mEventType = null; diff --git a/pki/base/common/src/com/netscape/certsrv/notification/ENotificationException.java b/pki/base/common/src/com/netscape/certsrv/notification/ENotificationException.java index cc2687bc3..4e34ded30 100644 --- a/pki/base/common/src/com/netscape/certsrv/notification/ENotificationException.java +++ b/pki/base/common/src/com/netscape/certsrv/notification/ENotificationException.java @@ -30,6 +30,10 @@ import com.netscape.certsrv.base.EBaseException; public class ENotificationException extends EBaseException { /** + * + */ + private static final long serialVersionUID = 2101529206306996303L; + /** * Identity resource class name. */ private static final String NOTIFICATION_RESOURCES = NotificationResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/password/EPasswordCheckException.java b/pki/base/common/src/com/netscape/certsrv/password/EPasswordCheckException.java index 02cc55885..a99fd764f 100644 --- a/pki/base/common/src/com/netscape/certsrv/password/EPasswordCheckException.java +++ b/pki/base/common/src/com/netscape/certsrv/password/EPasswordCheckException.java @@ -29,6 +29,10 @@ import com.netscape.certsrv.base.PasswordResources; public class EPasswordCheckException extends EBaseException { /** + * + */ + private static final long serialVersionUID = 6274695122717026554L; + /** * Resource class name. */ private static final String PASSWORD_CHECK_RESOURCES = PasswordResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/pattern/AttrSetCollection.java b/pki/base/common/src/com/netscape/certsrv/pattern/AttrSetCollection.java index b745282b6..2a9a87e39 100644 --- a/pki/base/common/src/com/netscape/certsrv/pattern/AttrSetCollection.java +++ b/pki/base/common/src/com/netscape/certsrv/pattern/AttrSetCollection.java @@ -31,6 +31,11 @@ import com.netscape.certsrv.base.IAttrSet; public class AttrSetCollection extends Hashtable { /** + * + */ + private static final long serialVersionUID = -8499028375092730021L; + + /** * Constructs a collection. */ public AttrSetCollection() { diff --git a/pki/base/common/src/com/netscape/certsrv/policy/EPolicyException.java b/pki/base/common/src/com/netscape/certsrv/policy/EPolicyException.java index 95f547468..c8431fcfd 100644 --- a/pki/base/common/src/com/netscape/certsrv/policy/EPolicyException.java +++ b/pki/base/common/src/com/netscape/certsrv/policy/EPolicyException.java @@ -43,6 +43,10 @@ import com.netscape.certsrv.base.MessageFormatter; public class EPolicyException extends EBaseException { /** + * + */ + private static final long serialVersionUID = -1969940775036388085L; + /** * Resource class name. */ private static final String POLICY_RESOURCES = PolicyResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/profile/EDeferException.java b/pki/base/common/src/com/netscape/certsrv/profile/EDeferException.java index 4c082608d..f4af86b21 100644 --- a/pki/base/common/src/com/netscape/certsrv/profile/EDeferException.java +++ b/pki/base/common/src/com/netscape/certsrv/profile/EDeferException.java @@ -33,6 +33,11 @@ package com.netscape.certsrv.profile; public class EDeferException extends EProfileException { /** + * + */ + private static final long serialVersionUID = -8267140233153746034L; + + /** * Creates a defer exception. * * @param msg localized message that will be diff --git a/pki/base/common/src/com/netscape/certsrv/profile/EProfileException.java b/pki/base/common/src/com/netscape/certsrv/profile/EProfileException.java index f786df730..d21d6edb0 100644 --- a/pki/base/common/src/com/netscape/certsrv/profile/EProfileException.java +++ b/pki/base/common/src/com/netscape/certsrv/profile/EProfileException.java @@ -31,6 +31,11 @@ import com.netscape.certsrv.base.EBaseException; public class EProfileException extends EBaseException { /** + * + */ + private static final long serialVersionUID = -4259647804183018757L; + + /** * Creates a profile exception. * * @param msg additional message for the handler diff --git a/pki/base/common/src/com/netscape/certsrv/profile/ERejectException.java b/pki/base/common/src/com/netscape/certsrv/profile/ERejectException.java index e425c3f42..ceea57f21 100644 --- a/pki/base/common/src/com/netscape/certsrv/profile/ERejectException.java +++ b/pki/base/common/src/com/netscape/certsrv/profile/ERejectException.java @@ -32,6 +32,11 @@ package com.netscape.certsrv.profile; public class ERejectException extends EProfileException { /** + * + */ + private static final long serialVersionUID = -542393641391361342L; + + /** * Creates a rejection exception. * * @param msg localized message that indicates diff --git a/pki/base/common/src/com/netscape/certsrv/property/EPropertyException.java b/pki/base/common/src/com/netscape/certsrv/property/EPropertyException.java index 7bd34dc51..a5847cb21 100644 --- a/pki/base/common/src/com/netscape/certsrv/property/EPropertyException.java +++ b/pki/base/common/src/com/netscape/certsrv/property/EPropertyException.java @@ -28,6 +28,11 @@ import com.netscape.certsrv.base.EBaseException; public class EPropertyException extends EBaseException { /** + * + */ + private static final long serialVersionUID = -6100285768016343010L; + + /** * Constructs property exception * * @param msg exception message diff --git a/pki/base/common/src/com/netscape/certsrv/publish/ECompSyntaxErr.java b/pki/base/common/src/com/netscape/certsrv/publish/ECompSyntaxErr.java index 8b7282081..147bdd200 100644 --- a/pki/base/common/src/com/netscape/certsrv/publish/ECompSyntaxErr.java +++ b/pki/base/common/src/com/netscape/certsrv/publish/ECompSyntaxErr.java @@ -32,6 +32,11 @@ import com.netscape.certsrv.ldap.ELdapException; public class ECompSyntaxErr extends ELdapException { /** + * + */ + private static final long serialVersionUID = -2224290038321971845L; + + /** * Construct a ECompSyntaxErr * @param errorString The descriptive error condition. */ diff --git a/pki/base/common/src/com/netscape/certsrv/publish/EMapperNotFound.java b/pki/base/common/src/com/netscape/certsrv/publish/EMapperNotFound.java index 52799ba26..8c482a4e8 100644 --- a/pki/base/common/src/com/netscape/certsrv/publish/EMapperNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/publish/EMapperNotFound.java @@ -29,6 +29,11 @@ import com.netscape.certsrv.ldap.ELdapException; public class EMapperNotFound extends ELdapException { /** + * + */ + private static final long serialVersionUID = -2222814261042222152L; + + /** * Constructs a exception for a missing required mapper * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/publish/EMapperPluginNotFound.java b/pki/base/common/src/com/netscape/certsrv/publish/EMapperPluginNotFound.java index 68e882f18..d487488b3 100644 --- a/pki/base/common/src/com/netscape/certsrv/publish/EMapperPluginNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/publish/EMapperPluginNotFound.java @@ -29,6 +29,11 @@ import com.netscape.certsrv.ldap.ELdapException; public class EMapperPluginNotFound extends ELdapException { /** + * + */ + private static final long serialVersionUID = 3564854656103487939L; + + /** * Constructs a exception for a missing mapper plugin * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/publish/EPublisherNotFound.java b/pki/base/common/src/com/netscape/certsrv/publish/EPublisherNotFound.java index 2a3affcf7..12054dd15 100644 --- a/pki/base/common/src/com/netscape/certsrv/publish/EPublisherNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/publish/EPublisherNotFound.java @@ -29,6 +29,11 @@ import com.netscape.certsrv.ldap.ELdapException; public class EPublisherNotFound extends ELdapException { /** + * + */ + private static final long serialVersionUID = 6159885167931517580L; + + /** * Constructs a exception for a missing required publisher. * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/publish/EPublisherPluginNotFound.java b/pki/base/common/src/com/netscape/certsrv/publish/EPublisherPluginNotFound.java index c3b63ea1e..0a7fa1caf 100644 --- a/pki/base/common/src/com/netscape/certsrv/publish/EPublisherPluginNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/publish/EPublisherPluginNotFound.java @@ -29,6 +29,11 @@ import com.netscape.certsrv.ldap.ELdapException; public class EPublisherPluginNotFound extends ELdapException { /** + * + */ + private static final long serialVersionUID = -8626436244270286308L; + + /** * Constructs a exception for a missing publisher plugin. * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/publish/ERuleNotFound.java b/pki/base/common/src/com/netscape/certsrv/publish/ERuleNotFound.java index a98b3a706..2094967df 100644 --- a/pki/base/common/src/com/netscape/certsrv/publish/ERuleNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/publish/ERuleNotFound.java @@ -29,6 +29,11 @@ import com.netscape.certsrv.ldap.ELdapException; public class ERuleNotFound extends ELdapException { /** + * + */ + private static final long serialVersionUID = 8442034769483263745L; + + /** * Constructs a exception for a missing required rule, which links a publisher and mapper. * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/publish/ERulePluginNotFound.java b/pki/base/common/src/com/netscape/certsrv/publish/ERulePluginNotFound.java index 6bb2f7b05..24ffa11a0 100644 --- a/pki/base/common/src/com/netscape/certsrv/publish/ERulePluginNotFound.java +++ b/pki/base/common/src/com/netscape/certsrv/publish/ERulePluginNotFound.java @@ -29,6 +29,11 @@ import com.netscape.certsrv.ldap.ELdapException; public class ERulePluginNotFound extends ELdapException { /** + * + */ + private static final long serialVersionUID = 4056965992924762809L; + + /** * Constructs a exception for a missing rule plugin. * @param errorString Detailed error message. */ diff --git a/pki/base/common/src/com/netscape/certsrv/registry/ERegistryException.java b/pki/base/common/src/com/netscape/certsrv/registry/ERegistryException.java index 25f0922dd..a4574981b 100644 --- a/pki/base/common/src/com/netscape/certsrv/registry/ERegistryException.java +++ b/pki/base/common/src/com/netscape/certsrv/registry/ERegistryException.java @@ -29,6 +29,11 @@ import com.netscape.certsrv.base.EBaseException; public class ERegistryException extends EBaseException { /** + * + */ + private static final long serialVersionUID = 8977050444820190765L; + + /** * Constructs a registry exception. * * @param msg message carried along with the exception diff --git a/pki/base/common/src/com/netscape/certsrv/request/AgentApproval.java b/pki/base/common/src/com/netscape/certsrv/request/AgentApproval.java index 7eee12940..c884ebbf0 100644 --- a/pki/base/common/src/com/netscape/certsrv/request/AgentApproval.java +++ b/pki/base/common/src/com/netscape/certsrv/request/AgentApproval.java @@ -32,6 +32,10 @@ public class AgentApproval implements Serializable { /** + * + */ + private static final long serialVersionUID = -3444654917454805225L; + /** * Returns the approving agent's user name. * * @return an identifier for the agent diff --git a/pki/base/common/src/com/netscape/certsrv/request/AgentApprovals.java b/pki/base/common/src/com/netscape/certsrv/request/AgentApprovals.java index 42ae2d2f4..410e3b2c3 100644 --- a/pki/base/common/src/com/netscape/certsrv/request/AgentApprovals.java +++ b/pki/base/common/src/com/netscape/certsrv/request/AgentApprovals.java @@ -34,6 +34,11 @@ public class AgentApprovals implements Serializable { /** + * + */ + private static final long serialVersionUID = -3827259076159153561L; + + /** * Adds an approval to approval's list. * <p> * If an approval is already present for this user, diff --git a/pki/base/common/src/com/netscape/certsrv/request/PolicyMessage.java b/pki/base/common/src/com/netscape/certsrv/request/PolicyMessage.java index 6c750903d..13cec1618 100644 --- a/pki/base/common/src/com/netscape/certsrv/request/PolicyMessage.java +++ b/pki/base/common/src/com/netscape/certsrv/request/PolicyMessage.java @@ -31,6 +31,11 @@ public class PolicyMessage extends EBaseException { /** + * + */ + private static final long serialVersionUID = -8129371562473386912L; + + /** * Class constructor that registers policy message. * <p> * @param message message string diff --git a/pki/base/common/src/com/netscape/certsrv/security/Credential.java b/pki/base/common/src/com/netscape/certsrv/security/Credential.java index 3b50d3294..9aff49adc 100644 --- a/pki/base/common/src/com/netscape/certsrv/security/Credential.java +++ b/pki/base/common/src/com/netscape/certsrv/security/Credential.java @@ -27,6 +27,10 @@ package com.netscape.certsrv.security; */ public class Credential implements java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = -7810193228062824943L; private String mId = null; private String mPassword = null; diff --git a/pki/base/common/src/com/netscape/certsrv/security/KeyCertData.java b/pki/base/common/src/com/netscape/certsrv/security/KeyCertData.java index 513edfd42..484e5e73b 100644 --- a/pki/base/common/src/com/netscape/certsrv/security/KeyCertData.java +++ b/pki/base/common/src/com/netscape/certsrv/security/KeyCertData.java @@ -40,6 +40,11 @@ import com.netscape.certsrv.common.Constants; public class KeyCertData extends Properties { /** + * + */ + private static final long serialVersionUID = -9084106429445432037L; + + /** * Constructs a key certificate data. */ public KeyCertData() { diff --git a/pki/base/common/src/com/netscape/certsrv/selftests/EDuplicateSelfTestException.java b/pki/base/common/src/com/netscape/certsrv/selftests/EDuplicateSelfTestException.java index 14a9b66bd..d0f6b4c32 100644 --- a/pki/base/common/src/com/netscape/certsrv/selftests/EDuplicateSelfTestException.java +++ b/pki/base/common/src/com/netscape/certsrv/selftests/EDuplicateSelfTestException.java @@ -53,6 +53,10 @@ public class EDuplicateSelfTestException // helper parameters // /////////////////////// + /** + * + */ + private static final long serialVersionUID = -7484729117186395701L; private String mInstanceName = null; private String mInstanceStore = null; private String mInstanceParameter = null; diff --git a/pki/base/common/src/com/netscape/certsrv/selftests/EInvalidSelfTestException.java b/pki/base/common/src/com/netscape/certsrv/selftests/EInvalidSelfTestException.java index 7761e54cf..119076954 100644 --- a/pki/base/common/src/com/netscape/certsrv/selftests/EInvalidSelfTestException.java +++ b/pki/base/common/src/com/netscape/certsrv/selftests/EInvalidSelfTestException.java @@ -53,6 +53,10 @@ public class EInvalidSelfTestException // helper parameters // /////////////////////// + /** + * + */ + private static final long serialVersionUID = 942550656371185199L; private String mInstanceName = null; private String mInstanceStore = null; private String mInstanceParameter = null; diff --git a/pki/base/common/src/com/netscape/certsrv/selftests/EMissingSelfTestException.java b/pki/base/common/src/com/netscape/certsrv/selftests/EMissingSelfTestException.java index 111cb84bb..88fa14cb0 100644 --- a/pki/base/common/src/com/netscape/certsrv/selftests/EMissingSelfTestException.java +++ b/pki/base/common/src/com/netscape/certsrv/selftests/EMissingSelfTestException.java @@ -53,6 +53,10 @@ public class EMissingSelfTestException // helper parameters // /////////////////////// + /** + * + */ + private static final long serialVersionUID = -2969459432517671352L; private String mInstanceName = null; private String mInstanceStore = null; private String mInstanceParameter = null; diff --git a/pki/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java b/pki/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java index b50072e97..e465517c7 100644 --- a/pki/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java +++ b/pki/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java @@ -54,6 +54,10 @@ public class ESelfTestException // ESelfTestException parameters // /////////////////////////////////// + /** + * + */ + private static final long serialVersionUID = -8001373369705595891L; private static final String SELFTEST_RESOURCES = SelfTestResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/certsrv/usrgrp/EUsrGrpException.java b/pki/base/common/src/com/netscape/certsrv/usrgrp/EUsrGrpException.java index 6f094ab44..ca4634a67 100644 --- a/pki/base/common/src/com/netscape/certsrv/usrgrp/EUsrGrpException.java +++ b/pki/base/common/src/com/netscape/certsrv/usrgrp/EUsrGrpException.java @@ -30,6 +30,10 @@ import com.netscape.certsrv.base.EBaseException; public class EUsrGrpException extends EBaseException { /** + * + */ + private static final long serialVersionUID = 5549165292376270875L; + /** * Identity resource class name. */ private static final String USRGRP_RESOURCES = UsrGrpResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/cms/authentication/HashAuthData.java b/pki/base/common/src/com/netscape/cms/authentication/HashAuthData.java index 99ed45bb4..19bfab699 100644 --- a/pki/base/common/src/com/netscape/cms/authentication/HashAuthData.java +++ b/pki/base/common/src/com/netscape/cms/authentication/HashAuthData.java @@ -32,6 +32,10 @@ import java.util.Vector; */ public class HashAuthData extends Hashtable { + /** + * + */ + private static final long serialVersionUID = -988354133432275910L; public static final long TIMEOUT = 600000; public static final long LASTLOGIN = 0; diff --git a/pki/base/common/src/com/netscape/cms/ocsp/LDAPStore.java b/pki/base/common/src/com/netscape/cms/ocsp/LDAPStore.java index eaca3c5c0..5e4e65661 100644 --- a/pki/base/common/src/com/netscape/cms/ocsp/LDAPStore.java +++ b/pki/base/common/src/com/netscape/cms/ocsp/LDAPStore.java @@ -610,6 +610,10 @@ class CRLUpdater extends Thread { class TempCRLIssuingPointRecord implements ICRLIssuingPointRecord { + /** + * + */ + private static final long serialVersionUID = 5299660983298765746L; private X509CertImpl mCACert = null; private X509CRLImpl mCRL = null; diff --git a/pki/base/common/src/com/netscape/cms/profile/constraint/KeyConstraint.java b/pki/base/common/src/com/netscape/cms/profile/constraint/KeyConstraint.java index 1b77f430a..56ec0adf1 100644 --- a/pki/base/common/src/com/netscape/cms/profile/constraint/KeyConstraint.java +++ b/pki/base/common/src/com/netscape/cms/profile/constraint/KeyConstraint.java @@ -51,6 +51,7 @@ import com.netscape.cms.profile.def.UserKeyDefault; * * @version $Revision$, $Date$ */ +@SuppressWarnings("serial") public class KeyConstraint extends EnrollConstraint { public static final String CONFIG_KEY_TYPE = "keyType"; // (EC, RSA) diff --git a/pki/base/common/src/com/netscape/cms/publish/mappers/LdapDNCompsMap.java b/pki/base/common/src/com/netscape/cms/publish/mappers/LdapDNCompsMap.java index 38dcca287..1662283f3 100644 --- a/pki/base/common/src/com/netscape/cms/publish/mappers/LdapDNCompsMap.java +++ b/pki/base/common/src/com/netscape/cms/publish/mappers/LdapDNCompsMap.java @@ -390,6 +390,11 @@ public class LdapDNCompsMap * name=value components. components are anded. */ public static class SearchFilter extends Vector { + /** + * + */ + private static final long serialVersionUID = 4210302171279891828L; + public String toFilterString() { StringBuffer buf = new StringBuffer(); diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/ACLAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/ACLAdminServlet.java index cdfb772cc..c4fa440d1 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/ACLAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/ACLAdminServlet.java @@ -53,6 +53,10 @@ import com.netscape.certsrv.usrgrp.IUser; */ public class ACLAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = -322237202045924779L; private IUGSubsystem mUG = null; private static final String PROP_ACLS = "acls"; private static final String PROP_EVAL = "accessEvaluator"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/AdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/AdminServlet.java index 2d13841b1..089967344 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/AdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/AdminServlet.java @@ -86,6 +86,10 @@ import com.netscape.cms.servlet.base.UserInfo; */ public class AdminServlet extends HttpServlet { + /** + * + */ + private static final long serialVersionUID = 7740464244137421542L; private final static String HDR_AUTHORIZATION = "Authorization"; private final static String HDR_LANG = "accept-language"; private final static String HDR_CONTENT_LEN = "Content-Length"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/AuthAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/AuthAdminServlet.java index b4ef5c698..ff9b99115 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/AuthAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/AuthAdminServlet.java @@ -57,6 +57,10 @@ import com.netscape.certsrv.logging.ILogger; */ public class AuthAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = -6258411211380144425L; private final static String INFO = "AuthAdminServlet"; private IAuthSubsystem mAuths = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/AuthCredentials.java b/pki/base/common/src/com/netscape/cms/servlet/admin/AuthCredentials.java index 111fe0591..bfa9cccd4 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/AuthCredentials.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/AuthCredentials.java @@ -33,6 +33,10 @@ import com.netscape.certsrv.base.IArgBlock; * @version $Revision$, $Date$ */ public class AuthCredentials implements IAuthCredentials { + /** + * + */ + private static final long serialVersionUID = -6938644716486895814L; private Hashtable authCreds = null; // Inserted by bskim private IArgBlock argblk = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/CAAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/CAAdminServlet.java index 9b6f50b4f..eea0b29df 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/CAAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/CAAdminServlet.java @@ -56,6 +56,11 @@ import com.netscape.cmsutil.util.Utils; */ public class CAAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = 6200983242040946840L; + public final static String PROP_EMAIL_TEMPLATE = "emailTemplate"; private final static String INFO = "CAAdminServlet"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/CMSAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/CMSAdminServlet.java index 1f2835bc2..f57d12e2d 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/CMSAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/CMSAdminServlet.java @@ -92,6 +92,10 @@ import com.netscape.symkey.SessionKey; */ public final class CMSAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = 714370238027440050L; private final static String INFO = "CMSAdminServlet"; private final static String BEGIN_HEADER = "-----BEGIN CERTIFICATE-----"; private final static String END_HEADER = "-----END CERTIFICATE-----"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/JobsAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/JobsAdminServlet.java index 30c4a5dba..7f18d94e5 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/JobsAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/JobsAdminServlet.java @@ -50,6 +50,10 @@ import com.netscape.certsrv.logging.ILogger; * @version $Revision$, $Date$ */ public class JobsAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = 561767449283982015L; // ... remove later private final static String EDIT = ";edit"; private final static String VISIBLE = ";visible"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/KRAAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/KRAAdminServlet.java index 5b318f61f..2c780bb2a 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/KRAAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/KRAAdminServlet.java @@ -53,6 +53,11 @@ import com.netscape.certsrv.security.IStorageKeyUnit; * @version $Revision$, $Date$ */ public class KRAAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = -5794220348195666729L; + protected static final String PROP_ENABLED = "enabled"; private final static String INFO = "KRAAdminServlet"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/LogAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/LogAdminServlet.java index 316654720..58e4dbdfd 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/LogAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/LogAdminServlet.java @@ -56,6 +56,11 @@ import com.netscape.certsrv.logging.LogPlugin; */ public class LogAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = -99699953656847603L; + private final static String INFO = "LogAdminServlet"; private ILogSubsystem mSys = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/OCSPAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/OCSPAdminServlet.java index 7101dc520..78b88fd82 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/OCSPAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/OCSPAdminServlet.java @@ -50,6 +50,11 @@ import com.netscape.certsrv.ocsp.IOCSPStore; */ public class OCSPAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = -3349635369730415767L; + protected static final String PROP_ENABLED = "enabled"; private final static String INFO = "OCSPAdminServlet"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/PolicyAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/PolicyAdminServlet.java index 613fbdd68..10a768a27 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/PolicyAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/PolicyAdminServlet.java @@ -55,6 +55,11 @@ import com.netscape.certsrv.ra.IRegistrationAuthority; * @version $Revision$, $Date$ */ public class PolicyAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = 8850646362111106656L; + public final static String PROP_AUTHORITY = "authority"; private final static String INFO = "PolicyAdminServlet"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/ProfileAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/ProfileAdminServlet.java index 4059b03b6..1cfab0b6a 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/ProfileAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/ProfileAdminServlet.java @@ -64,6 +64,11 @@ import com.netscape.certsrv.registry.IPluginRegistry; * @version $Revision$, $Date$ */ public class ProfileAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = 4828203666899891742L; + public final static String PROP_AUTHORITY = "authority"; private final static String INFO = "ProfileAdminServlet"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/PublisherAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/PublisherAdminServlet.java index 7507238a7..2842542e4 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/PublisherAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/PublisherAdminServlet.java @@ -77,6 +77,11 @@ import com.netscape.cmsutil.password.IPasswordStore; * @version $Revision$, $Date$ */ public class PublisherAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = 7055088618787207262L; + public final static String PROP_AUTHORITY = "authority"; private final static String INFO = "PublisherAdminServlet"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/RAAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/RAAdminServlet.java index eecd23abc..24fffd8b8 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/RAAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/RAAdminServlet.java @@ -46,6 +46,11 @@ import com.netscape.certsrv.request.IRequestListener; * @version $Revision$, $Date$ */ public class RAAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = 8417319111438832435L; + protected static final String PROP_ENABLED = "enabled"; /*========================================================== diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/RegistryAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/RegistryAdminServlet.java index bbd9c61ca..be9eb456e 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/RegistryAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/RegistryAdminServlet.java @@ -45,6 +45,11 @@ import com.netscape.certsrv.registry.IPluginRegistry; * @version $Revision$, $Date$ */ public class RegistryAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = 2104924641665675578L; + public final static String PROP_AUTHORITY = "authority"; private final static String INFO = "RegistryAdminServlet"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java index b20797bfb..bd96bbeca 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/UsrGrpAdminServlet.java @@ -72,6 +72,10 @@ import com.netscape.cmsutil.util.Cert; */ public class UsrGrpAdminServlet extends AdminServlet { + /** + * + */ + private static final long serialVersionUID = -4341817607402387714L; private final static String INFO = "UsrGrpAdminServlet"; private final static String RES_CA_GROUP = "certServer.ca.group"; private final static String RES_RA_GROUP = "certServer.ra.group"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/base/CMSServlet.java b/pki/base/common/src/com/netscape/cms/servlet/base/CMSServlet.java index 665a637bd..f5f06becb 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/base/CMSServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/base/CMSServlet.java @@ -106,6 +106,10 @@ import com.netscape.cmsutil.xml.XMLObject; * @version $Revision$, $Date$ */ public abstract class CMSServlet extends HttpServlet { + /** + * + */ + private static final long serialVersionUID = -3886300199374147160L; // servlet init params // xxxx todo:Should enforce init param value checking! public final static String SUCCESS = "0"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java b/pki/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java index 96c205251..64c59c5a1 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/base/CMSStartServlet.java @@ -40,6 +40,10 @@ import com.netscape.cmsutil.util.Utils; * @version $Revision$, $Date$ */ public class CMSStartServlet extends HttpServlet { + /** + * + */ + private static final long serialVersionUID = 515623839479425172L; public final static String PROP_CMS_CFG = "cfgPath"; public void init(ServletConfig config) throws ServletException { diff --git a/pki/base/common/src/com/netscape/cms/servlet/base/DisplayHtmlServlet.java b/pki/base/common/src/com/netscape/cms/servlet/base/DisplayHtmlServlet.java index 6e4ef50c4..8d853f0bf 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/base/DisplayHtmlServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/base/DisplayHtmlServlet.java @@ -40,6 +40,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class DisplayHtmlServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -4343458180370708327L; public final static String PROP_TEMPLATE = "template"; public final static String PROP_HTML_PATH = "htmlPath"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/base/DynamicVariablesServlet.java b/pki/base/common/src/com/netscape/cms/servlet/base/DynamicVariablesServlet.java index e9221a95c..9607fbe20 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/base/DynamicVariablesServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/base/DynamicVariablesServlet.java @@ -50,6 +50,10 @@ import com.netscape.certsrv.base.IConfigStore; * @version $Revision$, $Date$ */ public class DynamicVariablesServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 7246774978153039460L; public final static String PROP_ACCESS = "ServletAccess"; public final static String PROP_AUTHMGR = "AuthMgr"; public final static String PROP_CLIENTAUTH = "GetClientCert"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/base/GetStats.java b/pki/base/common/src/com/netscape/cms/servlet/base/GetStats.java index 34cfe9c35..3b8f8bd41 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/base/GetStats.java +++ b/pki/base/common/src/com/netscape/cms/servlet/base/GetStats.java @@ -50,6 +50,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class GetStats extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -3336253558044271816L; private final static String TPL_FILE = "getStats.template"; private String mFormPath = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/base/IndexServlet.java b/pki/base/common/src/com/netscape/cms/servlet/base/IndexServlet.java index 79aa65a58..89179b57c 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/base/IndexServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/base/IndexServlet.java @@ -40,6 +40,11 @@ import com.netscape.cms.servlet.common.IndexTemplateFiller; * @version $Revision$, $Date$ */ public class IndexServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -8632685610380549L; + public final static String PROP_TEMPLATE = "template"; private final static String INFO = "indexServlet"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/base/PortsServlet.java b/pki/base/common/src/com/netscape/cms/servlet/base/PortsServlet.java index 5f68ead62..4c3dec804 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/base/PortsServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/base/PortsServlet.java @@ -39,6 +39,10 @@ import com.netscape.cmsutil.xml.XMLObject; */ public class PortsServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -3750153734073658934L; private final static String INFO = "ports"; public PortsServlet() { diff --git a/pki/base/common/src/com/netscape/cms/servlet/base/ProxyServlet.java b/pki/base/common/src/com/netscape/cms/servlet/base/ProxyServlet.java index 8103524e3..15bfb3067 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/base/ProxyServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/base/ProxyServlet.java @@ -53,6 +53,10 @@ import com.netscape.certsrv.apps.CMS; */ public class ProxyServlet extends HttpServlet { + /** + * + */ + private static final long serialVersionUID = -2535349161521094539L; private String mDest = null; private String mDestContext = null; private String mSrcContext = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/base/SystemInfoServlet.java b/pki/base/common/src/com/netscape/cms/servlet/base/SystemInfoServlet.java index b4b852f15..5daac065c 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/base/SystemInfoServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/base/SystemInfoServlet.java @@ -40,6 +40,11 @@ import com.netscape.certsrv.apps.CMS; */ public class SystemInfoServlet extends HttpServlet { + /** + * + */ + private static final long serialVersionUID = -438134935001530607L; + public SystemInfoServlet() { } diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/CMCRevReqServlet.java b/pki/base/common/src/com/netscape/cms/servlet/cert/CMCRevReqServlet.java index cd3326fb7..47b3c9f1e 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/CMCRevReqServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/CMCRevReqServlet.java @@ -75,6 +75,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class CMCRevReqServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 4731070386698127770L; public final static String GETCERTS_FOR_CHALLENGE_REQUEST = "getCertsForChallenge"; public static final String TOKEN_CERT_SERIAL = "certSerialToRevoke"; // revocation templates. diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/ChallengeRevocationServlet1.java b/pki/base/common/src/com/netscape/cms/servlet/cert/ChallengeRevocationServlet1.java index 0b5767950..8dff27685 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/ChallengeRevocationServlet1.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/ChallengeRevocationServlet1.java @@ -74,6 +74,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class ChallengeRevocationServlet1 extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 1253319999546210407L; public final static String GETCERTS_FOR_CHALLENGE_REQUEST = "getCertsForChallenge"; public static final String TOKEN_CERT_SERIAL = "certSerialToRevoke"; // revocation templates. diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/CloneRedirect.java b/pki/base/common/src/com/netscape/cms/servlet/cert/CloneRedirect.java index 2f58e85cd..88abe80e5 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/CloneRedirect.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/CloneRedirect.java @@ -49,6 +49,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class CloneRedirect extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 3217967115281965166L; private final static String PROP_REDIRECT_URL = "masterURL"; private final static String TPL_FILE = "cloneRedirect.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/DirAuthServlet.java b/pki/base/common/src/com/netscape/cms/servlet/cert/DirAuthServlet.java index a5b989b8f..0ccf7f18e 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/DirAuthServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/DirAuthServlet.java @@ -52,6 +52,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class DirAuthServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 3906057586972768401L; private final static String TPL_FILE = "/ra/hashEnrollmentSubmit.template"; private final static String TPL_ERROR_FILE = "/ra/GenErrorHashDirEnroll.template"; private String mFormPath = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/DisableEnrollResult.java b/pki/base/common/src/com/netscape/cms/servlet/cert/DisableEnrollResult.java index d64fd2337..9f3533123 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/DisableEnrollResult.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/DisableEnrollResult.java @@ -53,6 +53,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @see com.netscape.cms.servlet.cert.EnableEnrollResult */ public class DisableEnrollResult extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 4307655310299723974L; private final static String TPL_FILE = "enableEnrollResult.template"; private String mFormPath = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayBySerial.java b/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayBySerial.java index 1bd761d82..61cadc4aa 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayBySerial.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayBySerial.java @@ -78,6 +78,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class DisplayBySerial extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -4143700762995036597L; private final static String INFO = "DisplayBySerial"; private final static String TPL_FILE1 = "displayBySerial.template"; private final static BigInteger MINUS_ONE = new BigInteger("-1"); diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayCRL.java b/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayCRL.java index cc21ab3de..3a5f3f062 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayCRL.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayCRL.java @@ -58,6 +58,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class DisplayCRL extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 1152016798229054027L; private final static String INFO = "DisplayCRL"; private final static String TPL_FILE = "displayCRL.template"; //private final static String E_TPL_FILE = "error.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayHashUserEnroll.java b/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayHashUserEnroll.java index c7d76a7a5..6efda2bb4 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayHashUserEnroll.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/DisplayHashUserEnroll.java @@ -53,6 +53,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class DisplayHashUserEnroll extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -7063912475278810362L; private final static String TPL_FILE = "/ra/hashDirUserEnroll.template"; private final static String TPL_ERROR_FILE = "/ra/GenErrorHashDirEnroll.template"; private String mFormPath = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevoke.java b/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevoke.java index 42cb91a2d..b333c7870 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevoke.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevoke.java @@ -79,6 +79,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class DoRevoke extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 1693115906265904238L; private final static String INFO = "DoRevoke"; private final static String TPL_FILE = "revocationResult.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevokeTPS.java b/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevokeTPS.java index 44754665e..ce074a051 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevokeTPS.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/DoRevokeTPS.java @@ -71,6 +71,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class DoRevokeTPS extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -2980600514636454836L; private final static String INFO = "DoRevoke"; private final static String TPL_FILE = "revocationResult.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/DoUnrevoke.java b/pki/base/common/src/com/netscape/cms/servlet/cert/DoUnrevoke.java index ff43ad6d8..e17910451 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/DoUnrevoke.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/DoUnrevoke.java @@ -65,6 +65,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class DoUnrevoke extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -7978703730006036625L; private final static String INFO = "DoUnrevoke"; private final static String TPL_FILE = "unrevocationResult.template"; private final static BigInteger MINUS_ONE = new BigInteger("-1"); diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/DoUnrevokeTPS.java b/pki/base/common/src/com/netscape/cms/servlet/cert/DoUnrevokeTPS.java index 4f39a3876..8f46ee9c3 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/DoUnrevokeTPS.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/DoUnrevokeTPS.java @@ -64,6 +64,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class DoUnrevokeTPS extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -6245049221697655642L; private final static String INFO = "DoUnrevoke"; private final static String TPL_FILE = "unrevocationResult.template"; private final static BigInteger MINUS_ONE = new BigInteger("-1"); diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/EnableEnrollResult.java b/pki/base/common/src/com/netscape/cms/servlet/cert/EnableEnrollResult.java index a8082e5ac..b1d894268 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/EnableEnrollResult.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/EnableEnrollResult.java @@ -54,6 +54,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @see com.netscape.cms.servlet.cert.DisableEnrollResult */ public class EnableEnrollResult extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -2646998784859783012L; private final static String TPL_FILE = "enableEnrollResult.template"; private String mFormPath = null; private Random random = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/EnrollServlet.java b/pki/base/common/src/com/netscape/cms/servlet/cert/EnrollServlet.java index 2d1c28f4d..ee64cb948 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/EnrollServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/EnrollServlet.java @@ -84,6 +84,11 @@ import com.netscape.cms.servlet.processors.PKIProcessor; * @version $Revision$, $Date$ */ public class EnrollServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -6983729702665630013L; + public final static String ADMIN_ENROLL_SERVLET_ID = "caadminEnroll"; // enrollment templates. diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/GetBySerial.java b/pki/base/common/src/com/netscape/cms/servlet/cert/GetBySerial.java index ce136448c..a723cb52d 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/GetBySerial.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/GetBySerial.java @@ -66,6 +66,11 @@ import com.netscape.cmsutil.crypto.CryptoUtil; */ public class GetBySerial extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -2276677839178370838L; + private final static String INFO = "GetBySerial"; private final static String IMPORT_CERT_TEMPLATE = "ImportCert.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/GetCAChain.java b/pki/base/common/src/com/netscape/cms/servlet/cert/GetCAChain.java index 81e96e3a5..facf501cd 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/GetCAChain.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/GetCAChain.java @@ -56,7 +56,11 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class GetCAChain extends CMSServlet { - private final static String TPL_FILE = "displayCaCert.template"; + /** + * + */ + private static final long serialVersionUID = -8189048155415074581L; + private final static String TPL_FILE = "displayCaCert.template"; private String mFormPath = null; public GetCAChain() { diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/GetCRL.java b/pki/base/common/src/com/netscape/cms/servlet/cert/GetCRL.java index cb83351af..2bbec4828 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/GetCRL.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/GetCRL.java @@ -55,6 +55,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class GetCRL extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 7132206924070383013L; private final static String TPL_FILE = "displayCRL.template"; private String mFormPath = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/GetCertFromRequest.java b/pki/base/common/src/com/netscape/cms/servlet/cert/GetCertFromRequest.java index 362107809..5909bc4b1 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/GetCertFromRequest.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/GetCertFromRequest.java @@ -59,6 +59,10 @@ import com.netscape.cms.servlet.common.ICMSTemplateFiller; * @version $Revision$, $Date$ */ public class GetCertFromRequest extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 5310646832256611066L; private final static String PROP_IMPORT = "importCert"; protected static final String GET_CERT_FROM_REQUEST_TEMPLATE = "ImportCert.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/GetEnableStatus.java b/pki/base/common/src/com/netscape/cms/servlet/cert/GetEnableStatus.java index 48f0f417d..5ac681106 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/GetEnableStatus.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/GetEnableStatus.java @@ -52,6 +52,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class GetEnableStatus extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 3879769989681379834L; private final static String TPL_FILE = "userEnroll.template"; private String mFormPath = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/GetInfo.java b/pki/base/common/src/com/netscape/cms/servlet/cert/GetInfo.java index 9ce50fa03..5b6b02fa2 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/GetInfo.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/GetInfo.java @@ -57,6 +57,11 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class GetInfo extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 1909881831730252799L; + private final static String INFO = "GetInfo"; private String mFormPath = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/HashEnrollServlet.java b/pki/base/common/src/com/netscape/cms/servlet/cert/HashEnrollServlet.java index 24dda2a59..645cb831b 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/HashEnrollServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/HashEnrollServlet.java @@ -92,6 +92,11 @@ import com.netscape.cms.servlet.common.ICMSTemplateFiller; * @version $Revision$, $Date$ */ public class HashEnrollServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 5532936020515258333L; + public final static String ADMIN_ENROLL_SERVLET_ID = "adminEnroll"; // enrollment templates. diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/ListCerts.java b/pki/base/common/src/com/netscape/cms/servlet/cert/ListCerts.java index edbe81b7d..e79efc327 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/ListCerts.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/ListCerts.java @@ -66,6 +66,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class ListCerts extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -3568155814023099576L; private final static String TPL_FILE = "queryCert.template"; private final static String INFO = "ListCerts"; private final static BigInteger MINUS_ONE = new BigInteger("-1"); diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/Monitor.java b/pki/base/common/src/com/netscape/cms/servlet/cert/Monitor.java index 1355bebb1..f32d6c189 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/Monitor.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/Monitor.java @@ -59,6 +59,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class Monitor extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -8492837942132357692L; private final static String TPL_FILE = "monitor.template"; private final static String INFO = "Monitor"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/ReasonToRevoke.java b/pki/base/common/src/com/netscape/cms/servlet/cert/ReasonToRevoke.java index f45b488c7..50296cf1c 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/ReasonToRevoke.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/ReasonToRevoke.java @@ -56,6 +56,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class ReasonToRevoke extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -8447580860330758660L; private final static String TPL_FILE = "reasonToRevoke.template"; private final static String INFO = "ReasonToRevoke"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/RemoteAuthConfig.java b/pki/base/common/src/com/netscape/cms/servlet/cert/RemoteAuthConfig.java index ee75b6a27..1ea07bfff 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/RemoteAuthConfig.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/RemoteAuthConfig.java @@ -62,6 +62,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class RemoteAuthConfig extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -5803015919915253940L; private final static String INFO = "RemoteAuthConfig"; private final static String TPL_FILE = "remoteAuthConfig.template"; private final static String ENABLE_REMOTE_CONFIG = "enableRemoteConfiguration"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/RenewalServlet.java b/pki/base/common/src/com/netscape/cms/servlet/cert/RenewalServlet.java index 72a5e8098..3420aaee0 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/RenewalServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/RenewalServlet.java @@ -63,6 +63,11 @@ import com.netscape.cms.servlet.common.ICMSTemplateFiller; * @version $Revision$, $Date$ */ public class RenewalServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -3094124661102395244L; + // renewal templates. public static final String RENEWAL_SUCCESS_TEMPLATE = "RenewalSuccess.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/RevocationServlet.java b/pki/base/common/src/com/netscape/cms/servlet/cert/RevocationServlet.java index eefeb4628..9b39acc74 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/RevocationServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/RevocationServlet.java @@ -64,6 +64,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class RevocationServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -9086730404084717413L; private final static String PROP_REVOKEBYDN = "revokeByDN"; // revocation templates. private final static String TPL_FILE = "reasonToRevoke.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/SrchCerts.java b/pki/base/common/src/com/netscape/cms/servlet/cert/SrchCerts.java index 6c8813d63..84e7e784a 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/SrchCerts.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/SrchCerts.java @@ -69,6 +69,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class SrchCerts extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -5876805830088921643L; private final static String TPL_FILE = "srchCert.template"; private final static String INFO = "SrchCerts"; private final static BigInteger MINUS_ONE = new BigInteger("-1"); diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/UpdateCRL.java b/pki/base/common/src/com/netscape/cms/servlet/cert/UpdateCRL.java index c2b2a1982..1047c97c3 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/UpdateCRL.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/UpdateCRL.java @@ -67,6 +67,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class UpdateCRL extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -1182106454856991246L; private final static String INFO = "UpdateCRL"; private final static String TPL_FILE = "updateCRL.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/UpdateDir.java b/pki/base/common/src/com/netscape/cms/servlet/cert/UpdateDir.java index 3f05674e2..ccba33622 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/UpdateDir.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/UpdateDir.java @@ -66,6 +66,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class UpdateDir extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 3063889978908136789L; private final static String INFO = "UpdateDir"; private final static String TPL_FILE = "updateDir.template"; private final static int UPDATE_ALL = 0; diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/scep/CRSEnrollment.java b/pki/base/common/src/com/netscape/cms/servlet/cert/scep/CRSEnrollment.java index e2a402644..1222621de 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/scep/CRSEnrollment.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/scep/CRSEnrollment.java @@ -138,7 +138,11 @@ import com.netscape.cmsutil.scep.CRSPKIMessage; */ public class CRSEnrollment extends HttpServlet { - protected IProfileSubsystem mProfileSubsystem = null; + /** + * + */ + private static final long serialVersionUID = 8483002540957382369L; +protected IProfileSubsystem mProfileSubsystem = null; protected String mProfileId = null; protected ICertAuthority mAuthority; protected IConfigStore mConfig = null; @@ -2036,7 +2040,11 @@ throws EBaseException { class CryptoContextException extends Exception { - public CryptoContextException() { super(); } + /** + * + */ + private static final long serialVersionUID = -1124116326126256475L; + public CryptoContextException() { super(); } public CryptoContextException(String s) { super(s); } } @@ -2184,11 +2192,19 @@ throws EBaseException { class CRSFailureException extends Exception { + /** + * + */ + private static final long serialVersionUID = 1962741611501549051L; public CRSFailureException() { super(); } public CRSFailureException(String s) { super(s); } } class CRSInvalidSignatureException extends Exception { + /** + * + */ + private static final long serialVersionUID = 9096408193567657944L; public CRSInvalidSignatureException() { super(); } public CRSInvalidSignatureException(String s) { super(s); } } @@ -2196,7 +2212,11 @@ throws EBaseException { class CRSPolicyException extends Exception { - public CRSPolicyException() { super(); } + /** + * + */ + private static final long serialVersionUID = 5846593800658787396L; + public CRSPolicyException() { super(); } public CRSPolicyException(String s) { super(s); } } diff --git a/pki/base/common/src/com/netscape/cms/servlet/common/AuthCredentials.java b/pki/base/common/src/com/netscape/cms/servlet/common/AuthCredentials.java index 6f5cce8b3..759238d9e 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/common/AuthCredentials.java +++ b/pki/base/common/src/com/netscape/cms/servlet/common/AuthCredentials.java @@ -33,6 +33,10 @@ import com.netscape.certsrv.base.IArgBlock; * @version $Revision$, $Date$ */ public class AuthCredentials implements IAuthCredentials { + /** + * + */ + private static final long serialVersionUID = -5995164231849154265L; private Hashtable authCreds = null; // Inserted by bskim private IArgBlock argblk = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/common/ECMSGWException.java b/pki/base/common/src/com/netscape/cms/servlet/common/ECMSGWException.java index 11a4dbf92..0cd1102d7 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/common/ECMSGWException.java +++ b/pki/base/common/src/com/netscape/cms/servlet/common/ECMSGWException.java @@ -30,6 +30,10 @@ import com.netscape.certsrv.base.EBaseException; public class ECMSGWException extends EBaseException { /** + * + */ + private static final long serialVersionUID = 7546430025179838019L; + /** * CA resource class name. */ private static final String CMSGW_RESOURCES = CMSGWResources.class.getName(); diff --git a/pki/base/common/src/com/netscape/cms/servlet/connector/CloneServlet.java b/pki/base/common/src/com/netscape/cms/servlet/connector/CloneServlet.java index b3fcb0ed4..b3809579a 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/connector/CloneServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/connector/CloneServlet.java @@ -67,6 +67,10 @@ import com.netscape.cms.servlet.common.CMSRequest; * @version $Revision$, $Date$ */ public class CloneServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -3474557834182380981L; public static final String INFO = "Clone Servlet"; public final static String PROP_AUTHORITY = "authority"; protected ServletConfig mConfig = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/connector/ConnectorServlet.java b/pki/base/common/src/com/netscape/cms/servlet/connector/ConnectorServlet.java index c9e5a3396..ad48d18d9 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/connector/ConnectorServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/connector/ConnectorServlet.java @@ -81,6 +81,10 @@ import com.netscape.cms.servlet.common.CMSRequest; * @version $Revision$, $Date$ */ public class ConnectorServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 1221916495803185863L; public static final String INFO = "Connector Servlet"; public final static String PROP_AUTHORITY = "authority"; protected ServletConfig mConfig = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/connector/GenerateKeyPairServlet.java b/pki/base/common/src/com/netscape/cms/servlet/connector/GenerateKeyPairServlet.java index c8c0df353..2a024c3ad 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/connector/GenerateKeyPairServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/connector/GenerateKeyPairServlet.java @@ -53,6 +53,10 @@ import com.netscape.cms.servlet.common.CMSRequest; //XXX add auditing later public class GenerateKeyPairServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 4308385291961910458L; private final static String INFO = "GenerateKeyPairServlet"; public final static String PROP_AUTHORITY = "authority"; protected ServletConfig mConfig = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/connector/TokenKeyRecoveryServlet.java b/pki/base/common/src/com/netscape/cms/servlet/connector/TokenKeyRecoveryServlet.java index 5ced86d62..fa454bd6e 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/connector/TokenKeyRecoveryServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/connector/TokenKeyRecoveryServlet.java @@ -51,6 +51,10 @@ import com.netscape.cms.servlet.common.CMSRequest; //XXX add auditing later public class TokenKeyRecoveryServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -2322410659376501336L; private final static String INFO = "TokenKeyRecoveryServlet"; public final static String PROP_AUTHORITY = "authority"; protected ServletConfig mConfig = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/BaseServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/BaseServlet.java index f5f4441a0..01d06631d 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/BaseServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/BaseServlet.java @@ -34,6 +34,11 @@ import com.netscape.certsrv.apps.CMS; public class BaseServlet extends VelocityServlet { /** + * + */ + private static final long serialVersionUID = 3169697149104780149L; + + /** * Returns usage of this servlet. */ public String getUsage() { diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/CheckIdentity.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/CheckIdentity.java index 41e583bed..b3c10b6e8 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/CheckIdentity.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/CheckIdentity.java @@ -39,6 +39,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class CheckIdentity extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 1647682040815275807L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigBaseServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigBaseServlet.java index 6deea2597..f2587300b 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigBaseServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigBaseServlet.java @@ -30,6 +30,11 @@ import com.netscape.certsrv.apps.CMS; public abstract class ConfigBaseServlet extends BaseServlet { + /** + * + */ + private static final long serialVersionUID = 7692352201878710530L; + public boolean isDisplayMode(HttpServletRequest request, HttpServletResponse response, Context context) { diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigCertReqServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigCertReqServlet.java index b9f129fd4..37493b6bb 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigCertReqServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigCertReqServlet.java @@ -28,6 +28,11 @@ import org.apache.velocity.context.Context; public class ConfigCertReqServlet extends BaseServlet { + /** + * + */ + private static final long serialVersionUID = 4489288758636916446L; + public Template process(HttpServletRequest request, HttpServletResponse response, Context context) { diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigCloneServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigCloneServlet.java index 0a0e5f08d..e7d88a35a 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigCloneServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigCloneServlet.java @@ -28,6 +28,11 @@ import org.apache.velocity.context.Context; public class ConfigCloneServlet extends BaseServlet { + /** + * + */ + private static final long serialVersionUID = -9065299591659111350L; + public Template process(HttpServletRequest request, HttpServletResponse response, Context context) { diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigDatabaseServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigDatabaseServlet.java index 0a54dd476..08ebf08e3 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigDatabaseServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigDatabaseServlet.java @@ -31,6 +31,10 @@ import com.netscape.certsrv.base.IConfigStore; public class ConfigDatabaseServlet extends ConfigBaseServlet { + /** + * + */ + private static final long serialVersionUID = 2625626176089893989L; private static final String HOST = "localhost"; private static final String PORT = "389"; private static final String BASEDN = "o=netscapeCertificateServer"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigHSMServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigHSMServlet.java index 3cd548542..bfc6e278f 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigHSMServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigHSMServlet.java @@ -41,6 +41,10 @@ import com.netscape.cmsutil.crypto.Module; public class ConfigHSMServlet extends ConfigBaseServlet { + /** + * + */ + private static final long serialVersionUID = -330521231753992202L; private CryptoManager mCryptoManager = null; private Vector mSupportedModules = null; private Vector mOtherModules = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigImportCertServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigImportCertServlet.java index e8ca8a080..3b3b8a648 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigImportCertServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigImportCertServlet.java @@ -28,6 +28,11 @@ import org.apache.velocity.context.Context; public class ConfigImportCertServlet extends BaseServlet { + /** + * + */ + private static final long serialVersionUID = 1907102921734394118L; + public Template process(HttpServletRequest request, HttpServletResponse response, Context context) { diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigJoinServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigJoinServlet.java index b960b2333..019173039 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigJoinServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigJoinServlet.java @@ -33,6 +33,11 @@ import com.netscape.cmsutil.crypto.CryptoUtil; public class ConfigJoinServlet extends ConfigBaseServlet { + /** + * + */ + private static final long serialVersionUID = -5848083581083497909L; + public boolean isDisplayMode(HttpServletRequest request, HttpServletResponse response, Context context) { diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigRootCAServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigRootCAServlet.java index a28dbbdf1..895c75ac0 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigRootCAServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ConfigRootCAServlet.java @@ -35,6 +35,11 @@ import com.netscape.certsrv.profile.CertInfoProfile; public class ConfigRootCAServlet extends ConfigBaseServlet { + /** + * + */ + private static final long serialVersionUID = 1128630821163059659L; + public boolean isDisplayMode(HttpServletRequest request, HttpServletResponse response, Context context) { diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/DatabaseServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/DatabaseServlet.java index 8f1b61601..d8fd7526d 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/DatabaseServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/DatabaseServlet.java @@ -28,6 +28,11 @@ import org.apache.velocity.context.Context; public class DatabaseServlet extends BaseServlet { + /** + * + */ + private static final long serialVersionUID = 6474664942834474385L; + public Template process(HttpServletRequest request, HttpServletResponse response, Context context) { diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/DisplayServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/DisplayServlet.java index f9725294c..008719217 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/DisplayServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/DisplayServlet.java @@ -28,6 +28,11 @@ import org.apache.velocity.context.Context; public class DisplayServlet extends BaseServlet { + /** + * + */ + private static final long serialVersionUID = -8753831516572779596L; + public Template process(HttpServletRequest request, HttpServletResponse response, Context context) { diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java index bfea4d644..9d7fc22a6 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/DownloadPKCS12.java @@ -36,6 +36,10 @@ import com.netscape.cmsutil.crypto.CryptoUtil; public class DownloadPKCS12 extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -7770226137155537526L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; private final static String AUTH_FAILURE = "2"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetCertChain.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetCertChain.java index 24652db2e..87cb7a7c4 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetCertChain.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetCertChain.java @@ -43,6 +43,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class GetCertChain extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -356806997334418285L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetConfigEntries.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetConfigEntries.java index d7d32f064..c1010b461 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetConfigEntries.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetConfigEntries.java @@ -45,6 +45,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class GetConfigEntries extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -7418561215631752315L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; private final static String AUTH_FAILURE = "2"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetCookie.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetCookie.java index c02655ec0..74edda79a 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetCookie.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetCookie.java @@ -48,6 +48,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; public class GetCookie extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 2466968231929541707L; private static Random mRandom = null; private final static int SESSION_MAX_AGE = 3600; private String mErrorFormPath = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetDomainXML.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetDomainXML.java index 5957151ff..f9e6c70e2 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetDomainXML.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetDomainXML.java @@ -51,6 +51,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class GetDomainXML extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 3079546345000720649L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetStatus.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetStatus.java index 696669632..02fe36c1c 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetStatus.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetStatus.java @@ -39,6 +39,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class GetStatus extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -2852842030221659847L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetSubsystemCert.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetSubsystemCert.java index 05882ad59..0a6c5ec36 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetSubsystemCert.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetSubsystemCert.java @@ -42,6 +42,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class GetSubsystemCert extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -5720342238234153488L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetTokenInfo.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetTokenInfo.java index c7fcd6a41..d7af07409 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetTokenInfo.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetTokenInfo.java @@ -39,6 +39,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class GetTokenInfo extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -8416582986909026263L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetTransportCert.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetTransportCert.java index 4e98c4d4f..bc29b34a6 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetTransportCert.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/GetTransportCert.java @@ -49,6 +49,10 @@ import com.netscape.cmsutil.xml.XMLObject; */ public class GetTransportCert extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 2495152202191979339L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; private final static String AUTH_FAILURE = "2"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ImportTransportCert.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ImportTransportCert.java index b480d854c..3f54ec1c8 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ImportTransportCert.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ImportTransportCert.java @@ -47,6 +47,10 @@ import com.netscape.cmsutil.xml.XMLObject; */ public class ImportTransportCert extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 7490067757951541235L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; private final static String AUTH_FAILURE = "2"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/LoginServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/LoginServlet.java index c16238e78..e7fdbe3f9 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/LoginServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/LoginServlet.java @@ -30,6 +30,11 @@ import com.netscape.certsrv.apps.CMS; public class LoginServlet extends BaseServlet { + /** + * + */ + private static final long serialVersionUID = -4766622132710080340L; + public boolean authenticate(HttpServletRequest request, HttpServletResponse response, Context context) { diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/MainPageServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/MainPageServlet.java index 31b76ee6e..a91ca979b 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/MainPageServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/MainPageServlet.java @@ -39,6 +39,10 @@ import com.netscape.cms.servlet.common.CMSTemplateParams; import com.netscape.cms.servlet.common.ECMSGWException; public class MainPageServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 2425301522251239666L; private static final String PROP_AUTHORITY_ID="authorityId"; private String mAuthorityId = null; private String mFormPath = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ModuleServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ModuleServlet.java index 840978466..a0a627eef 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/ModuleServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/ModuleServlet.java @@ -31,6 +31,11 @@ import com.netscape.certsrv.apps.CMS; public class ModuleServlet extends BaseServlet { /** + * + */ + private static final long serialVersionUID = 6518965840466227888L; + + /** * Collect information on where keys are to be generated. * Once collected, write to CS.cfg: * "preop.module=soft" diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/RegisterUser.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/RegisterUser.java index e63782a77..cf37fdff9 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/RegisterUser.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/RegisterUser.java @@ -59,6 +59,10 @@ import com.netscape.cmsutil.xml.XMLObject; */ public class RegisterUser extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -699307373400031138L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; private final static String AUTH_FAILURE = "2"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/SecurityDomainLogin.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/SecurityDomainLogin.java index ac2025669..3a5d82d1d 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/SecurityDomainLogin.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/SecurityDomainLogin.java @@ -33,6 +33,11 @@ import com.netscape.certsrv.base.IConfigStore; public class SecurityDomainLogin extends BaseServlet { + /** + * + */ + private static final long serialVersionUID = -1616344299101179396L; + public boolean authenticate(HttpServletRequest request, HttpServletResponse response, Context context) { diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/TokenAuthenticate.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/TokenAuthenticate.java index c4373ebc3..cf59e07ce 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/TokenAuthenticate.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/TokenAuthenticate.java @@ -38,6 +38,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class TokenAuthenticate extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -9098593390260940853L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateConnector.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateConnector.java index 93bcc1fb3..cf699c610 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateConnector.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateConnector.java @@ -48,6 +48,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class UpdateConnector extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 972871860008509849L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; private final static String AUTH_FAILURE = "2"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateDomainXML.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateDomainXML.java index a41fae5f6..c9fe27efa 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateDomainXML.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateDomainXML.java @@ -58,6 +58,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class UpdateDomainXML extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 4059169588555717548L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; private final static String LOGGING_SIGNED_AUDIT_SECURITY_DOMAIN_UPDATE = diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateNumberRange.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateNumberRange.java index 013d09208..0a1787aa5 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateNumberRange.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateNumberRange.java @@ -48,6 +48,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class UpdateNumberRange extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -1584171713024263331L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; private final static String AUTH_FAILURE = "2"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateOCSPConfig.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateOCSPConfig.java index 34074cb5f..2339c4c7c 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateOCSPConfig.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/UpdateOCSPConfig.java @@ -43,6 +43,10 @@ import com.netscape.cmsutil.xml.XMLObject; public class UpdateOCSPConfig extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 42812270761684404L; private final static String SUCCESS = "0"; private final static String FAILED = "1"; private final static String AUTH_FAILURE = "2"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/csadmin/WelcomeServlet.java b/pki/base/common/src/com/netscape/cms/servlet/csadmin/WelcomeServlet.java index 1dbec3996..06eb63ff3 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/csadmin/WelcomeServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/csadmin/WelcomeServlet.java @@ -28,6 +28,11 @@ import org.apache.velocity.context.Context; public class WelcomeServlet extends BaseServlet { + /** + * + */ + private static final long serialVersionUID = 1179761802633506502L; + public Template process(HttpServletRequest request, HttpServletResponse response, Context context) { diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/ConfirmRecoverBySerial.java b/pki/base/common/src/com/netscape/cms/servlet/key/ConfirmRecoverBySerial.java index 0e3b08c69..166036a9d 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/ConfirmRecoverBySerial.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/ConfirmRecoverBySerial.java @@ -54,6 +54,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class ConfirmRecoverBySerial extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 2221819191344494389L; private final static String INFO = "recoverBySerial"; private final static String TPL_FILE = "confirmRecoverBySerial.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/DisplayBySerial.java b/pki/base/common/src/com/netscape/cms/servlet/key/DisplayBySerial.java index fa762e963..510f1ac31 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/DisplayBySerial.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/DisplayBySerial.java @@ -53,6 +53,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class DisplayBySerial extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -537957487396615246L; private final static String INFO = "displayBySerial"; private final static String TPL_FILE = "displayBySerial.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/DisplayBySerialForRecovery.java b/pki/base/common/src/com/netscape/cms/servlet/key/DisplayBySerialForRecovery.java index 3b340672f..2ef78c64d 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/DisplayBySerialForRecovery.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/DisplayBySerialForRecovery.java @@ -54,6 +54,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class DisplayBySerialForRecovery extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 6876016034084761827L; private final static String INFO = "displayBySerial"; private final static String TPL_FILE = "displayBySerialForRecovery.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/DisplayTransport.java b/pki/base/common/src/com/netscape/cms/servlet/key/DisplayTransport.java index ac567beea..d4baf1818 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/DisplayTransport.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/DisplayTransport.java @@ -43,6 +43,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class DisplayTransport extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -6509083753395783705L; private final static String INFO = "displayTransport"; /** diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/ExamineRecovery.java b/pki/base/common/src/com/netscape/cms/servlet/key/ExamineRecovery.java index e01a124db..9fbad7a66 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/ExamineRecovery.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/ExamineRecovery.java @@ -54,6 +54,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class ExamineRecovery extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -953282265332774966L; private final static String INFO = "examineRecovery"; private final static String TPL_FILE = "examineRecovery.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/GetApprovalStatus.java b/pki/base/common/src/com/netscape/cms/servlet/key/GetApprovalStatus.java index fab14919a..4bd4d45be 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/GetApprovalStatus.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/GetApprovalStatus.java @@ -53,6 +53,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class GetApprovalStatus extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -8257339915430654983L; private final static String INFO = "getApprovalStatus"; private final static String TPL_FILE = "getApprovalStatus.template"; private final static String TPL_FINISH = "finishRecovery.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/GetAsyncPk12.java b/pki/base/common/src/com/netscape/cms/servlet/key/GetAsyncPk12.java index 52bd8ef33..cea08af31 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/GetAsyncPk12.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/GetAsyncPk12.java @@ -50,6 +50,11 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class GetAsyncPk12 extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 6933634840339605800L; + private final static String INFO = "getAsyncPk12"; private final static String TPL_FILE = "finishAsyncRecovery.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/GetPk12.java b/pki/base/common/src/com/netscape/cms/servlet/key/GetPk12.java index 27bf34180..b36517742 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/GetPk12.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/GetPk12.java @@ -51,6 +51,11 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class GetPk12 extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 8974964964333880697L; + private final static String INFO = "getPk12"; private final static String TPL_FILE = "finishRecovery.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/GrantAsyncRecovery.java b/pki/base/common/src/com/netscape/cms/servlet/key/GrantAsyncRecovery.java index 860dc901f..a868f47c0 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/GrantAsyncRecovery.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/GrantAsyncRecovery.java @@ -47,6 +47,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class GrantAsyncRecovery extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -4200111795169532676L; private final static String INFO = "grantAsyncRecovery"; private final static String TPL_FILE = "grantAsyncRecovery.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/GrantRecovery.java b/pki/base/common/src/com/netscape/cms/servlet/key/GrantRecovery.java index 356980ae6..9a7238be0 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/GrantRecovery.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/GrantRecovery.java @@ -50,6 +50,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class GrantRecovery extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 991970686415492L; private final static String INFO = "grantRecovery"; private final static String TPL_FILE = "grantRecovery.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/RecoverBySerial.java b/pki/base/common/src/com/netscape/cms/servlet/key/RecoverBySerial.java index f990e0dba..b39b3aa69 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/RecoverBySerial.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/RecoverBySerial.java @@ -56,6 +56,10 @@ import com.netscape.cmsutil.util.Cert; */ public class RecoverBySerial extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -4544485601409309840L; private final static String INFO = "recoverBySerial"; private final static String TPL_FILE = "recoverBySerial.template"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/SrchKey.java b/pki/base/common/src/com/netscape/cms/servlet/key/SrchKey.java index ea219d1c0..c0fdd02ee 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/SrchKey.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/SrchKey.java @@ -53,6 +53,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class SrchKey extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -6404955402865756665L; private final static String TPL_FILE = "srchKey.template"; private final static String INFO = "srchKey"; private final static String PROP_MAX_SEARCH_RETURNS = "maxSearchReturns"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/key/SrchKeyForRecovery.java b/pki/base/common/src/com/netscape/cms/servlet/key/SrchKeyForRecovery.java index fc9e6966a..56a1817e6 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/key/SrchKeyForRecovery.java +++ b/pki/base/common/src/com/netscape/cms/servlet/key/SrchKeyForRecovery.java @@ -54,6 +54,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class SrchKeyForRecovery extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 5426987963811540460L; private final static String TPL_FILE = "srchKeyForRecovery.template"; private final static String INFO = "srchKey"; private final static String PROP_MAX_SEARCH_RETURNS = "maxSearchReturns"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/ocsp/AddCAServlet.java b/pki/base/common/src/com/netscape/cms/servlet/ocsp/AddCAServlet.java index 5c5eb5662..c365d0f83 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/ocsp/AddCAServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/ocsp/AddCAServlet.java @@ -54,6 +54,10 @@ import com.netscape.cmsutil.util.Cert; */ public class AddCAServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 1065151608542115340L; public static final String BEGIN_HEADER = "-----BEGIN CERTIFICATE-----"; public static final String END_HEADER = diff --git a/pki/base/common/src/com/netscape/cms/servlet/ocsp/AddCRLServlet.java b/pki/base/common/src/com/netscape/cms/servlet/ocsp/AddCRLServlet.java index 356acd4b4..029d396bb 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/ocsp/AddCRLServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/ocsp/AddCRLServlet.java @@ -63,6 +63,10 @@ import com.netscape.cmsutil.util.Cert; */ public class AddCRLServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 1476080474638590902L; public static final String BEGIN_HEADER = "-----BEGIN CERTIFICATE REVOCATION LIST-----"; public static final String END_HEADER = diff --git a/pki/base/common/src/com/netscape/cms/servlet/ocsp/CheckCertServlet.java b/pki/base/common/src/com/netscape/cms/servlet/ocsp/CheckCertServlet.java index d976a4d54..3e5d1f494 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/ocsp/CheckCertServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/ocsp/CheckCertServlet.java @@ -56,6 +56,10 @@ import com.netscape.cmsutil.util.Cert; */ public class CheckCertServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 7782198059640825050L; public static final String BEGIN_HEADER = "-----BEGIN CERTIFICATE-----"; public static final String END_HEADER = diff --git a/pki/base/common/src/com/netscape/cms/servlet/ocsp/GetOCSPInfo.java b/pki/base/common/src/com/netscape/cms/servlet/ocsp/GetOCSPInfo.java index d54f02e95..704c759c9 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/ocsp/GetOCSPInfo.java +++ b/pki/base/common/src/com/netscape/cms/servlet/ocsp/GetOCSPInfo.java @@ -49,6 +49,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class GetOCSPInfo extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -3633557968127876119L; private final static String TPL_FILE = "getOCSPInfo.template"; private String mFormPath = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/ocsp/ListCAServlet.java b/pki/base/common/src/com/netscape/cms/servlet/ocsp/ListCAServlet.java index c217acd85..063d8513c 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/ocsp/ListCAServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/ocsp/ListCAServlet.java @@ -53,6 +53,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class ListCAServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 3764395161795483452L; public static final String BEGIN_HEADER = "-----BEGIN CERTIFICATE-----"; public static final String END_HEADER = diff --git a/pki/base/common/src/com/netscape/cms/servlet/ocsp/OCSPServlet.java b/pki/base/common/src/com/netscape/cms/servlet/ocsp/OCSPServlet.java index a55e6a754..d1742f2fa 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/ocsp/OCSPServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/ocsp/OCSPServlet.java @@ -55,6 +55,10 @@ import com.netscape.cmsutil.ocsp.TBSRequest; */ public class OCSPServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 120903601883352030L; public final static String PROP_AUTHORITY = "authority"; public final static String PROP_CLIENTAUTH = "GetClientCert"; public final static String PROP_MAX_REQUEST_SIZE = "MaxRequestSize"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/ocsp/RemoveCAServlet.java b/pki/base/common/src/com/netscape/cms/servlet/ocsp/RemoveCAServlet.java index 93df58911..3ec72bb83 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/ocsp/RemoveCAServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/ocsp/RemoveCAServlet.java @@ -49,6 +49,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class RemoveCAServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -4519898238552366358L; private final static String TPL_FILE = "removeCA.template"; private String mFormPath = null; private IOCSPAuthority mOCSPAuthority = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileApproveServlet.java b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileApproveServlet.java index 2c6e83fb6..da24d2c20 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileApproveServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileApproveServlet.java @@ -54,6 +54,10 @@ import com.netscape.cms.servlet.common.CMSRequest; */ public class ProfileApproveServlet extends ProfileServlet { + /** + * + */ + private static final long serialVersionUID = 3956879326742839550L; private static final String PROP_AUTHORITY_ID = "authorityId"; private String mAuthorityId = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileListServlet.java b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileListServlet.java index fe98814a6..4da41f7a7 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileListServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileListServlet.java @@ -46,6 +46,11 @@ import com.netscape.cms.servlet.common.CMSRequest; */ public class ProfileListServlet extends ProfileServlet { + /** + * + */ + private static final long serialVersionUID = -5118812083812548395L; + private static final String PROP_AUTHORITY_ID = "authorityId"; private String mAuthorityId = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileProcessServlet.java b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileProcessServlet.java index 6c18cf412..a159c0f2d 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileProcessServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileProcessServlet.java @@ -70,6 +70,10 @@ import com.netscape.cms.servlet.common.CMSRequest; * @version $Revision$, $Date$ */ public class ProfileProcessServlet extends ProfileServlet { + /** + * + */ + private static final long serialVersionUID = 5244627530516577838L; private static final String PROP_AUTHORITY_ID = "authorityId"; private String mAuthorityId = null; private Nonces mNonces = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileReviewServlet.java b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileReviewServlet.java index e9ebabc50..00840dd85 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileReviewServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileReviewServlet.java @@ -62,6 +62,11 @@ import com.netscape.cms.servlet.common.CMSRequest; */ public class ProfileReviewServlet extends ProfileServlet { + /** + * + */ + private static final long serialVersionUID = -6559751428547928511L; + private static final String PROP_AUTHORITY_ID = "authorityId"; private String mAuthorityId = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSelectServlet.java b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSelectServlet.java index 869443171..813af8f62 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSelectServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSelectServlet.java @@ -56,6 +56,10 @@ import com.netscape.cms.servlet.common.CMSRequest; */ public class ProfileSelectServlet extends ProfileServlet { + /** + * + */ + private static final long serialVersionUID = -3765390650830903602L; private static final String PROP_AUTHORITY_ID = "authorityId"; private String mAuthorityId = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java index ed2d5f68e..46f3797d4 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java @@ -54,6 +54,10 @@ import com.netscape.cms.servlet.common.Utils; */ public class ProfileServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -7011378748671762375L; public final static String ARG_ERROR_CODE = "errorCode"; public final static String ARG_ERROR_REASON = "errorReason"; public final static String ARG_RECORD = "record"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitCMCServlet.java b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitCMCServlet.java index 9dbb01d25..0787ebb44 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitCMCServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitCMCServlet.java @@ -73,6 +73,10 @@ import com.netscape.cms.servlet.common.CMSRequest; */ public class ProfileSubmitCMCServlet extends ProfileServlet { + /** + * + */ + private static final long serialVersionUID = -8017841111435988197L; private static final String ARG_AUTH_TOKEN = "auth_token"; private static final String PROP_PROFILE_ID = "profileId"; private static final String PROP_AUTHORITY_ID = "authorityId"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java index 68a5de011..8ca3b6f2d 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileSubmitServlet.java @@ -81,6 +81,10 @@ import com.netscape.cmsutil.xml.XMLObject; */ public class ProfileSubmitServlet extends ProfileServlet { + /** + * + */ + private static final long serialVersionUID = 7557922703180866442L; private static final String ARG_AUTH_TOKEN = "auth_token"; private static final String ARG_REQUEST_OWNER = "requestOwner"; private static final String PROP_PROFILE_ID = "profileId"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/request/CheckRequest.java b/pki/base/common/src/com/netscape/cms/servlet/request/CheckRequest.java index e72e0feba..127f2ce8b 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/request/CheckRequest.java +++ b/pki/base/common/src/com/netscape/cms/servlet/request/CheckRequest.java @@ -88,6 +88,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class CheckRequest extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 2791195859767119636L; // constants public static String FULL_RESPONSE = "cmcFullEnrollmentResponse"; private final static String INFO = "CheckRequest"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/request/ProcessCertReq.java b/pki/base/common/src/com/netscape/cms/servlet/request/ProcessCertReq.java index e90c3355d..76418a998 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/request/ProcessCertReq.java +++ b/pki/base/common/src/com/netscape/cms/servlet/request/ProcessCertReq.java @@ -89,6 +89,10 @@ import com.netscape.cms.servlet.common.ICMSTemplateFiller; */ public class ProcessCertReq extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 812464895240811318L; private final static String INFO = "processReq"; private final static String SEQNUM = "seqNum"; private final static String TO_DO = "toDo"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/request/ProcessReq.java b/pki/base/common/src/com/netscape/cms/servlet/request/ProcessReq.java index f03fde857..0ac271971 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/request/ProcessReq.java +++ b/pki/base/common/src/com/netscape/cms/servlet/request/ProcessReq.java @@ -58,6 +58,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class ProcessReq extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -6941843162486565610L; private final static String INFO = "processReq"; private final static String SEQNUM = "seqNum"; private final static String DO_ASSIGN = "doAssign"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/request/QueryReq.java b/pki/base/common/src/com/netscape/cms/servlet/request/QueryReq.java index 7a3d15de7..c065173ca 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/request/QueryReq.java +++ b/pki/base/common/src/com/netscape/cms/servlet/request/QueryReq.java @@ -53,6 +53,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; * @version $Revision$, $Date$ */ public class QueryReq extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = -8729364426329835378L; // constants private final static String INFO = "QueryReq"; private final static String IN_SHOW_ALL = "showAll"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/request/SearchReqs.java b/pki/base/common/src/com/netscape/cms/servlet/request/SearchReqs.java index 5f40b7f33..04b21440c 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/request/SearchReqs.java +++ b/pki/base/common/src/com/netscape/cms/servlet/request/SearchReqs.java @@ -56,6 +56,10 @@ import com.netscape.cms.servlet.common.ECMSGWException; */ public class SearchReqs extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 2449481964851735051L; private final static String TPL_FILE = "queryReq.template"; private final static String INFO = "QueryReq"; private final static String PROP_MAX_SEARCH_RETURNS = "maxSearchReqReturns"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/tks/TokenServlet.java b/pki/base/common/src/com/netscape/cms/servlet/tks/TokenServlet.java index 98d224af0..1f6efa850 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/tks/TokenServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/tks/TokenServlet.java @@ -63,6 +63,10 @@ import com.netscape.symkey.SessionKey; * @version $Revision$, $Date$ */ public class TokenServlet extends CMSServlet { + /** + * + */ + private static final long serialVersionUID = 8687436109695172791L; protected static final String PROP_ENABLED = "enabled"; protected static final String TRANSPORT_KEY_NAME ="sharedSecret"; private final static String INFO = "TokenServlet"; diff --git a/pki/base/common/src/com/netscape/cms/servlet/wizard/WizardServlet.java b/pki/base/common/src/com/netscape/cms/servlet/wizard/WizardServlet.java index d5290da0e..691d3e98b 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/wizard/WizardServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/wizard/WizardServlet.java @@ -47,6 +47,10 @@ import com.netscape.cmsutil.crypto.Module; */ public class WizardServlet extends VelocityServlet { + /** + * + */ + private static final long serialVersionUID = -4513510177445656799L; private String name = null; private Vector mPanels = new Vector(); diff --git a/pki/base/common/src/com/netscape/cmscore/base/ArgBlock.java b/pki/base/common/src/com/netscape/cmscore/base/ArgBlock.java index 01519ccda..10cc7a05f 100644 --- a/pki/base/common/src/com/netscape/cmscore/base/ArgBlock.java +++ b/pki/base/common/src/com/netscape/cmscore/base/ArgBlock.java @@ -44,6 +44,10 @@ import com.netscape.certsrv.base.KeyGenInfo; */ public class ArgBlock implements IArgBlock { + /** + * + */ + private static final long serialVersionUID = -6054531129316353282L; /*========================================================== * variables *==========================================================*/ diff --git a/pki/base/common/src/com/netscape/cmscore/base/FileConfigStore.java b/pki/base/common/src/com/netscape/cmscore/base/FileConfigStore.java index 95e3ba674..a4b371142 100644 --- a/pki/base/common/src/com/netscape/cmscore/base/FileConfigStore.java +++ b/pki/base/common/src/com/netscape/cmscore/base/FileConfigStore.java @@ -50,6 +50,10 @@ import com.netscape.cmsutil.util.Utils; public class FileConfigStore extends PropConfigStore implements IConfigStore { + /** + * + */ + private static final long serialVersionUID = 2642124526598175633L; private File mFile = null; /** diff --git a/pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java b/pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java index 8eb6a829c..e54b19d90 100644 --- a/pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java +++ b/pki/base/common/src/com/netscape/cmscore/base/PropConfigStore.java @@ -59,6 +59,11 @@ import com.netscape.certsrv.base.ISourceConfigStore; */ public class PropConfigStore implements IConfigStore, Cloneable { + /** + * + */ + private static final long serialVersionUID = 4714108964096659077L; + protected static final String PROP_SUBSTORES = "substores"; /** diff --git a/pki/base/common/src/com/netscape/cmscore/base/SimpleProperties.java b/pki/base/common/src/com/netscape/cmscore/base/SimpleProperties.java index 98970df01..684f8a8ed 100644 --- a/pki/base/common/src/com/netscape/cmscore/base/SimpleProperties.java +++ b/pki/base/common/src/com/netscape/cmscore/base/SimpleProperties.java @@ -55,6 +55,11 @@ import java.util.Hashtable; public class SimpleProperties extends Hashtable { /** + * + */ + private static final long serialVersionUID = -6129810287662322712L; + + /** * A property list that contains default values for any keys not * found in this property list. * diff --git a/pki/base/common/src/com/netscape/cmscore/base/SourceConfigStore.java b/pki/base/common/src/com/netscape/cmscore/base/SourceConfigStore.java index 25860cb02..2b472c029 100644 --- a/pki/base/common/src/com/netscape/cmscore/base/SourceConfigStore.java +++ b/pki/base/common/src/com/netscape/cmscore/base/SourceConfigStore.java @@ -32,6 +32,11 @@ import com.netscape.certsrv.base.ISourceConfigStore; public class SourceConfigStore extends SimpleProperties implements ISourceConfigStore { /** + * + */ + private static final long serialVersionUID = -1703553593020810628L; + + /** * Retrieves a property from the config store * <P> * diff --git a/pki/base/common/src/com/netscape/cmscore/base/SubsystemRegistry.java b/pki/base/common/src/com/netscape/cmscore/base/SubsystemRegistry.java index fdae65a5b..ad8580187 100644 --- a/pki/base/common/src/com/netscape/cmscore/base/SubsystemRegistry.java +++ b/pki/base/common/src/com/netscape/cmscore/base/SubsystemRegistry.java @@ -24,6 +24,10 @@ import com.netscape.certsrv.base.ISubsystem; public class SubsystemRegistry extends Hashtable { + /** + * + */ + private static final long serialVersionUID = 7801949114531559118L; private static SubsystemRegistry mInstance = null; public static SubsystemRegistry getInstance() { diff --git a/pki/base/common/src/com/netscape/cmscore/connector/HttpPKIMessage.java b/pki/base/common/src/com/netscape/cmscore/connector/HttpPKIMessage.java index 6e29f7efc..e236655d8 100644 --- a/pki/base/common/src/com/netscape/cmscore/connector/HttpPKIMessage.java +++ b/pki/base/common/src/com/netscape/cmscore/connector/HttpPKIMessage.java @@ -37,6 +37,10 @@ import com.netscape.cmscore.util.Debug; * simple name/value pair message. */ public class HttpPKIMessage implements IHttpPKIMessage { + /** + * + */ + private static final long serialVersionUID = -3378261119472034953L; // initialized to "" because nulls don't serialize well. public String reqType = ""; public String reqId = ""; diff --git a/pki/base/common/src/com/netscape/cmscore/dbs/CRLIssuingPointRecord.java b/pki/base/common/src/com/netscape/cmscore/dbs/CRLIssuingPointRecord.java index e1c07d302..ea110d1c9 100644 --- a/pki/base/common/src/com/netscape/cmscore/dbs/CRLIssuingPointRecord.java +++ b/pki/base/common/src/com/netscape/cmscore/dbs/CRLIssuingPointRecord.java @@ -39,6 +39,10 @@ import com.netscape.certsrv.dbs.crldb.ICRLIssuingPointRecord; */ public class CRLIssuingPointRecord implements ICRLIssuingPointRecord, IDBObj { + /** + * + */ + private static final long serialVersionUID = 400565044343905267L; protected String mId = null; // internal unique id protected BigInteger mCRLNumber = null; // CRL number protected Long mCRLSize = null; diff --git a/pki/base/common/src/com/netscape/cmscore/dbs/CertRecord.java b/pki/base/common/src/com/netscape/cmscore/dbs/CertRecord.java index 877179947..321ce6183 100644 --- a/pki/base/common/src/com/netscape/cmscore/dbs/CertRecord.java +++ b/pki/base/common/src/com/netscape/cmscore/dbs/CertRecord.java @@ -44,6 +44,10 @@ import com.netscape.certsrv.dbs.certdb.IRevocationInfo; */ public class CertRecord implements IDBObj, ICertRecord { + /** + * + */ + private static final long serialVersionUID = -6231895305929417777L; private BigInteger mId = null; private X509CertImpl mX509Certificate = null; private String mStatus = null; diff --git a/pki/base/common/src/com/netscape/cmscore/dbs/KeyRecord.java b/pki/base/common/src/com/netscape/cmscore/dbs/KeyRecord.java index 316c67381..2c1265f78 100644 --- a/pki/base/common/src/com/netscape/cmscore/dbs/KeyRecord.java +++ b/pki/base/common/src/com/netscape/cmscore/dbs/KeyRecord.java @@ -42,6 +42,10 @@ import com.netscape.certsrv.dbs.keydb.KeyState; */ public class KeyRecord implements IDBObj, IKeyRecord { + /** + * + */ + private static final long serialVersionUID = -3765000841161998984L; private BigInteger mSerialNo = null; private KeyState mState = null; private MetaInfo mMetaInfo = null; diff --git a/pki/base/common/src/com/netscape/cmscore/dbs/RepositoryRecord.java b/pki/base/common/src/com/netscape/cmscore/dbs/RepositoryRecord.java index 7148eb1e1..97cedac8a 100644 --- a/pki/base/common/src/com/netscape/cmscore/dbs/RepositoryRecord.java +++ b/pki/base/common/src/com/netscape/cmscore/dbs/RepositoryRecord.java @@ -36,6 +36,10 @@ import com.netscape.certsrv.dbs.repository.IRepositoryRecord; */ public class RepositoryRecord implements IRepositoryRecord { + /** + * + */ + private static final long serialVersionUID = 1648450747848783853L; private BigInteger mSerialNo = null; private String mPublishingStatus = null; diff --git a/pki/base/common/src/com/netscape/cmscore/dbs/RevocationInfo.java b/pki/base/common/src/com/netscape/cmscore/dbs/RevocationInfo.java index c55685692..001089fb0 100644 --- a/pki/base/common/src/com/netscape/cmscore/dbs/RevocationInfo.java +++ b/pki/base/common/src/com/netscape/cmscore/dbs/RevocationInfo.java @@ -38,6 +38,10 @@ import com.netscape.certsrv.dbs.certdb.IRevocationInfo; */ public class RevocationInfo implements IRevocationInfo, Serializable { + /** + * + */ + private static final long serialVersionUID = -157323417902547417L; private Date mRevocationDate = null; private CRLExtensions mCRLEntryExtensions = null; diff --git a/pki/base/common/src/com/netscape/cmscore/ldap/LdapPredicateParser.java b/pki/base/common/src/com/netscape/cmscore/ldap/LdapPredicateParser.java index c3abbdd5a..3ac8f7502 100644 --- a/pki/base/common/src/com/netscape/cmscore/ldap/LdapPredicateParser.java +++ b/pki/base/common/src/com/netscape/cmscore/ldap/LdapPredicateParser.java @@ -350,6 +350,10 @@ class PredicateTokenizer { class AttributeSet implements IAttrSet { + /** + * + */ + private static final long serialVersionUID = -3155846653754028803L; Hashtable ht = new Hashtable(); public AttributeSet() { } diff --git a/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapAnonConnFactory.java b/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapAnonConnFactory.java index 61323aad8..fa400341a 100644 --- a/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapAnonConnFactory.java +++ b/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapAnonConnFactory.java @@ -444,6 +444,11 @@ public class LdapAnonConnFactory implements ILdapConnFactory { * used to keep track of connections from this factory. */ public class AnonConnection extends LdapAnonConnection { + /** + * + */ + private static final long serialVersionUID = 4813780131074412404L; + public AnonConnection(LdapConnInfo connInfo) throws LDAPException { super(connInfo); diff --git a/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapAnonConnection.java b/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapAnonConnection.java index ba6707fb9..1d3996dd7 100644 --- a/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapAnonConnection.java +++ b/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapAnonConnection.java @@ -33,6 +33,11 @@ import netscape.ldap.LDAPv2; public class LdapAnonConnection extends LDAPConnection { /** + * + */ + private static final long serialVersionUID = 6671180208419384682L; + + /** * instantiates a connection to a ldap server */ public LdapAnonConnection(LdapConnInfo connInfo) diff --git a/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapBoundConnFactory.java b/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapBoundConnFactory.java index e5322d274..a8a107acb 100644 --- a/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapBoundConnFactory.java +++ b/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapBoundConnFactory.java @@ -514,6 +514,11 @@ public class LdapBoundConnFactory implements ILdapBoundConnFactory { * used to keep track of connections from this factory. */ public class BoundConnection extends LdapBoundConnection { + /** + * + */ + private static final long serialVersionUID = 1353616391879078337L; + public BoundConnection(LdapConnInfo connInfo, LdapAuthInfo authInfo) throws LDAPException { super(connInfo, authInfo); diff --git a/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapBoundConnection.java b/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapBoundConnection.java index b7973e8ce..82e0b3159 100644 --- a/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapBoundConnection.java +++ b/pki/base/common/src/com/netscape/cmscore/ldapconn/LdapBoundConnection.java @@ -39,6 +39,10 @@ import com.netscape.certsrv.apps.CMS; * overridden to prevent this. */ public class LdapBoundConnection extends LDAPConnection { + /** + * + */ + private static final long serialVersionUID = -2242077674357271559L; // LDAPConnection calls authenticate so must set this for first // authenticate call. private boolean mAuthenticated = false; diff --git a/pki/base/common/src/com/netscape/cmscore/notification/EmailResolverKeys.java b/pki/base/common/src/com/netscape/cmscore/notification/EmailResolverKeys.java index 17febae1c..909ec4845 100644 --- a/pki/base/common/src/com/netscape/cmscore/notification/EmailResolverKeys.java +++ b/pki/base/common/src/com/netscape/cmscore/notification/EmailResolverKeys.java @@ -33,6 +33,10 @@ import com.netscape.certsrv.notification.IEmailResolverKeys; * @version $Revision$, $Date$ */ public class EmailResolverKeys implements IEmailResolverKeys { + /** + * + */ + private static final long serialVersionUID = -8823197350102151516L; private Hashtable mKeys = null; public EmailResolverKeys() { diff --git a/pki/base/common/src/com/netscape/cmscore/policy/PolicyPredicateParser.java b/pki/base/common/src/com/netscape/cmscore/policy/PolicyPredicateParser.java index a7f6f2218..0f00e8151 100644 --- a/pki/base/common/src/com/netscape/cmscore/policy/PolicyPredicateParser.java +++ b/pki/base/common/src/com/netscape/cmscore/policy/PolicyPredicateParser.java @@ -350,6 +350,10 @@ class PredicateTokenizer { class AttributeSet implements IAttrSet { + /** + * + */ + private static final long serialVersionUID = -3985810281989018413L; Hashtable ht = new Hashtable(); public AttributeSet() { } diff --git a/pki/base/common/src/com/netscape/cmscore/request/ARequestQueue.java b/pki/base/common/src/com/netscape/cmscore/request/ARequestQueue.java index 97a2e44ea..2da14467e 100644 --- a/pki/base/common/src/com/netscape/cmscore/request/ARequestQueue.java +++ b/pki/base/common/src/com/netscape/cmscore/request/ARequestQueue.java @@ -1413,6 +1413,10 @@ class Request } class RequestIAttrSetWrapper implements IAttrSet { + /** + * + */ + private static final long serialVersionUID = 8231914824991772682L; IRequest mRequest; public RequestIAttrSetWrapper(IRequest request) { diff --git a/pki/base/common/src/com/netscape/cmscore/request/ExtDataHashtable.java b/pki/base/common/src/com/netscape/cmscore/request/ExtDataHashtable.java index b72eb5f5a..415908dc3 100644 --- a/pki/base/common/src/com/netscape/cmscore/request/ExtDataHashtable.java +++ b/pki/base/common/src/com/netscape/cmscore/request/ExtDataHashtable.java @@ -12,6 +12,11 @@ import java.util.Set; */ public class ExtDataHashtable extends Hashtable { + /** + * + */ + private static final long serialVersionUID = 8401134619951331450L; + public ExtDataHashtable() { super(); } diff --git a/pki/base/common/src/com/netscape/cmscore/request/RequestRecord.java b/pki/base/common/src/com/netscape/cmscore/request/RequestRecord.java index 46f69eaab..76863ca9a 100644 --- a/pki/base/common/src/com/netscape/cmscore/request/RequestRecord.java +++ b/pki/base/common/src/com/netscape/cmscore/request/RequestRecord.java @@ -62,6 +62,11 @@ import com.netscape.cmscore.util.Debug; public class RequestRecord extends ARequestRecord implements IRequestRecord, IDBObj { + /** + * + */ + private static final long serialVersionUID = 8044665107558872084L; + public RequestId getRequestId() { return mRequestId; } diff --git a/pki/base/common/src/com/netscape/cmscore/security/Provider.java b/pki/base/common/src/com/netscape/cmscore/security/Provider.java index 3e343c78c..0e7f8e2e8 100644 --- a/pki/base/common/src/com/netscape/cmscore/security/Provider.java +++ b/pki/base/common/src/com/netscape/cmscore/security/Provider.java @@ -20,6 +20,11 @@ package com.netscape.cmscore.security; public class Provider extends java.security.Provider { + /** + * + */ + private static final long serialVersionUID = -8050884788034389693L; + public Provider() { super("CMS", 1.4, "Provides Signature and Message Digesting"); diff --git a/pki/base/common/src/com/netscape/cmscore/usrgrp/Group.java b/pki/base/common/src/com/netscape/cmscore/usrgrp/Group.java index 79f60dbde..40f3281ee 100644 --- a/pki/base/common/src/com/netscape/cmscore/usrgrp/Group.java +++ b/pki/base/common/src/com/netscape/cmscore/usrgrp/Group.java @@ -34,6 +34,10 @@ import com.netscape.certsrv.usrgrp.IUsrGrp; * @version $Revision$, $Date$ */ public class Group implements IGroup { + /** + * + */ + private static final long serialVersionUID = -1264387079578766750L; private IUsrGrp mBase = null; private String mName = null; private Vector mMembers = new Vector(); diff --git a/pki/base/common/src/com/netscape/cmscore/usrgrp/User.java b/pki/base/common/src/com/netscape/cmscore/usrgrp/User.java index c8eb780a0..5133eb23e 100644 --- a/pki/base/common/src/com/netscape/cmscore/usrgrp/User.java +++ b/pki/base/common/src/com/netscape/cmscore/usrgrp/User.java @@ -36,6 +36,10 @@ import com.netscape.certsrv.usrgrp.IUsrGrp; */ public class User implements IUser { + /** + * + */ + private static final long serialVersionUID = -7407288327775546979L; public static final String ATTR_X509_CERTIFICATES = "userCertificates"; private IUsrGrp mBase = null; private String mUserid = null; diff --git a/pki/base/common/src/com/netscape/cmscore/util/AssertionException.java b/pki/base/common/src/com/netscape/cmscore/util/AssertionException.java index 7b0675b12..6a0d8e668 100644 --- a/pki/base/common/src/com/netscape/cmscore/util/AssertionException.java +++ b/pki/base/common/src/com/netscape/cmscore/util/AssertionException.java @@ -23,6 +23,11 @@ package com.netscape.cmscore.util; * and fails to operate properly. */ public class AssertionException extends Error { + /** + * + */ + private static final long serialVersionUID = 5647721098177211353L; + public AssertionException() { } diff --git a/pki/base/common/src/com/netscape/cmscore/util/ExceptionFormatter.java b/pki/base/common/src/com/netscape/cmscore/util/ExceptionFormatter.java index 5cb94fccd..8479c757c 100644 --- a/pki/base/common/src/com/netscape/cmscore/util/ExceptionFormatter.java +++ b/pki/base/common/src/com/netscape/cmscore/util/ExceptionFormatter.java @@ -82,6 +82,11 @@ public class ExceptionFormatter { class TestException extends Exception { + /** + * + */ + private static final long serialVersionUID = -5737463439434110385L; + public TestException() { } diff --git a/pki/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java b/pki/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java index 77952d99e..85c2a5af1 100644 --- a/pki/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java +++ b/pki/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java @@ -51,6 +51,10 @@ import com.netscape.certsrv.base.ISubsystem; */ public class ProfileSubsystem extends Frame implements ISubsystem, Runnable { + /** + * + */ + private static final long serialVersionUID = -7411549542009497317L; private String mId = null; private Thread mMonitoring = new Thread(this); private TextArea mTextArea = null; @@ -217,6 +221,10 @@ public class ProfileSubsystem extends Frame implements ISubsystem, Runnable { class ThreadTableModel extends AbstractTableModel { + /** + * + */ + private static final long serialVersionUID = -6977965542104110870L; Vector rowData; Vector columnNames; diff --git a/pki/base/common/test/com/netscape/cmscore/dbs/DBRegistryTest.java b/pki/base/common/test/com/netscape/cmscore/dbs/DBRegistryTest.java index e18cbf8a7..7b4681e5a 100644 --- a/pki/base/common/test/com/netscape/cmscore/dbs/DBRegistryTest.java +++ b/pki/base/common/test/com/netscape/cmscore/dbs/DBRegistryTest.java @@ -151,6 +151,11 @@ public class DBRegistryTest extends CMSBaseTestCase { */ class RequestRecordStub extends RequestRecordDefaultStub { + /** + * + */ + private static final long serialVersionUID = 2155124580267335995L; + String[] attrs = new String[] { IRequestRecord.ATTR_EXT_DATA }; boolean getCalled = false; diff --git a/pki/base/common/test/com/netscape/cmscore/dbs/RequestRecordDefaultStub.java b/pki/base/common/test/com/netscape/cmscore/dbs/RequestRecordDefaultStub.java index edb703b13..0788a0a38 100644 --- a/pki/base/common/test/com/netscape/cmscore/dbs/RequestRecordDefaultStub.java +++ b/pki/base/common/test/com/netscape/cmscore/dbs/RequestRecordDefaultStub.java @@ -11,6 +11,11 @@ import com.netscape.certsrv.request.RequestId; * Default stub for RequestRecord tests. */ public class RequestRecordDefaultStub implements IRequestRecord, IDBObj { + /** + * + */ + private static final long serialVersionUID = 3486144284074519531L; + public RequestId getRequestId() { return null; } diff --git a/pki/base/common/test/com/netscape/cmscore/request/ExtAttrDynMapperTest.java b/pki/base/common/test/com/netscape/cmscore/request/ExtAttrDynMapperTest.java index a72b10de6..2a9a2ef00 100644 --- a/pki/base/common/test/com/netscape/cmscore/request/ExtAttrDynMapperTest.java +++ b/pki/base/common/test/com/netscape/cmscore/request/ExtAttrDynMapperTest.java @@ -261,6 +261,10 @@ public class ExtAttrDynMapperTest extends CMSBaseTestCase { class RequestRecordStub extends RequestRecordDefaultStub { + /** + * + */ + private static final long serialVersionUID = 4106967075497999274L; Hashtable extAttrData = new Hashtable(); int setCallCounter = 0; diff --git a/pki/base/common/test/com/netscape/cmscore/request/RequestTest.java b/pki/base/common/test/com/netscape/cmscore/request/RequestTest.java index a088f0b47..400096318 100644 --- a/pki/base/common/test/com/netscape/cmscore/request/RequestTest.java +++ b/pki/base/common/test/com/netscape/cmscore/request/RequestTest.java @@ -624,6 +624,10 @@ public class RequestTest extends CMSBaseTestCase { } class X509CertInfoStub extends X509CertInfo { + /** + * + */ + private static final long serialVersionUID = -821992386369710423L; boolean getEncodedCalled = false; public X509CertInfoStub() { @@ -636,6 +640,10 @@ public class RequestTest extends CMSBaseTestCase { } class RevokedCertImplStub extends RevokedCertImpl { + /** + * + */ + private static final long serialVersionUID = -9088436260566619005L; boolean getEncodedCalled = false; diff --git a/pki/base/ocsp/src/com/netscape/ocsp/EOCSPException.java b/pki/base/ocsp/src/com/netscape/ocsp/EOCSPException.java index 35d7d2f3d..4b06a1aa8 100644 --- a/pki/base/ocsp/src/com/netscape/ocsp/EOCSPException.java +++ b/pki/base/ocsp/src/com/netscape/ocsp/EOCSPException.java @@ -30,6 +30,10 @@ import com.netscape.certsrv.base.EBaseException; public class EOCSPException extends EBaseException { /** + * + */ + private static final long serialVersionUID = 2152152848080759882L; + /** * CA resource class name. */ private static final String OCSP_RESOURCES = OCSPResources.class.getName(); diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/ArgParseException.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/ArgParseException.java index 37defbe59..c2b927ccd 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/ArgParseException.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/ArgParseException.java @@ -27,7 +27,12 @@ import java.io.IOException; */ public class ArgParseException extends IOException { - /** + /** + * + */ + private static final long serialVersionUID = -604960834535589460L; + + /** * Creates a new ArgParseException with the given message. * * @param msg Exception message diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java index 470b0fca3..c5dece115 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/BooleanHolder.java @@ -25,6 +25,10 @@ package com.netscape.pkisilent.argparser; public class BooleanHolder implements java.io.Serializable { /** + * + */ + private static final long serialVersionUID = -2863748864787121510L; + /** * Value of the boolean, set and examined * by the application as needed. */ diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/CharHolder.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/CharHolder.java index 02e3aa429..b30259b4f 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/CharHolder.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/CharHolder.java @@ -25,6 +25,10 @@ package com.netscape.pkisilent.argparser; public class CharHolder implements java.io.Serializable { /** + * + */ + private static final long serialVersionUID = 7340010668929015745L; + /** * Value of the character, set and examined * by the application as needed. */ diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/DoubleHolder.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/DoubleHolder.java index 08d7dedf5..293a9cc7e 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/DoubleHolder.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/DoubleHolder.java @@ -25,6 +25,10 @@ package com.netscape.pkisilent.argparser; public class DoubleHolder implements java.io.Serializable { /** + * + */ + private static final long serialVersionUID = 5461991811517552431L; + /** * Value of the double, set and examined * by the application as needed. */ diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/FloatHolder.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/FloatHolder.java index ad4ac8601..0fbcc45af 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/FloatHolder.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/FloatHolder.java @@ -25,6 +25,10 @@ package com.netscape.pkisilent.argparser; public class FloatHolder implements java.io.Serializable { /** + * + */ + private static final long serialVersionUID = -7962968109874934361L; + /** * Value of the float, set and examined * by the application as needed. */ diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/IntHolder.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/IntHolder.java index 7310082df..efd6d1bfc 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/IntHolder.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/IntHolder.java @@ -25,6 +25,10 @@ package com.netscape.pkisilent.argparser; public class IntHolder implements java.io.Serializable { /** + * + */ + private static final long serialVersionUID = -5303361328570056819L; + /** * Value of the integer, set and examined * by the application as needed. */ diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/LongHolder.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/LongHolder.java index 14501ea25..84752d604 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/LongHolder.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/LongHolder.java @@ -25,6 +25,10 @@ package com.netscape.pkisilent.argparser; public class LongHolder implements java.io.Serializable { /** + * + */ + private static final long serialVersionUID = 1559599139421340971L; + /** * Value of the long, set and examined * by the application as needed. */ diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/ObjectHolder.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/ObjectHolder.java index eba424d6c..cc8361d97 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/ObjectHolder.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/ObjectHolder.java @@ -25,6 +25,10 @@ package com.netscape.pkisilent.argparser; public class ObjectHolder implements java.io.Serializable { /** + * + */ + private static final long serialVersionUID = 1825881254530066307L; + /** * Value of the Object reference, set and examined * by the application as needed. */ diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/StringHolder.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/StringHolder.java index 6a86e605a..9b41b6a23 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/StringHolder.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/StringHolder.java @@ -25,6 +25,10 @@ package com.netscape.pkisilent.argparser; public class StringHolder implements java.io.Serializable { /** + * + */ + private static final long serialVersionUID = -3184348746223759310L; + /** * Value of the String reference, set and examined * by the application as needed. */ diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/StringScanException.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/StringScanException.java index af102d38f..4b71a0f21 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/StringScanException.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/StringScanException.java @@ -28,7 +28,11 @@ import java.io.IOException; */ class StringScanException extends IOException { - int failIdx; + /** + * + */ + private static final long serialVersionUID = 4923445904507805754L; + int failIdx; /** * Creates a new StringScanException with the given message. diff --git a/pki/base/util/src/com/netscape/cmsutil/http/HttpEofException.java b/pki/base/util/src/com/netscape/cmsutil/http/HttpEofException.java index 6944b386a..e5573612e 100644 --- a/pki/base/util/src/com/netscape/cmsutil/http/HttpEofException.java +++ b/pki/base/util/src/com/netscape/cmsutil/http/HttpEofException.java @@ -22,6 +22,11 @@ import java.io.IOException; public class HttpEofException extends IOException { + /** + * + */ + private static final long serialVersionUID = 433303354049669059L; + public HttpEofException() { super(); } diff --git a/pki/base/util/src/com/netscape/cmsutil/http/HttpProtocolException.java b/pki/base/util/src/com/netscape/cmsutil/http/HttpProtocolException.java index 8a52f4f78..6b2fc75fe 100644 --- a/pki/base/util/src/com/netscape/cmsutil/http/HttpProtocolException.java +++ b/pki/base/util/src/com/netscape/cmsutil/http/HttpProtocolException.java @@ -22,6 +22,11 @@ import java.io.IOException; public class HttpProtocolException extends IOException { + /** + * + */ + private static final long serialVersionUID = -953002842302351684L; + public HttpProtocolException() { super(); } diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java b/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java index 06a870b50..de1222a3b 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java @@ -21,6 +21,10 @@ package com.netscape.cmsutil.radius; public class ChallengeException extends Exception { + /** + * + */ + private static final long serialVersionUID = -3496050461777520369L; private AccessChallenge _res = null; public ChallengeException(AccessChallenge res) { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java b/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java index a0de446bd..d80b045e3 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java @@ -21,6 +21,10 @@ package com.netscape.cmsutil.radius; public class RejectException extends Exception { + /** + * + */ + private static final long serialVersionUID = -6410697638175895003L; private AccessReject _res = null; public RejectException(AccessReject res) { diff --git a/pki/base/util/src/netscape/net/smtp/SmtpProtocolException.java b/pki/base/util/src/netscape/net/smtp/SmtpProtocolException.java index f7fadcd64..bb015f90e 100644 --- a/pki/base/util/src/netscape/net/smtp/SmtpProtocolException.java +++ b/pki/base/util/src/netscape/net/smtp/SmtpProtocolException.java @@ -24,6 +24,11 @@ import java.io.IOException; * an SMTP session. */ public class SmtpProtocolException extends IOException { + /** + * + */ + private static final long serialVersionUID = -5586603317525864401L; + SmtpProtocolException(String s) { super(s); } diff --git a/pki/base/util/src/netscape/security/extensions/AuthInfoAccessExtension.java b/pki/base/util/src/netscape/security/extensions/AuthInfoAccessExtension.java index c092d954c..108dab070 100644 --- a/pki/base/util/src/netscape/security/extensions/AuthInfoAccessExtension.java +++ b/pki/base/util/src/netscape/security/extensions/AuthInfoAccessExtension.java @@ -64,6 +64,10 @@ import netscape.security.x509.URIName; * @version $Revision$, $Date$ */ public class AuthInfoAccessExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 7373316523212538446L; public static final String NAME = "AuthInfoAccessExtension"; public static final String NAME2 = "AuthorityInformationAccess"; diff --git a/pki/base/util/src/netscape/security/extensions/CertInfo.java b/pki/base/util/src/netscape/security/extensions/CertInfo.java index c2dcd8f7e..548a60f66 100644 --- a/pki/base/util/src/netscape/security/extensions/CertInfo.java +++ b/pki/base/util/src/netscape/security/extensions/CertInfo.java @@ -40,6 +40,10 @@ import netscape.security.x509.X509CertInfo; * creation time so an object of this type is always serializable. */ public class CertInfo extends X509CertInfo { + /** + * + */ + private static final long serialVersionUID = -2883888348288591989L; public static final CertificateSubjectName SERIALIZE_SUBJECT; public static final CertificateIssuerName SERIALIZE_ISSUER; public static final CertificateValidity SERIALIZE_VALIDITY; diff --git a/pki/base/util/src/netscape/security/extensions/CertificateRenewalWindowExtension.java b/pki/base/util/src/netscape/security/extensions/CertificateRenewalWindowExtension.java index bb1ad3a2f..634e2d579 100644 --- a/pki/base/util/src/netscape/security/extensions/CertificateRenewalWindowExtension.java +++ b/pki/base/util/src/netscape/security/extensions/CertificateRenewalWindowExtension.java @@ -45,6 +45,10 @@ import netscape.security.x509.Extension; */ public class CertificateRenewalWindowExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 4470220533545299271L; public static final String NAME = "CertificateRenewalWindow"; public static final int OID[] = { 2, 16, 840, 1, 113730, 1, 15}; public static final ObjectIdentifier ID = new ObjectIdentifier(OID); diff --git a/pki/base/util/src/netscape/security/extensions/CertificateScopeOfUseExtension.java b/pki/base/util/src/netscape/security/extensions/CertificateScopeOfUseExtension.java index fe97a9046..b6b8a87ae 100644 --- a/pki/base/util/src/netscape/security/extensions/CertificateScopeOfUseExtension.java +++ b/pki/base/util/src/netscape/security/extensions/CertificateScopeOfUseExtension.java @@ -46,6 +46,10 @@ import netscape.security.x509.OIDMap; */ public class CertificateScopeOfUseExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 2143292831971567770L; public static final String NAME = "CertificateScopeOfUse"; public static final int OID[] = { 2, 16, 840, 1, 113730, 1, 17}; public static final ObjectIdentifier ID = new ObjectIdentifier(OID); diff --git a/pki/base/util/src/netscape/security/extensions/ExtendedKeyUsageExtension.java b/pki/base/util/src/netscape/security/extensions/ExtendedKeyUsageExtension.java index 7d6ae9d2b..71ff031ff 100644 --- a/pki/base/util/src/netscape/security/extensions/ExtendedKeyUsageExtension.java +++ b/pki/base/util/src/netscape/security/extensions/ExtendedKeyUsageExtension.java @@ -38,6 +38,10 @@ import netscape.security.x509.OIDMap; */ public class ExtendedKeyUsageExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 765403075764697489L; public static final String OID = "2.5.29.37"; public static final String NAME = OIDMap.EXT_KEY_USAGE_NAME; public static final String OID_OCSPSigning = "1.3.6.1.5.5.7.3.9"; diff --git a/pki/base/util/src/netscape/security/extensions/GenericASN1Extension.java b/pki/base/util/src/netscape/security/extensions/GenericASN1Extension.java index 3e1743dd1..f4a8f3aa4 100644 --- a/pki/base/util/src/netscape/security/extensions/GenericASN1Extension.java +++ b/pki/base/util/src/netscape/security/extensions/GenericASN1Extension.java @@ -45,6 +45,11 @@ import netscape.security.x509.OIDMap; */ public class GenericASN1Extension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 8047548816784949009L; + protected static final int MAX_ATTR = 10; protected static final String PROP_CRITICAL = diff --git a/pki/base/util/src/netscape/security/extensions/InhibitAnyPolicyExtension.java b/pki/base/util/src/netscape/security/extensions/InhibitAnyPolicyExtension.java index 46d7ae2f5..626d126b4 100644 --- a/pki/base/util/src/netscape/security/extensions/InhibitAnyPolicyExtension.java +++ b/pki/base/util/src/netscape/security/extensions/InhibitAnyPolicyExtension.java @@ -46,6 +46,10 @@ public class InhibitAnyPolicyExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = -8963439897419343166L; public static final String OID = "2.5.29.54"; public static final String NAME = OIDMap.EXT_INHIBIT_ANY_POLICY_NAME; diff --git a/pki/base/util/src/netscape/security/extensions/NSCertTypeExtension.java b/pki/base/util/src/netscape/security/extensions/NSCertTypeExtension.java index e974e92ef..e470d4dcf 100644 --- a/pki/base/util/src/netscape/security/extensions/NSCertTypeExtension.java +++ b/pki/base/util/src/netscape/security/extensions/NSCertTypeExtension.java @@ -45,6 +45,11 @@ import netscape.security.x509.Extension; */ public class NSCertTypeExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 1856407688086284397L; + // The object identifiers private static final int CertType_data[] = { 2, 16, 840, 1, 113730, 1, 1 }; diff --git a/pki/base/util/src/netscape/security/extensions/OCSPNoCheckExtension.java b/pki/base/util/src/netscape/security/extensions/OCSPNoCheckExtension.java index 1010ca262..68d0e8a30 100644 --- a/pki/base/util/src/netscape/security/extensions/OCSPNoCheckExtension.java +++ b/pki/base/util/src/netscape/security/extensions/OCSPNoCheckExtension.java @@ -36,6 +36,10 @@ import netscape.security.x509.OIDMap; */ public class OCSPNoCheckExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = -4692759557964594790L; public static final String OID = "1.3.6.1.5.5.7.48.1.5"; public static final String NAME = "OCSPNoCheckExtension"; diff --git a/pki/base/util/src/netscape/security/extensions/PresenceServerExtension.java b/pki/base/util/src/netscape/security/extensions/PresenceServerExtension.java index 1b1808183..084e1d696 100644 --- a/pki/base/util/src/netscape/security/extensions/PresenceServerExtension.java +++ b/pki/base/util/src/netscape/security/extensions/PresenceServerExtension.java @@ -35,6 +35,10 @@ import netscape.security.x509.Extension; public class PresenceServerExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = -6333109673043357921L; private boolean mCritical; private String mOID = null; private int mVersion = 0; diff --git a/pki/base/util/src/netscape/security/extensions/SubjectInfoAccessExtension.java b/pki/base/util/src/netscape/security/extensions/SubjectInfoAccessExtension.java index 685675063..26d048dc5 100644 --- a/pki/base/util/src/netscape/security/extensions/SubjectInfoAccessExtension.java +++ b/pki/base/util/src/netscape/security/extensions/SubjectInfoAccessExtension.java @@ -46,6 +46,11 @@ import netscape.security.x509.URIName; * @version $Revision$, $Date$ */ public class SubjectInfoAccessExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 7237321566602583325L; + public static final String NAME = "SubjectInfoAccessExtension"; public static final int OID_OCSP[] = { 1, 3, 6, 1, 5, 5, 7, 48, 1 }; diff --git a/pki/base/util/src/netscape/security/pkcs/EncodingException.java b/pki/base/util/src/netscape/security/pkcs/EncodingException.java index 7f383443a..6ccd1d403 100644 --- a/pki/base/util/src/netscape/security/pkcs/EncodingException.java +++ b/pki/base/util/src/netscape/security/pkcs/EncodingException.java @@ -18,6 +18,11 @@ package netscape.security.pkcs; public class EncodingException extends Exception { + /** + * + */ + private static final long serialVersionUID = -6126764125859196917L; + public EncodingException() { super(); } diff --git a/pki/base/util/src/netscape/security/pkcs/PKCS10Attribute.java b/pki/base/util/src/netscape/security/pkcs/PKCS10Attribute.java index 7b2dea2c9..e3eee8099 100644 --- a/pki/base/util/src/netscape/security/pkcs/PKCS10Attribute.java +++ b/pki/base/util/src/netscape/security/pkcs/PKCS10Attribute.java @@ -61,6 +61,10 @@ import netscape.security.x509.OIDMap; * @version 1.13 */ public class PKCS10Attribute implements DerEncoder, Serializable { + /** + * + */ + private static final long serialVersionUID = 2002480042340316170L; protected ObjectIdentifier attributeId = null; protected CertAttrSet attributeValue = null; diff --git a/pki/base/util/src/netscape/security/pkcs/PKCS10Attributes.java b/pki/base/util/src/netscape/security/pkcs/PKCS10Attributes.java index 38ad19620..441d7da29 100644 --- a/pki/base/util/src/netscape/security/pkcs/PKCS10Attributes.java +++ b/pki/base/util/src/netscape/security/pkcs/PKCS10Attributes.java @@ -37,6 +37,10 @@ import netscape.security.util.DerValue; */ public class PKCS10Attributes extends Vector implements DerEncoder { + /** + * + */ + private static final long serialVersionUID = 1362260612357629542L; private Hashtable map; /** diff --git a/pki/base/util/src/netscape/security/pkcs/ParsingException.java b/pki/base/util/src/netscape/security/pkcs/ParsingException.java index 15bb01a5a..64f675704 100644 --- a/pki/base/util/src/netscape/security/pkcs/ParsingException.java +++ b/pki/base/util/src/netscape/security/pkcs/ParsingException.java @@ -20,6 +20,11 @@ package netscape.security.pkcs; import java.io.IOException; public class ParsingException extends IOException { + /** + * + */ + private static final long serialVersionUID = -8135726194372647410L; + public ParsingException() { super(); } diff --git a/pki/base/util/src/netscape/security/provider/CMS.java b/pki/base/util/src/netscape/security/provider/CMS.java index 63a776b0b..d89c6c4c3 100644 --- a/pki/base/util/src/netscape/security/provider/CMS.java +++ b/pki/base/util/src/netscape/security/provider/CMS.java @@ -25,7 +25,11 @@ import java.security.Provider; public final class CMS extends Provider { - private static final String INFO = "CMS " + + /** + * + */ + private static final long serialVersionUID = 1065207998900104219L; + private static final String INFO = "CMS " + "(DSA key/parameter generation; DSA signing; " + "SHA-1, MD5 digests; SecureRandom; X.509 certificates)"; diff --git a/pki/base/util/src/netscape/security/provider/RSAPublicKey.java b/pki/base/util/src/netscape/security/provider/RSAPublicKey.java index 6206b699c..4f5ec46bc 100644 --- a/pki/base/util/src/netscape/security/provider/RSAPublicKey.java +++ b/pki/base/util/src/netscape/security/provider/RSAPublicKey.java @@ -47,7 +47,12 @@ public final class RSAPublicKey extends X509Key implements Serializable { in bits (redundant!) */ - private static final ObjectIdentifier ALGORITHM_OID = + /** + * + */ + private static final long serialVersionUID = 7764823589128565374L; + +private static final ObjectIdentifier ALGORITHM_OID = AlgorithmId.RSAEncryption_oid; private BigInt modulus; diff --git a/pki/base/util/src/netscape/security/provider/Sun.java b/pki/base/util/src/netscape/security/provider/Sun.java index 2ba6be90f..36ef60d5a 100644 --- a/pki/base/util/src/netscape/security/provider/Sun.java +++ b/pki/base/util/src/netscape/security/provider/Sun.java @@ -53,6 +53,10 @@ import java.security.Provider; */ public final class Sun extends Provider { + /** + * + */ + private static final long serialVersionUID = 9134942296334703727L; private static String info = "SUN Security Provider v1.0, " + "DSA signing and key generation, SHA-1 and MD5 message digests."; diff --git a/pki/base/util/src/netscape/security/util/ArraySet.java b/pki/base/util/src/netscape/security/util/ArraySet.java index 822b752ff..540557893 100644 --- a/pki/base/util/src/netscape/security/util/ArraySet.java +++ b/pki/base/util/src/netscape/security/util/ArraySet.java @@ -64,6 +64,10 @@ import java.util.Set; public class ArraySet extends AbstractSet implements Set, Cloneable, java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = 3497902530270794207L; private ArrayList a; /** diff --git a/pki/base/util/src/netscape/security/x509/AlgIdDSA.java b/pki/base/util/src/netscape/security/x509/AlgIdDSA.java index ca0e858fb..4e7030ce4 100644 --- a/pki/base/util/src/netscape/security/x509/AlgIdDSA.java +++ b/pki/base/util/src/netscape/security/x509/AlgIdDSA.java @@ -45,6 +45,10 @@ import netscape.security.util.DerValue; public final class AlgIdDSA extends AlgorithmId implements DSAParams { + /** + * + */ + private static final long serialVersionUID = 5978220691806461631L; /* * The three unsigned integer parameters. */ diff --git a/pki/base/util/src/netscape/security/x509/Attribute.java b/pki/base/util/src/netscape/security/x509/Attribute.java index 9e39e4ead..b362f629d 100644 --- a/pki/base/util/src/netscape/security/x509/Attribute.java +++ b/pki/base/util/src/netscape/security/x509/Attribute.java @@ -56,6 +56,10 @@ import netscape.security.util.ObjectIdentifier; public final class Attribute implements Serializable, DerEncoder { + /** + * + */ + private static final long serialVersionUID = -931486084625476764L; //private variables ObjectIdentifier oid; Vector valueSet = new Vector(); diff --git a/pki/base/util/src/netscape/security/x509/AttributeNameEnumeration.java b/pki/base/util/src/netscape/security/x509/AttributeNameEnumeration.java index 977977a89..47e18fdcd 100644 --- a/pki/base/util/src/netscape/security/x509/AttributeNameEnumeration.java +++ b/pki/base/util/src/netscape/security/x509/AttributeNameEnumeration.java @@ -30,6 +30,11 @@ import java.util.Vector; */ public class AttributeNameEnumeration extends Vector { /** + * + */ + private static final long serialVersionUID = 6855308073169292869L; + + /** * The default constructor for this class. */ public AttributeNameEnumeration() { diff --git a/pki/base/util/src/netscape/security/x509/AuthorityKeyIdentifierExtension.java b/pki/base/util/src/netscape/security/x509/AuthorityKeyIdentifierExtension.java index 0da29e8ef..738c97e4f 100644 --- a/pki/base/util/src/netscape/security/x509/AuthorityKeyIdentifierExtension.java +++ b/pki/base/util/src/netscape/security/x509/AuthorityKeyIdentifierExtension.java @@ -53,6 +53,10 @@ import netscape.security.util.DerValue; public class AuthorityKeyIdentifierExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -157913621972354170L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/BasicConstraintsExtension.java b/pki/base/util/src/netscape/security/x509/BasicConstraintsExtension.java index ed48d2d4d..f0e689e5b 100644 --- a/pki/base/util/src/netscape/security/x509/BasicConstraintsExtension.java +++ b/pki/base/util/src/netscape/security/x509/BasicConstraintsExtension.java @@ -50,6 +50,10 @@ import netscape.security.util.DerValue; public class BasicConstraintsExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 6213957094939885889L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/CPSuri.java b/pki/base/util/src/netscape/security/x509/CPSuri.java index e802a8998..52ac0322d 100644 --- a/pki/base/util/src/netscape/security/x509/CPSuri.java +++ b/pki/base/util/src/netscape/security/x509/CPSuri.java @@ -32,6 +32,10 @@ import netscape.security.util.DerValue; */ public class CPSuri extends Qualifier { + /** + * + */ + private static final long serialVersionUID = -2814961293159006960L; private String mURI = null; /** diff --git a/pki/base/util/src/netscape/security/x509/CRLDistributionPointsExtension.java b/pki/base/util/src/netscape/security/x509/CRLDistributionPointsExtension.java index 6da6d586c..2ed340962 100644 --- a/pki/base/util/src/netscape/security/x509/CRLDistributionPointsExtension.java +++ b/pki/base/util/src/netscape/security/x509/CRLDistributionPointsExtension.java @@ -64,6 +64,10 @@ public class CRLDistributionPointsExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = 8551761833349709229L; // vector of CRLDistributionPoint private SEQUENCE distributionPoints = new SEQUENCE(); diff --git a/pki/base/util/src/netscape/security/x509/CRLExtensions.java b/pki/base/util/src/netscape/security/x509/CRLExtensions.java index dc3c82d13..3b165a592 100755 --- a/pki/base/util/src/netscape/security/x509/CRLExtensions.java +++ b/pki/base/util/src/netscape/security/x509/CRLExtensions.java @@ -41,6 +41,10 @@ import netscape.security.util.DerValue; */ public class CRLExtensions extends Vector { + /** + * + */ + private static final long serialVersionUID = 365767738692986418L; private Hashtable map; // Parse the encoded extension diff --git a/pki/base/util/src/netscape/security/x509/CRLNumberExtension.java b/pki/base/util/src/netscape/security/x509/CRLNumberExtension.java index 44292ed1a..d073d8811 100755 --- a/pki/base/util/src/netscape/security/x509/CRLNumberExtension.java +++ b/pki/base/util/src/netscape/security/x509/CRLNumberExtension.java @@ -46,6 +46,10 @@ public class CRLNumberExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 2992307666566322402L; + /** * Attribute name. */ public static final String NAME = "CRLNumber"; diff --git a/pki/base/util/src/netscape/security/x509/CRLReasonExtension.java b/pki/base/util/src/netscape/security/x509/CRLReasonExtension.java index 563c547c0..d1386e687 100644 --- a/pki/base/util/src/netscape/security/x509/CRLReasonExtension.java +++ b/pki/base/util/src/netscape/security/x509/CRLReasonExtension.java @@ -40,6 +40,10 @@ import netscape.security.util.DerValue; public final class CRLReasonExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 4544973296866779535L; + /** * Canned instances for all revocation reasons */ public static final CRLReasonExtension UNSPECIFIED = new CRLReasonExtension(RevocationReason.UNSPECIFIED); diff --git a/pki/base/util/src/netscape/security/x509/CertException.java b/pki/base/util/src/netscape/security/x509/CertException.java index fc47ed7bb..0b83ff116 100644 --- a/pki/base/util/src/netscape/security/x509/CertException.java +++ b/pki/base/util/src/netscape/security/x509/CertException.java @@ -30,6 +30,11 @@ public class CertException extends SecurityException { // Zero is reserved. + /** + * + */ + private static final long serialVersionUID = -4046189948107720588L; + /** Indicates that the signature in the certificate is not valid. */ public static final int verf_INVALID_SIG = 1; diff --git a/pki/base/util/src/netscape/security/x509/CertParseError.java b/pki/base/util/src/netscape/security/x509/CertParseError.java index 81a7a3770..2b9e444b5 100644 --- a/pki/base/util/src/netscape/security/x509/CertParseError.java +++ b/pki/base/util/src/netscape/security/x509/CertParseError.java @@ -30,6 +30,11 @@ package netscape.security.x509; class CertParseError extends CertException { + /** + * + */ + private static final long serialVersionUID = -7623327377774730807L; + CertParseError (String where) { super (CertException.verf_PARSE_ERROR, where); diff --git a/pki/base/util/src/netscape/security/x509/CertificateAlgorithmId.java b/pki/base/util/src/netscape/security/x509/CertificateAlgorithmId.java index c7aae98d1..20d1c0b68 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateAlgorithmId.java +++ b/pki/base/util/src/netscape/security/x509/CertificateAlgorithmId.java @@ -37,6 +37,11 @@ import netscape.security.util.DerValue; * @version 1.7 */ public class CertificateAlgorithmId implements CertAttrSet, Serializable { + /** + * + */ + private static final long serialVersionUID = 6084780721443376563L; + private AlgorithmId algId; /** diff --git a/pki/base/util/src/netscape/security/x509/CertificateExtensions.java b/pki/base/util/src/netscape/security/x509/CertificateExtensions.java index 37751c67f..f30b3164c 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateExtensions.java +++ b/pki/base/util/src/netscape/security/x509/CertificateExtensions.java @@ -46,6 +46,10 @@ import netscape.security.util.DerValue; public class CertificateExtensions extends Vector implements CertAttrSet, Serializable { /** + * + */ + private static final long serialVersionUID = -7172635300185788849L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/CertificateIssuerExtension.java b/pki/base/util/src/netscape/security/x509/CertificateIssuerExtension.java index 8d3c64f50..c8585b7d8 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateIssuerExtension.java +++ b/pki/base/util/src/netscape/security/x509/CertificateIssuerExtension.java @@ -44,6 +44,10 @@ public class CertificateIssuerExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 8643788952936025986L; + /** * Attribute name. */ public static final String NAME = "CertificateIssuer"; diff --git a/pki/base/util/src/netscape/security/x509/CertificatePoliciesExtension.java b/pki/base/util/src/netscape/security/x509/CertificatePoliciesExtension.java index 9bca9f63e..e582a35f6 100644 --- a/pki/base/util/src/netscape/security/x509/CertificatePoliciesExtension.java +++ b/pki/base/util/src/netscape/security/x509/CertificatePoliciesExtension.java @@ -54,6 +54,10 @@ public class CertificatePoliciesExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -3729294064061837367L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/CertificatePolicyId.java b/pki/base/util/src/netscape/security/x509/CertificatePolicyId.java index c7dddb594..2577764f8 100644 --- a/pki/base/util/src/netscape/security/x509/CertificatePolicyId.java +++ b/pki/base/util/src/netscape/security/x509/CertificatePolicyId.java @@ -32,6 +32,10 @@ import netscape.security.util.ObjectIdentifier; * @version 1.5 */ public class CertificatePolicyId implements java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = -2376810529862707757L; private ObjectIdentifier id; /** diff --git a/pki/base/util/src/netscape/security/x509/CertificatePolicyInfo.java b/pki/base/util/src/netscape/security/x509/CertificatePolicyInfo.java index 9556e2acf..50387261f 100644 --- a/pki/base/util/src/netscape/security/x509/CertificatePolicyInfo.java +++ b/pki/base/util/src/netscape/security/x509/CertificatePolicyInfo.java @@ -28,7 +28,11 @@ import netscape.security.util.DerValue; * @author Christine Ho */ public class CertificatePolicyInfo implements java.io.Serializable { - private CertificatePolicyId mPolicyIdentifier; + /** + * + */ + private static final long serialVersionUID = -8516006396099280477L; + private CertificatePolicyId mPolicyIdentifier; private PolicyQualifiers mPolicyQualifiers; /** diff --git a/pki/base/util/src/netscape/security/x509/CertificateSubjectName.java b/pki/base/util/src/netscape/security/x509/CertificateSubjectName.java index b79e2001e..5b09fa598 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateSubjectName.java +++ b/pki/base/util/src/netscape/security/x509/CertificateSubjectName.java @@ -39,6 +39,10 @@ import netscape.security.util.DerValue; */ public class CertificateSubjectName implements CertAttrSet, Serializable { /** + * + */ + private static final long serialVersionUID = 503643453152834350L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/CertificateValidity.java b/pki/base/util/src/netscape/security/x509/CertificateValidity.java index 4c0ca8e8b..fdb035944 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateValidity.java +++ b/pki/base/util/src/netscape/security/x509/CertificateValidity.java @@ -42,6 +42,10 @@ import netscape.security.util.DerValue; */ public class CertificateValidity implements CertAttrSet, Serializable { /** + * + */ + private static final long serialVersionUID = 8277703278213804194L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/CertificateX509Key.java b/pki/base/util/src/netscape/security/x509/CertificateX509Key.java index d311a4352..acc1bc049 100644 --- a/pki/base/util/src/netscape/security/x509/CertificateX509Key.java +++ b/pki/base/util/src/netscape/security/x509/CertificateX509Key.java @@ -39,6 +39,10 @@ import netscape.security.util.DerValue; */ public class CertificateX509Key implements CertAttrSet, Serializable { /** + * + */ + private static final long serialVersionUID = 6718749024328681131L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/DNSName.java b/pki/base/util/src/netscape/security/x509/DNSName.java index d6d9b1f07..361c23571 100644 --- a/pki/base/util/src/netscape/security/x509/DNSName.java +++ b/pki/base/util/src/netscape/security/x509/DNSName.java @@ -31,6 +31,10 @@ import netscape.security.util.DerValue; * @version 1.4 */ public class DNSName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = -2907649488092607056L; private String name; /** diff --git a/pki/base/util/src/netscape/security/x509/DeltaCRLIndicatorExtension.java b/pki/base/util/src/netscape/security/x509/DeltaCRLIndicatorExtension.java index 3ef2f1ae7..4f4e11c4f 100755 --- a/pki/base/util/src/netscape/security/x509/DeltaCRLIndicatorExtension.java +++ b/pki/base/util/src/netscape/security/x509/DeltaCRLIndicatorExtension.java @@ -46,6 +46,10 @@ public class DeltaCRLIndicatorExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 7182919216525364676L; + /** * Attribute name. */ public static final String NAME = "DeltaCRLIndicator"; diff --git a/pki/base/util/src/netscape/security/x509/EDIPartyName.java b/pki/base/util/src/netscape/security/x509/EDIPartyName.java index 475206c0a..92f713ca2 100644 --- a/pki/base/util/src/netscape/security/x509/EDIPartyName.java +++ b/pki/base/util/src/netscape/security/x509/EDIPartyName.java @@ -40,6 +40,10 @@ import netscape.security.util.DerValue; */ public class EDIPartyName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = -8669257424766789063L; // Private data members private static final byte TAG_ASSIGNER = 0; private static final byte TAG_PARTYNAME = 1; diff --git a/pki/base/util/src/netscape/security/x509/Extension.java b/pki/base/util/src/netscape/security/x509/Extension.java index 39be6eb86..e52a0be70 100644 --- a/pki/base/util/src/netscape/security/x509/Extension.java +++ b/pki/base/util/src/netscape/security/x509/Extension.java @@ -51,6 +51,10 @@ import netscape.security.util.ObjectIdentifier; * @version 1.9 */ public class Extension implements Serializable { + /** + * + */ + private static final long serialVersionUID = -643549610716024753L; protected ObjectIdentifier extensionId = null; protected boolean critical = false; protected byte[] extensionValue = null; diff --git a/pki/base/util/src/netscape/security/x509/Extensions.java b/pki/base/util/src/netscape/security/x509/Extensions.java index 5d4705d2e..1e728a0a8 100644 --- a/pki/base/util/src/netscape/security/x509/Extensions.java +++ b/pki/base/util/src/netscape/security/x509/Extensions.java @@ -43,6 +43,10 @@ import netscape.security.util.DerValue; public class Extensions extends Vector implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 4597917347772057433L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/FreshestCRLExtension.java b/pki/base/util/src/netscape/security/x509/FreshestCRLExtension.java index 23aa8dc0c..ac8e2504f 100644 --- a/pki/base/util/src/netscape/security/x509/FreshestCRLExtension.java +++ b/pki/base/util/src/netscape/security/x509/FreshestCRLExtension.java @@ -65,6 +65,11 @@ public class FreshestCRLExtension extends Extension implements CertAttrSet { + /** + * + */ + private static final long serialVersionUID = -8040203589629281781L; + // vector of CRLDistributionPoint private SEQUENCE distributionPoints = new SEQUENCE(); diff --git a/pki/base/util/src/netscape/security/x509/GeneralName.java b/pki/base/util/src/netscape/security/x509/GeneralName.java index 84088147e..bc3395c57 100644 --- a/pki/base/util/src/netscape/security/x509/GeneralName.java +++ b/pki/base/util/src/netscape/security/x509/GeneralName.java @@ -45,6 +45,10 @@ import netscape.security.util.DerValue; */ public class GeneralName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = 2244101501095555042L; // Private data members private GeneralNameInterface name = null; diff --git a/pki/base/util/src/netscape/security/x509/GeneralNames.java b/pki/base/util/src/netscape/security/x509/GeneralNames.java index eb8cb2299..767e0fe3e 100644 --- a/pki/base/util/src/netscape/security/x509/GeneralNames.java +++ b/pki/base/util/src/netscape/security/x509/GeneralNames.java @@ -37,6 +37,11 @@ import netscape.security.util.DerValue; */ public class GeneralNames extends Vector { /** + * + */ + private static final long serialVersionUID = 3204492869396713312L; + + /** * Create the GeneralNames, decoding from the passed DerValue. * * <b>Caution when using this constructor. It may be broken! diff --git a/pki/base/util/src/netscape/security/x509/GeneralNamesException.java b/pki/base/util/src/netscape/security/x509/GeneralNamesException.java index ddb0344b8..11c763fda 100644 --- a/pki/base/util/src/netscape/security/x509/GeneralNamesException.java +++ b/pki/base/util/src/netscape/security/x509/GeneralNamesException.java @@ -28,6 +28,11 @@ import java.security.GeneralSecurityException; */ public class GeneralNamesException extends GeneralSecurityException { /** + * + */ + private static final long serialVersionUID = -8320001725384815795L; + + /** * Constructs a GeneralNamesException with no detail message. */ public GeneralNamesException() { diff --git a/pki/base/util/src/netscape/security/x509/HoldInstructionExtension.java b/pki/base/util/src/netscape/security/x509/HoldInstructionExtension.java index 6cc7cb22b..31806ae10 100644 --- a/pki/base/util/src/netscape/security/x509/HoldInstructionExtension.java +++ b/pki/base/util/src/netscape/security/x509/HoldInstructionExtension.java @@ -47,6 +47,10 @@ public class HoldInstructionExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -6706557233070964984L; + /** * Attribute name. */ public static final String NAME = "HoldInstruction"; diff --git a/pki/base/util/src/netscape/security/x509/IPAddressName.java b/pki/base/util/src/netscape/security/x509/IPAddressName.java index c79147eb2..510a4f5a1 100644 --- a/pki/base/util/src/netscape/security/x509/IPAddressName.java +++ b/pki/base/util/src/netscape/security/x509/IPAddressName.java @@ -37,6 +37,10 @@ import netscape.security.util.DerValue; * @author Hemma Prafullchandra */ public class IPAddressName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = -4240184399679453666L; private byte[] address; /** diff --git a/pki/base/util/src/netscape/security/x509/InvalidIPAddressException.java b/pki/base/util/src/netscape/security/x509/InvalidIPAddressException.java index 783a4bdd9..d58ff896c 100644 --- a/pki/base/util/src/netscape/security/x509/InvalidIPAddressException.java +++ b/pki/base/util/src/netscape/security/x509/InvalidIPAddressException.java @@ -19,7 +19,11 @@ package netscape.security.x509; public class InvalidIPAddressException extends RuntimeException { - public InvalidIPAddressException() { + /** + * + */ + private static final long serialVersionUID = -1601934234587845028L; + public InvalidIPAddressException() { super(); } public InvalidIPAddressException(String ip) { diff --git a/pki/base/util/src/netscape/security/x509/InvalidityDateExtension.java b/pki/base/util/src/netscape/security/x509/InvalidityDateExtension.java index a90b2b791..c70eca7af 100755 --- a/pki/base/util/src/netscape/security/x509/InvalidityDateExtension.java +++ b/pki/base/util/src/netscape/security/x509/InvalidityDateExtension.java @@ -47,6 +47,10 @@ public class InvalidityDateExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 2191026017389643053L; + /** * Attribute name. */ public static final String NAME = "InvalidityDate"; diff --git a/pki/base/util/src/netscape/security/x509/IssuerAlternativeNameExtension.java b/pki/base/util/src/netscape/security/x509/IssuerAlternativeNameExtension.java index aa18026e3..5f09b353e 100644 --- a/pki/base/util/src/netscape/security/x509/IssuerAlternativeNameExtension.java +++ b/pki/base/util/src/netscape/security/x509/IssuerAlternativeNameExtension.java @@ -46,6 +46,10 @@ import netscape.security.util.DerValue; public class IssuerAlternativeNameExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -269518027483586255L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/IssuingDistributionPointExtension.java b/pki/base/util/src/netscape/security/x509/IssuingDistributionPointExtension.java index 22569f454..36cce0300 100644 --- a/pki/base/util/src/netscape/security/x509/IssuingDistributionPointExtension.java +++ b/pki/base/util/src/netscape/security/x509/IssuingDistributionPointExtension.java @@ -93,6 +93,11 @@ public class IssuingDistributionPointExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -1281544042375527550L; + + /** * The Object Identifier for this extension. */ public static final String OID = "2.5.29.28"; diff --git a/pki/base/util/src/netscape/security/x509/KeyIdentifier.java b/pki/base/util/src/netscape/security/x509/KeyIdentifier.java index 496b9ed99..dd0e49cb1 100644 --- a/pki/base/util/src/netscape/security/x509/KeyIdentifier.java +++ b/pki/base/util/src/netscape/security/x509/KeyIdentifier.java @@ -30,6 +30,10 @@ import netscape.security.util.DerValue; * @version 1.4 */ public class KeyIdentifier implements java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = 2412286879441154979L; private byte[] octetString; /** diff --git a/pki/base/util/src/netscape/security/x509/KeyUsageExtension.java b/pki/base/util/src/netscape/security/x509/KeyUsageExtension.java index f13528c9f..807388a7b 100644 --- a/pki/base/util/src/netscape/security/x509/KeyUsageExtension.java +++ b/pki/base/util/src/netscape/security/x509/KeyUsageExtension.java @@ -46,6 +46,10 @@ public class KeyUsageExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 2899719374157256708L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/NSCCommentExtension.java b/pki/base/util/src/netscape/security/x509/NSCCommentExtension.java index 406469868..4a8e91c9e 100644 --- a/pki/base/util/src/netscape/security/x509/NSCCommentExtension.java +++ b/pki/base/util/src/netscape/security/x509/NSCCommentExtension.java @@ -40,6 +40,10 @@ public class NSCCommentExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 4066287070285105375L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/NameConstraintsExtension.java b/pki/base/util/src/netscape/security/x509/NameConstraintsExtension.java index f69e2fe5f..5e54c2d9a 100644 --- a/pki/base/util/src/netscape/security/x509/NameConstraintsExtension.java +++ b/pki/base/util/src/netscape/security/x509/NameConstraintsExtension.java @@ -61,6 +61,10 @@ import netscape.security.util.PrettyPrintFormat; public class NameConstraintsExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -3506940192931244539L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/OIDName.java b/pki/base/util/src/netscape/security/x509/OIDName.java index 44e67867e..61d44771a 100644 --- a/pki/base/util/src/netscape/security/x509/OIDName.java +++ b/pki/base/util/src/netscape/security/x509/OIDName.java @@ -35,7 +35,11 @@ import netscape.security.util.ObjectIdentifier; * @see GeneralNameInterface */ public class OIDName implements GeneralNameInterface { - private ObjectIdentifier oid; + /** + * + */ + private static final long serialVersionUID = 9198510631835117121L; + private ObjectIdentifier oid; /** * Create the OIDName object from the passed encoded Der value. diff --git a/pki/base/util/src/netscape/security/x509/OtherName.java b/pki/base/util/src/netscape/security/x509/OtherName.java index c7d8841cb..c4815bb21 100644 --- a/pki/base/util/src/netscape/security/x509/OtherName.java +++ b/pki/base/util/src/netscape/security/x509/OtherName.java @@ -43,6 +43,10 @@ import netscape.security.util.ObjectIdentifier; * @author Hemma Prafullchandra */ public class OtherName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = -3533614377346132611L; private ObjectIdentifier mOID = null; private byte[] mData = null; diff --git a/pki/base/util/src/netscape/security/x509/PolicyConstraintsExtension.java b/pki/base/util/src/netscape/security/x509/PolicyConstraintsExtension.java index faa5d43dd..45039df8e 100644 --- a/pki/base/util/src/netscape/security/x509/PolicyConstraintsExtension.java +++ b/pki/base/util/src/netscape/security/x509/PolicyConstraintsExtension.java @@ -55,6 +55,10 @@ import netscape.security.util.DerValue; public class PolicyConstraintsExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -3723759691127622370L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/PolicyMappingsExtension.java b/pki/base/util/src/netscape/security/x509/PolicyMappingsExtension.java index f95f2dbe3..777537117 100644 --- a/pki/base/util/src/netscape/security/x509/PolicyMappingsExtension.java +++ b/pki/base/util/src/netscape/security/x509/PolicyMappingsExtension.java @@ -50,6 +50,10 @@ import netscape.security.util.DerValue; public class PolicyMappingsExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -4023336164621135851L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/PolicyQualifierInfo.java b/pki/base/util/src/netscape/security/x509/PolicyQualifierInfo.java index c2f750987..da0ab3847 100644 --- a/pki/base/util/src/netscape/security/x509/PolicyQualifierInfo.java +++ b/pki/base/util/src/netscape/security/x509/PolicyQualifierInfo.java @@ -36,6 +36,10 @@ import netscape.security.util.ObjectIdentifier; */ public class PolicyQualifierInfo implements java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = -2930016944517192379L; public static final int OID_CPS[] = { 1, 3, 6, 1, 5, 5, 7, 2, 1 }; public static final ObjectIdentifier QT_CPS = new ObjectIdentifier(OID_CPS); diff --git a/pki/base/util/src/netscape/security/x509/PolicyQualifiers.java b/pki/base/util/src/netscape/security/x509/PolicyQualifiers.java index e066aefea..5d04e0f98 100644 --- a/pki/base/util/src/netscape/security/x509/PolicyQualifiers.java +++ b/pki/base/util/src/netscape/security/x509/PolicyQualifiers.java @@ -33,6 +33,10 @@ import netscape.security.util.DerValue; */ public class PolicyQualifiers implements java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = 6932694408774694516L; private Vector mInfo = new Vector(); /** diff --git a/pki/base/util/src/netscape/security/x509/PrivateKeyUsageExtension.java b/pki/base/util/src/netscape/security/x509/PrivateKeyUsageExtension.java index fb37e76bb..c844eb333 100644 --- a/pki/base/util/src/netscape/security/x509/PrivateKeyUsageExtension.java +++ b/pki/base/util/src/netscape/security/x509/PrivateKeyUsageExtension.java @@ -58,6 +58,10 @@ import netscape.security.util.DerValue; public class PrivateKeyUsageExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -7623695233957629936L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/Qualifier.java b/pki/base/util/src/netscape/security/x509/Qualifier.java index 8f85333d7..3d7168df2 100644 --- a/pki/base/util/src/netscape/security/x509/Qualifier.java +++ b/pki/base/util/src/netscape/security/x509/Qualifier.java @@ -36,6 +36,11 @@ import netscape.security.util.DerValue; public class Qualifier implements java.io.Serializable { /** + * + */ + private static final long serialVersionUID = 2214531407387992974L; + + /** * Create a PolicyQualifierInfo * * @param id the ObjectIdentifier for the policy id. diff --git a/pki/base/util/src/netscape/security/x509/RFC822Name.java b/pki/base/util/src/netscape/security/x509/RFC822Name.java index c29db6436..236e5ecbb 100644 --- a/pki/base/util/src/netscape/security/x509/RFC822Name.java +++ b/pki/base/util/src/netscape/security/x509/RFC822Name.java @@ -35,6 +35,10 @@ import netscape.security.util.DerValue; */ public class RFC822Name implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = -1453025303548809007L; private String name; /** diff --git a/pki/base/util/src/netscape/security/x509/RevokedCertImpl.java b/pki/base/util/src/netscape/security/x509/RevokedCertImpl.java index 7d3808bd5..5d9d0491b 100755 --- a/pki/base/util/src/netscape/security/x509/RevokedCertImpl.java +++ b/pki/base/util/src/netscape/security/x509/RevokedCertImpl.java @@ -69,6 +69,10 @@ import netscape.security.util.ObjectIdentifier; public class RevokedCertImpl extends RevokedCertificate implements Serializable{ + /** + * + */ + private static final long serialVersionUID = -3449642360223397701L; private SerialNumber serialNumber; private Date revocationDate; private CRLExtensions extensions = null; diff --git a/pki/base/util/src/netscape/security/x509/SubjectAlternativeNameExtension.java b/pki/base/util/src/netscape/security/x509/SubjectAlternativeNameExtension.java index 834355582..f950f57d3 100644 --- a/pki/base/util/src/netscape/security/x509/SubjectAlternativeNameExtension.java +++ b/pki/base/util/src/netscape/security/x509/SubjectAlternativeNameExtension.java @@ -51,6 +51,10 @@ import netscape.security.util.DerValue; public class SubjectAlternativeNameExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -4022446008355607196L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/SubjectDirAttributesExtension.java b/pki/base/util/src/netscape/security/x509/SubjectDirAttributesExtension.java index 007437bb3..a3277ce76 100644 --- a/pki/base/util/src/netscape/security/x509/SubjectDirAttributesExtension.java +++ b/pki/base/util/src/netscape/security/x509/SubjectDirAttributesExtension.java @@ -60,6 +60,11 @@ public class SubjectDirAttributesExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = -1215458115428197688L; + + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/SubjectKeyIdentifierExtension.java b/pki/base/util/src/netscape/security/x509/SubjectKeyIdentifierExtension.java index 37b943898..1572f63b8 100644 --- a/pki/base/util/src/netscape/security/x509/SubjectKeyIdentifierExtension.java +++ b/pki/base/util/src/netscape/security/x509/SubjectKeyIdentifierExtension.java @@ -51,6 +51,10 @@ import netscape.security.util.DerValue; public class SubjectKeyIdentifierExtension extends Extension implements CertAttrSet { /** + * + */ + private static final long serialVersionUID = 2457721262590880939L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/URIName.java b/pki/base/util/src/netscape/security/x509/URIName.java index b0cb2d084..539ad249c 100644 --- a/pki/base/util/src/netscape/security/x509/URIName.java +++ b/pki/base/util/src/netscape/security/x509/URIName.java @@ -34,6 +34,10 @@ import netscape.security.util.DerValue; * @see GeneralNameInterface */ public class URIName implements GeneralNameInterface { + /** + * + */ + private static final long serialVersionUID = 8340049830612859508L; private String name; /** diff --git a/pki/base/util/src/netscape/security/x509/UserNotice.java b/pki/base/util/src/netscape/security/x509/UserNotice.java index 3f9db6838..ad6493393 100644 --- a/pki/base/util/src/netscape/security/x509/UserNotice.java +++ b/pki/base/util/src/netscape/security/x509/UserNotice.java @@ -35,6 +35,10 @@ import netscape.security.util.DerValue; */ public class UserNotice extends Qualifier { + /** + * + */ + private static final long serialVersionUID = 5770869942793748051L; private NoticeReference mNoticeReference = null; private DisplayText mDisplayText = null; diff --git a/pki/base/util/src/netscape/security/x509/X500Name.java b/pki/base/util/src/netscape/security/x509/X500Name.java index 27e722641..c9980d3dc 100644 --- a/pki/base/util/src/netscape/security/x509/X500Name.java +++ b/pki/base/util/src/netscape/security/x509/X500Name.java @@ -55,6 +55,11 @@ import netscape.security.util.ObjectIdentifier; public class X500Name implements Principal, GeneralNameInterface { /** + * + */ + private static final long serialVersionUID = -730790062013191108L; + + /** * Constructs a name from a Ldap DN string, such * as &lb;CN=Dave, OU=JavaSoft, O=Sun Microsystems, C=US&rb;. The * older "/C=US/O=Sun Microsystems, Inc/OU=JavaSoft/CN=Dave" syntax diff --git a/pki/base/util/src/netscape/security/x509/X500Signer.java b/pki/base/util/src/netscape/security/x509/X500Signer.java index 6568e1a97..93be4ba85 100644 --- a/pki/base/util/src/netscape/security/x509/X500Signer.java +++ b/pki/base/util/src/netscape/security/x509/X500Signer.java @@ -43,6 +43,10 @@ import java.security.Signer; public final class X500Signer extends Signer { /** + * + */ + private static final long serialVersionUID = -3148659822293810158L; + /** * Called for each chunk of the data being signed. That * is, you can present the data in many chunks, so that * it doesn't need to be in a single sequential buffer. diff --git a/pki/base/util/src/netscape/security/x509/X509Cert.java b/pki/base/util/src/netscape/security/x509/X509Cert.java index eb46b15b7..873d25ab0 100644 --- a/pki/base/util/src/netscape/security/x509/X509Cert.java +++ b/pki/base/util/src/netscape/security/x509/X509Cert.java @@ -50,6 +50,10 @@ public class X509Cert implements Certificate, Serializable { + /** + * + */ + private static final long serialVersionUID = -6968141532738786900L; /* The algorithm id */ protected AlgorithmId algid; diff --git a/pki/base/util/src/netscape/security/x509/X509CertImpl.java b/pki/base/util/src/netscape/security/x509/X509CertImpl.java index c9f7c3cd7..0d666ebde 100755 --- a/pki/base/util/src/netscape/security/x509/X509CertImpl.java +++ b/pki/base/util/src/netscape/security/x509/X509CertImpl.java @@ -1159,6 +1159,10 @@ implements Serializable, DerEncoder { } protected static class CertificateRep1 implements java.io.Serializable { + /** + * + */ + private static final long serialVersionUID = -5207881613631592409L; private String type1; private byte[] data1; diff --git a/pki/base/util/src/netscape/security/x509/X509CertInfo.java b/pki/base/util/src/netscape/security/x509/X509CertInfo.java index 7738284e6..0e58a10b1 100644 --- a/pki/base/util/src/netscape/security/x509/X509CertInfo.java +++ b/pki/base/util/src/netscape/security/x509/X509CertInfo.java @@ -63,6 +63,10 @@ import netscape.security.util.DerValue; */ public class X509CertInfo implements CertAttrSet, Serializable { /** + * + */ + private static final long serialVersionUID = -5094073467876311577L; + /** * Identifier for this attribute, to be used with the * get, set, delete methods of Certificate, x509 type. */ diff --git a/pki/base/util/src/netscape/security/x509/X509ExtensionException.java b/pki/base/util/src/netscape/security/x509/X509ExtensionException.java index 007794e29..5b65b9b7b 100644 --- a/pki/base/util/src/netscape/security/x509/X509ExtensionException.java +++ b/pki/base/util/src/netscape/security/x509/X509ExtensionException.java @@ -28,6 +28,11 @@ import java.security.GeneralSecurityException; public class X509ExtensionException extends GeneralSecurityException { /** + * + */ + private static final long serialVersionUID = 8152491877676477910L; + + /** * Constructs an X509ExtensionException with no detail message. A * detail message is a String that describes this particular * exception. |