summaryrefslogtreecommitdiffstats
path: root/pki/base/common
Commit message (Collapse)AuthorAgeFilesLines
* TreeSetAdam Young2011-12-079-88/+88
| | | | | | | | | | | | | | | | | | | ArraySet and AttributeNameEnumeration both were not updated to handfle Generics. Neither are really needed, and are likely to introduce errors. ArraySet can be safely replaced by TreeSet. TreeSet provides a stricter ordering constraint than ArraySet did. This will not hurt anything, and may actually be closer to the desired behavior AttributeNameEnumeration was a thin wrapper around Vector. It has been replaced with Vector<String> In addition, this patch cleans up the Type safety in of the collections used in the related files. removed files from cmake Removed custom collection files Supressed watnings generated by the clone method.
* Remove Deprecated Date FunctionsAdam Young2011-12-065-33/+52
| | | | | | Fixed error in parsing for stringToDate https://fedorahosted.org/pki/ticket/3
* call statics staticallyAdam Young2011-12-0620-121/+121
| | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=728303 Updated with changes from code review Leaving in the warning in GenericASN1Extension, ans that is an indication of a real problem, which will get addressed in a separate patch.
* Fixed stack trace in test report.Endi Sukma Dewata2011-12-051-4/+19
| | | | | | | The report generator has been fixed to show the stack trace from the test source code. Ticket #36
* Added JUnit report generator.Endi Sukma Dewata2011-12-053-1/+266
| | | | | | | A custom JUnit test runner has been added to capture test results and generate XML reports. Ticket #36
* Revert "Remove Deprecated Date Functions"Adam Young2011-12-025-51/+32
| | | | | | This reverts commit d7d71804b885118e74928e413a8e7fb91b78706c. It was commited by mistake. It changes the Certificate Geenrate code, and requires a unit test
* SerialVersionIDAdam Young2011-12-02237-4/+1065
| | | | Autogenerated SerialVersionID for all serializable classes
* Remove Deprecated Date FunctionsAdam Young2011-12-025-32/+51
| | | | https://fedorahosted.org/pki/ticket/3
* unnecessary block removalAdam Young2011-12-0215-129/+99
| | | | | | This patch removes all of the unneeded blocks that surrounded code cleaned up with the dead code removal. https://bugzilla.redhat.com/show_bug.cgi?id=728303
* Added support for JUnit in CMake.Endi Sukma Dewata2011-11-282-0/+94
| | | | | | | | A new function add_junit_test() has been added to execute JUnit tests in CMake. The function is used to execute the unit tests in the common package. Ticket #36
* Dead code removaladmiyo2011-11-2130-283/+18
| | | | | | | | This patch removes all of the locations that Eclipse identified as Dead code. Only the Eclipse automated cleanups were performed, which means that some of the locations which were in *if* blocks still have the corresponding brackets around them. These ensure that the original variable semantics weren't changed, but are safe to remove in the future. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2296 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Cleanup importsadmiyo2011-11-04858-9284/+11578
| | | | | | | | | | Automated changes done by Eclipse Minor tweak to one file where Eclipse was tring to find an import for Any Due to finding it in an annotated comment. https://bugzilla.redhat.com/show_bug.cgi?id=728303 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2292 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #747019.awnuk2011-11-031-0/+16
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2289 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* stub unimplemented abstract methodsadmiyo2011-11-022-0/+121
| | | | | | | | | | the test code has mock objects that implement abstract interfaces, but did not implement all of the methods, causing the compiler to complain. Required as a part of the cleanup for https://bugzilla.redhat.com/show_bug.cgi?id=728303 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2280 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bug 744797 - KRA key recovery (retrieve pkcs#12) fails after the in-place ↵cfu2011-10-222-13/+18
| | | | | | upgrade( CS 8.0->8.1) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2274 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fix bugzilla #730162 - TPS/TKS token enrollment failure in FIPS mode (hsm+NSS) .jmagne2011-09-163-34/+48
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2205 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #737218, which is part of fix for bugzilla bug #598728.awnuk2011-09-152-33/+39
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2203 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #734590 - Refactor JNI libraries for Fedora 16+ . . .mharmsen2011-09-131-7/+7
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2197 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla BZ# 699809 - Convert certificate system to use systemdvakwetu2011-09-095-1308/+18
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2196 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Revert "sync config"admiyo2011-09-061-2/+0
| | | | | | | This reverts Revision 2192 It introduced a build error. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2193 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* sync configadmiyo2011-09-061-0/+2
| | | | | | | | | | removing duplicated configuration the config file tree was duplicated, but the got out of sync. This patch synchronizes the key, prior to removing the duplicated code the java package: com.netscape.certsrv.common contains configuration information used by both the console and the server. It was copied in the source tree, and was getting duplicated. This removes the console version of the source, and instead copies the Java files prior to compilation git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2192 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla 730146 - SSL handshake picks non-FIPS ciphers in FIPS modecfu2011-08-261-5/+13
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2180 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Resolves #712931 - CS requires too many ports to be open in the FWvakwetu2011-08-236-51/+167
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2160 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Resolves #731741 - some CS.cfg nickname parameters not updated correctly ↵vakwetu2011-08-231-0/+16
| | | | | | when subsystem cloned (using hsm) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2159 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Resolves #700522 - pki tomcat6 instances currently running unconfined, allow ↵vakwetu2011-08-151-0/+1
| | | | | | server to come up when selinux disabled git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2148 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Resolves #700522 - pki tomcat6 instances currently running unconfined, allow ↵vakwetu2011-08-151-2/+7
| | | | | | server to come up when selinux disabled git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2146 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Resolves #700505 - pki tomcat6 instances currently running unconfinedvakwetu2011-08-091-2/+10
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2127 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #728332.awnuk2011-08-051-2/+8
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2115 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Resolves #726785 - If replication fails while setting up a clone it will ↵vakwetu2011-08-041-35/+73
| | | | | | wait forever git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2107 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Resolves #708075 - Clone installation does not work over NATvakwetu2011-08-041-10/+18
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2105 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla BZ689909 - Dogtag installation under IPA takes too much time - ↵vakwetu2011-08-031-0/+3
| | | | | | remove the inefficient sleeps -- missing file checkin git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2099 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla BZ689909 - Dogtag installation under IPA takes too much time - ↵vakwetu2011-08-0315-8/+89
| | | | | | remove the inefficient sleeps git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2096 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #717041 - Improve escaping of some enrollment inputsawnuk2011-08-021-0/+13
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2093 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #717041 - Improve escaping of some enrollment inputsawnuk2011-08-021-0/+13
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2092 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #717041 - Improve escaping of some enrollment inputsawnuk2011-08-011-7/+28
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2091 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #717041 - Improve escaping of some enrollment inputsawnuk2011-08-011-3/+13
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2090 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug 717041 - Improve escaping of some enrollment inputs like.jmagne2011-07-252-5/+6
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2086 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla BZ 722989 - Registering an agent when a subsystem is created - does ↵vakwetu2011-07-202-5/+71
| | | | | | not log AUTHZ_SUCCESS event git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2068 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla BZ#716307 - rhcs80 - DER shall not include an encoding for any ↵vakwetu2011-07-191-1/+12
| | | | | | component value which is equal to its default value git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2065 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fix Bugzilla Bug# 719007 - Key Constraint keyParameter being ignored using ↵jmagne2011-07-191-3/+109
| | | | | | an ECC CA to generate ECC certs from CRMF. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2064 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fix bugzilla Bug# 720510 - Console: Adding a certificate into nethsm throws ↵jmagne2011-07-192-12/+39
| | | | | | Token not found error. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2062 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #669226 - Remove Legacy Build System (Ant + Autoconf --> CMake)mharmsen2011-07-131-427/+0
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2057 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fix Bugzilla Bug#718607 CC_LAB_EVAL: No AUTH message is generated in CA's ↵jmagne2011-07-071-9/+66
| | | | | | signedaudit log when a directory based user enrollment is performed git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2048 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla BZ#718427 - When audit log is full, server continue to functionvakwetu2011-07-051-0/+10
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2039 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug# 697939 DRM signed audit log message - operation should be read ↵jmagne2011-06-301-0/+2
| | | | | | instead of modify. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2036 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #717813 - EV_AUDIT_LOG_SHUTDOWN audit log not generated for tps ↵jmagne2011-06-303-12/+10
| | | | | | and ca on server shutdown git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2033 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fix Bugzilla Bug#707607 - Published certificate summary has list of ↵jmagne2011-06-141-3/+5
| | | | | | non-published certificates with succeeded status git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2021 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla BZ 707416 - additional audit messages for GetCookievakwetu2011-06-095-12/+81
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2019 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla BZ 707416 - CC_LAB_EVAL: Security Domain: missing audit msgs for ↵vakwetu2011-06-075-20/+364
| | | | | | modify/add git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2017 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fix Bugzilla Bug#661142 - Verification should fail when a revoked ↵jmagne2011-05-252-1/+7
| | | | | | certificate is added. Add better error feedback to user. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2012 c9f7a03b-bd48-0410-a16d-cbbf54688b0b