summaryrefslogtreecommitdiffstats
path: root/pki/base/common
Commit message (Collapse)AuthorAgeFilesLines
* Formatting - fix bad wrapsticket-2Ade Lee2012-01-0917-235/+98
| | | | Resolve conflict in pki/base/ca/src/com/netscape/ca/CRLIssuingPoint.java
* Formatting - wrap for lines > 120Ade Lee2012-01-09162-571/+1293
|
* Formatting (no wrap)Ade Lee2012-01-09936-49841/+47733
|
* Simple Name Instead of Extensions using a specified NAME field they now use ↵Adam Young2012-01-0984-743/+817
| | | | | | | | the SimpleName of the class. In most cases, this either matches what was used before, or adds the Words "Extension" on to the end of it. Fixed the Name for Generic Extensions https://fedorahosted.org/pki/ticket/2
* typesafety ACL Impls Random type safety cleanups.Adam Young2012-01-046-25/+26
|
* typesafe returns on IDBSession for VirtualListAdam Young2012-01-043-43/+45
|
* type safety certserv cms and cmscoreAdam Young2012-01-0440-248/+269
| | | | Re-added files IPublshRuleSet and ILdapCertMapper
* Typesafety for certsrv.kraAdam Young2012-01-043-9/+9
|
* typesafety db and loggingAdam Young2012-01-0413-99/+102
|
* typesafety cron and jobschedulerAdam Young2012-01-044-23/+23
|
* typesafety certserv and cmscoreAdam Young2012-01-0415-40/+40
| | | | Using interface instead of implementing class
* type safety for certserv.baseAdam Young2011-12-2222-140/+139
| | | | more type safety
* type safety for certserv.authorizationAdam Young2011-12-227-56/+53
|
* type safety for certserv.authenticatorAdam Young2011-12-226-28/+25
|
* Type safety for CMS and by extension, much of commonAdam Young2011-12-2215-92/+95
|
* Type safety for ACLsAdam Young2011-12-223-17/+18
|
* type safety cleanup in common.Adam Young2011-12-226-32/+30
|
* Unreachable Catch clausesAdam Young2011-12-225-57/+0
| | | | In each of the cases, more specific exceptions would be caught, masking these more generic exception.
* type safety in CMSCRLExtensions and PublisherProcessorAdam Young2011-12-221-2/+3
|
* Removal of unused private methodsAdam Young2011-12-221-24/+0
| | | | | | | | These methods are uncallable. There might be some discussion about the private default constructores. The Rules of Java are different from C++: If there is any constructor defined, all the other defaults befome uncallable. Thus, the private default constructors are not needed. https://bugzilla.redhat.com/show_bug.cgi?id=728303
* Removal of unused private methodsAdam Young2011-12-2028-1812/+2
| | | | | | | | | | | | These methods are uncallable. There might be some discussion about the private default constructores. The Rules of Java are different from C++: If there is any constructor defined, all the other defaults befome uncallable. Thus, the private default constructors are not needed. https://bugzilla.redhat.com/show_bug.cgi?id=728303 Conflicts: pki/base/ca/src/com/netscape/ca/CRLIssuingPoint.java
* Added unit tests for pki-util.Endi Sukma Dewata2011-12-193-275/+5
| | | | | | | | | | | New unit tests have been added to test string converters indirectly. This is to allow replacing the converters with charset encoder and decoder without changing the test cases. The TestRunner has been moved into a separate package such that it can be reused by other packages. Ticket #3
* Revert "Formatting"Ade Lee2011-12-08940-64036/+65681
| | | | This reverts commit 32150d3ee32f8ac27118af7c792794b538c78a2f.
* Revert "Indent in conditionals"Ade Lee2011-12-085-7/+7
| | | | This reverts commit 0b5c0e0542354edc8cab4da6a1afa1ff00800c0c.
* Indent in conditionalsAdam Young2011-12-085-7/+7
| | | | | Additional Formatting generated by Eclipse 3.7.1 It provides more detailed control of the indentation which is not provided in the earlier version
* FormattingAde Lee2011-12-07940-65681/+64036
| | | | Formatted project according to eclipse project settings
* 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