summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cmscore/security
Commit message (Collapse)AuthorAgeFilesLines
* Refactored NameValuePairs.Endi Sukma Dewata2012-03-121-20/+15
| | | | | | | | | The NameValuePairs class has been modified to extend the Linked- HashMap which preserves the order of elements as in the original code. Some methods are renamed to match Java Map interface. The NameValuePair class is no longer needed and has been removed. Ticket #78
* Consolidated BtoA/AtoB invocations.Endi Sukma Dewata2012-02-233-6/+8
| | | | | | | | The OSUtil's BtoA() and AtoB() have been replaced with wrapper methods in com.netscape.cmsutil.util.Utils to simplify transition into Base64 codec from Apache Commons library. Ticket #90
* Removed unused variables (part 1).Endi Sukma Dewata2012-02-204-20/+7
| | | | | | This patch brings down the warnings from 2917 to 2406. Ticket #103
* Added generics (part 4).Endi Sukma Dewata2012-02-142-8/+3
| | | | | | This patch brings down the warnings from 3427 to 2917. Ticket #2
* Added generics (part 2).Endi Sukma Dewata2012-01-181-12/+12
| | | | | | This patch brings down the warnings from 4648 to 3992. Ticket #2
* Added generics (part 1).Endi Sukma Dewata2012-01-182-25/+32
| | | | | | | This patch is based on Adam's patch. It brings down the warnings from 6139 to 4648. Ticket #2
* Formatting - line wrap > 120 in codeAde Lee2012-01-111-1/+2
|
* Formatting (no line wrap in comments or code)Ade Lee2012-01-1114-604/+560
|
* Unreachable Catch clausesAdam Young2011-12-221-3/+0
| | | | In each of the cases, more specific exceptions would be caught, masking these more generic exception.
* Revert "Formatting"Ade Lee2011-12-0814-1691/+1352
| | | | This reverts commit 32150d3ee32f8ac27118af7c792794b538c78a2f.
* FormattingAde Lee2011-12-0714-1352/+1691
| | | | Formatted project according to eclipse project settings
* Remove Deprecated Date FunctionsAdam Young2011-12-061-3/+7
| | | | | | Fixed error in parsing for stringToDate https://fedorahosted.org/pki/ticket/3
* Revert "Remove Deprecated Date Functions"Adam Young2011-12-021-7/+3
| | | | | | This reverts commit d7d71804b885118e74928e413a8e7fb91b78706c. It was commited by mistake. It changes the Certificate Geenrate code, and requires a unit test
* SerialVersionIDAdam Young2011-12-021-0/+5
| | | | Autogenerated SerialVersionID for all serializable classes
* Remove Deprecated Date FunctionsAdam Young2011-12-021-3/+7
| | | | https://fedorahosted.org/pki/ticket/3
* Dead code removaladmiyo2011-11-211-2/+0
| | | | | | | | 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-0412-220/+305
| | | | | | | | | | 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
* 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
* Fix bugzilla Bug# 720510 - Console: Adding a certificate into nethsm throws ↵jmagne2011-07-191-1/+6
| | | | | | Token not found error. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2062 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bug 651977 - turn off ssl2 for java servers (server.xml) - patch 2cfu2010-11-221-0/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1583 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug 451874 - RFE - Java console - Certificate Wizard missing e.c. ↵vakwetu2010-11-042-0/+86
| | | | | | support git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1473 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Related: bug #632425jdennis2010-09-101-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix password & CryptoManger initialization These are a couple of simple issues which I discovered during the tomcat porting. Since they are mostly independent of the tomcat changes I'd like to keep them separate and get them in first. The changes are: 1) Make CMSEngine.getPasswordStore() a synchronized method. During testing I had discovered two threads were both calling this method at essentially the same time trashing the state which lead to password failures. 2) Remove redundant duplicated code for initializing the password store, now CMSEngine.getPasswordStore() is the sole owner of the logic to perform this action. 3) Initialize CryptoManager before first use. We had been relying on a side effect in tomcat 5 for CryptoManager initialization where tomcatjss was doing the CryptoManager initialization prior to our first use of the CryptoManager. Tomcat 6 has modified when the connection objects first get created (which was what was kicking off the CryptoManager initialization). The patch adds the same code for initializing the CryptoManger as is in tomcatjss. We now check for CryptoManager initialization *prior* to our first use of it and if and only if it hasn't been initialized yet we do so. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1279 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #224945 - javadocs has missing descriptions, contains empty ↵mharmsen2010-08-1812-12/+12
| | | | | | packages (applied 'svn:keywords' per attachment 439032). git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1211 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #493765awnuk2010-04-221-1/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1059 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #493765awnuk2010-04-221-1/+5
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1056 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #493765awnuk2010-04-221-1/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1055 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #493765awnuk2010-04-221-1/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1054 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #493765awnuk2010-04-221-0/+26
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1053 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #443120.awnuk2009-04-171-0/+5
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@399 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #467155 - Change "renameTo" to "cp -p ".mharmsen2009-02-121-11/+29
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@225 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fix for Bug#481437, port separation.jmagne2009-01-241-1/+6
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@191 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Initial open source version based upon proprietary Red Hat Certificate ↵PKI Team2008-03-1814-0/+5285
System (RHCS) 7.3. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2 c9f7a03b-bd48-0410-a16d-cbbf54688b0b