summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cms/servlet/admin
Commit message (Collapse)AuthorAgeFilesLines
* Removed unnecessary pki folder.Endi Sukma Dewata2012-03-2619-23691/+0
| | | | | | | | | Previously the source code was located inside a pki folder. This folder was created during svn migration and is no longer needed. This folder has now been removed and the contents have been moved up one level. Ticket #131
* Added policy deprecationsAde Lee2012-03-232-2/+3
| | | | | | | | | Many of the policy deprecation warnings come from classes that probably ought to be deprecated as part of the deprecated policy framework as well. Making these as deprecated removes the deprecation warnings - and we can really see where we make sure of deprecated policy code elsewhere. Also removed some URLEncoder, Decoder deprecations
* Removed unused variables (part 2).Endi Sukma Dewata2012-03-237-49/+5
| | | | | | This patch brings down the warnings from 1943 to 1221. Ticket #103
* Fixed IAttrSet.getElements() implementations.Endi Sukma Dewata2012-03-131-4/+4
| | | | | | | | This patch fixes incorrect implementation of getElement() in some subclasses of IAttrSet. The method is supposed return the attribute names as an enumeration of strings. Ticket #42
* Refactored NameValuePairs.Endi Sukma Dewata2012-03-1215-271/+261
| | | | | | | | | 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-5/+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-207-129/+13
| | | | | | This patch brings down the warnings from 2917 to 2406. Ticket #103
* Added generics (part 4).Endi Sukma Dewata2012-02-142-2/+1
| | | | | | This patch brings down the warnings from 3427 to 2917. Ticket #2
* Fix test client errorsAde Lee2012-02-081-1/+5
| | | | | | | Added ClientResponse annotation to SystemCertificateResource. Added Consumes annotation to KeyResource, KeyRequestResource Added checks for empty search results to test client, as well as stripping header, trailer from transport cert.
* New DRM proxy client and testsAde Lee2012-02-082-71/+84
| | | | Added new interfaces for each Resource, and renamed old Resource service classes.
* Added generics (part 3).Endi Sukma Dewata2012-02-063-100/+104
| | | | | | This patch brings down the warnings from 3992 to 3500. Ticket #2
* Change to admin servlet to allow passwords with colons.Ade Lee2012-02-051-2/+2
| | | | Contributed by Josh Roys.
* Added generics (part 2).Endi Sukma Dewata2012-01-187-102/+120
| | | | | | This patch brings down the warnings from 4648 to 3992. Ticket #2
* Added generics (part 1).Endi Sukma Dewata2012-01-184-48/+83
| | | | | | | This patch is based on Adam's patch. It brings down the warnings from 6139 to 4648. Ticket #2
* Added initial code for retrieving transport cert.Ade Lee2012-01-131-0/+88
| | | | | | | | | Resources now extend CMSResource. Addressed following review comments: * check for null pointers in SystemCertificateResource * move logic from CertificatData constructor to CMSServlet builder method * remove unused field uriInfo and replace hard-coded cache constant * fixed some formatting issues
* Formatting (line wrap > 120 in commentsAde Lee2012-01-118-53/+107
|
* Formatting - line wrap > 120 in codeAde Lee2012-01-119-102/+207
|
* Formatting (no line wrap in comments or code)Ade Lee2012-01-1117-3065/+2960
|
* type safety certserv cms and cmscoreAdam Young2012-01-042-36/+48
| | | | Re-added files IPublshRuleSet and ILdapCertMapper
* typesafety db and loggingAdam Young2012-01-041-17/+19
|
* type safety for certserv.baseAdam Young2011-12-222-22/+27
| | | | more type safety
* Unreachable Catch clausesAdam Young2011-12-221-29/+0
| | | | In each of the cases, more specific exceptions would be caught, masking these more generic exception.
* Removal of unused private methodsAdam Young2011-12-207-1114/+1
| | | | | | | | | | | | 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
* Revert "Formatting"Ade Lee2011-12-0817-6281/+7248
| | | | This reverts commit 32150d3ee32f8ac27118af7c792794b538c78a2f.
* FormattingAde Lee2011-12-0717-7248/+6281
| | | | Formatted project according to eclipse project settings
* call statics staticallyAdam Young2011-12-063-39/+39
| | | | | | | 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.
* SerialVersionIDAdam Young2011-12-0216-0/+73
| | | | Autogenerated SerialVersionID for all serializable classes
* Dead code removaladmiyo2011-11-212-107/+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-0417-306/+451
| | | | | | | | | | 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
* Fix bugzilla Bug# 720510 - Console: Adding a certificate into nethsm throws ↵jmagne2011-07-191-11/+33
| | | | | | Token not found error. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2062 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
* Fix Bugzilla Bug#661142 - Verification should fail when a revoked ↵jmagne2011-05-251-1/+6
| | | | | | 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
* Bugzilla BZ695403: Editing signedaudit or transaction, system logs throws ↵vakwetu2011-04-121-26/+28
| | | | | | 'Invalid protocol' for OCSP subsystems git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1956 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #642741 - CS build uses deprecated functionsmharmsen2011-01-131-2/+3
| | | | | | | | - removed references to "sun.misc.BASE64Encoder" - removed references to "sun.misc.BASE64Decoder" git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1731 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fix Bugzilla Bug 663546 - Disable the functionalities that are not exposed ↵jmagne2011-01-061-2/+8
| | | | | | in the console git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1706 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #491183.awnuk2011-01-051-3/+10
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1688 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fix update for bugzilla bub #649343.awnuk2010-12-231-0/+12
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1665 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug 491183 - rhcs rfe - add rfc 4523 support for pkiUser and pkiCA, ↵vakwetu2010-12-221-0/+128
| | | | | | obsolete 2252 and 2256 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1663 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bug 663546 - Disable the functionalities that are not exposed in the consolecfu2010-12-171-1/+2
| | | | | | | - 1st patch: disable expirationTime config capability git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1643 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fix Bugzilla Bug 649910 - Console: an auditor or agent can be added to an ↵jmagne2010-11-191-1/+3
| | | | | | administrator group. Minor config addition. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1528 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fix Bugzilla Bug 649910 - Console: an auditor or agent can be added to an ↵jmagne2010-11-191-18/+47
| | | | | | administrator group. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1526 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bug 653713 - CC: setting trust on a CIMC cert requires auditingcfu2010-11-161-1/+28
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1505 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bug 642359 - CC Feature - need to verify certificate when it is addedcfu2010-11-161-0/+24
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1503 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug 451874 - RFE - Java console - Certificate Wizard missing e.c. ↵vakwetu2010-11-041-10/+85
| | | | | | support git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1473 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Fixed bugzilla bug #516632.awnuk2010-11-011-0/+48
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1451 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug 607380 - CC: Make sure Java Console can configure all security ↵vakwetu2010-09-152-0/+122
| | | | | | relevant config items git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1295 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #224945 - javadocs has missing descriptions, contains empty ↵mharmsen2010-08-1817-17/+17
| | | | | | packages (applied 'svn:keywords' per attachment 439032). git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1211 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bug 583822 - CC: ACL issues from CA interface CC doc reviewcfu2010-08-122-0/+11
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1173 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla Bug #472597 - Disable policy code,UImharmsen2010-07-291-1/+84
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1138 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Bugzilla BZ 547471: Apply PKI SELinux changes to PKI registry modelalee2009-12-181-0/+5
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@894 c9f7a03b-bd48-0410-a16d-cbbf54688b0b