summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactored DoRevoke and DoUnrevoke servlets.Endi Sukma Dewata2012-07-112-808/+253
| | | | | | | The DoRevoke and DoUnrevoke servlets have been refactored to use the RevocationProcessor. Ticket #161
* Added cert revocation CLI.Endi Sukma Dewata2012-07-1113-3/+812
| | | | | | The cert revocation CLI provides a tool to revoke and unrevoke certificates. Ticket #161
* Added cert revocation REST service.Endi Sukma Dewata2012-07-1140-336/+1846
| | | | | | | The cert revocation REST service is based on DoRevoke and DoUnrevoke servlets. It provides an interface to manage certificate revocation. Ticket #161
* Added CMSExceptionMapper class to the Application classesAde Lee2012-07-104-0/+17
|
* Add Application files to list REST resourcesAde Lee2012-07-108-4/+226
|
* Refactored RequestStatus.Endi Sukma Dewata2012-07-1010-175/+179
| | | | | | | | | The RequestStatus has been modified to use a map to convert string into RequestStatus instance. The string constants in RequestStatus are no longer needed because instances can be compared using equal sign directly or equals(). Ticket #161
* SE_BAD_FIELD, MIGHT_IGNORE , STATIC_INNER_CLASSAbhishek Koneru2012-07-1034-133/+158
|
* CMC revocationAndrew Wnuk2012-07-101-9/+27
| | | | | | This patch provides verification of revocation reasons and proper handling for removeFromCRLrevocation reason. Bug: 441354.
* Coverity CATCH_REXCEPTION and UNREAD_FIELD_CASESAbhishek Koneru2012-07-0620-799/+756
|
* Adding restful interface to create certificate requests and issue certificates.Ade Lee2012-07-0343-2413/+4811
| | | | | | | | | | Refactored ProfileSubmitServlet to make the flow clearer. Both the legacy servlets and the new RESTful servlets use common ProfileProcessor objects that contain the main business logic, so that the amount of duplicated code is minimized. Refactored ProfileProcessServlet to use the new common classes. Addressed review comments. Removed an unneeded class and reverted some unneeded jaxb annotations. Added factory methods.
* LeftOver Cases in Resource Leaks and NULL_RETURNSAbhishek Koneru2012-07-0210-53/+102
|
* Fixes for Guarded_By_Violation issues shown in CoverityAbhishek Koneru2012-07-0216-30/+42
|
* Fix for handling null object value passed to DBAttrMapper as part of ↵Abhishek Koneru2012-06-2918-60/+116
| | | | Coverity fix for Forward NULL cases in DogTag 10.
* Fixes for Forward Null Cases in Coverity for DogTag10Abhishek Koneru2012-06-2913-122/+121
| | | | Addressed review coments.
* Added REST error handler.Endi Sukma Dewata2012-06-274-7/+29
| | | | | | | A new getEntity() method has been added to obtain the entity from a Response object and also map HTTP errors into exceptions. Ticket #161
* Fixed problem removing user certificate.Endi Sukma Dewata2012-06-271-45/+59
| | | | | | | | | | Generally the user LDAP entry does not contain a seeAlso attribute unless it's a special database user. The UGSubsystem.removeUserCert() would fail because it tried to remove the seeAlso attribute. Now the code has been fixed to remove the seeAlso using a separate modify operation and ignore the error if it fails due to missing attribute. Ticket #182
* Fixes for Coverity issues of type Resource Leaks - RemainingAbhishek Koneru2012-06-2524-285/+537
|
* Fixes for Resource Leaks shown in Coverity for DogTag 10Abhishek Koneru2012-06-2113-228/+571
|
* Fixed equals() and hashCode() in X500Name and RDN.Endi Sukma Dewata2012-06-212-30/+34
| | | | | | | The X500Name and RDN have been modified to fix the incorrect method signature for equals() and the missing hashCode(). Ticket #206
* Fixes for Coverity Issues of type Null Returns - Part 3Abhishek Koneru2012-06-206-22/+57
|
* Fixed null pointer exception in pkisilent on connection error.Endi Sukma Dewata2012-06-187-153/+175
| | | | | | | | | Previously HTTPClient.sslConnect() would return a null if there is a connection issue. Some code in pkisilent did not check the return value properly so it would throw an exception. The sslConnect() has been modified to throw an exception instead. Ticket #180
* Fixes for Coverity issues of type Stringbuffer, NO_EQUALS_METHOD , ↵Abhishek Koneru2012-06-1520-80/+374
| | | | REVERSE_INULL,Wrong_Map_Iterators
* Fixes for NULL_RETURNS Coverity Issues - Part 2Abhishek Koneru2012-06-1430-113/+143
|
* Minor Fix In a CertificateInfo classAbhishek Koneru2012-06-051-2/+2
|
* Fixes for NULL_RETURN cases review commentsAbhishek Koneru2012-06-055-46/+40
|
* Fixes for Null_Returns Cases - 1 For CommitAbhishek Koneru2012-06-0519-132/+167
|
* Patch with fixes for review comments 0529Abhishek Koneru2012-06-015-8/+7
|
* Fixes for Coverity Issues CALL_SUPER,UNCONFIRMEDCAST,DEAD_STORE,TOSTRING_ARRAYAbhishek Koneru2012-06-0122-23/+38
|
* Added group CLI.Endi Sukma Dewata2012-05-3113-0/+857
| | | | | | | This patch provides a tool to manage groups and group members via command line. Ticket #160
* Added group REST service.Endi Sukma Dewata2012-05-3112-0/+1223
| | | | | | | The group REST service is based on UsrGrpAdminServlet. It provides an interface to manage groups and group members. Ticket #160
* Added user CLI.Endi Sukma Dewata2012-05-3120-22/+1547
| | | | | | The user CLI provides a tool to manage users and user certificates. Ticket #160
* Added user REST service.Endi Sukma Dewata2012-05-3115-5/+1858
| | | | | | | The user REST service is based on UsrGrpAdminServlet. It provides an interface to manage users and user certificates. Ticket #160
* PerLDAP workaroundAndrew Wnuk2012-05-301-3/+2
| | | | | | | Ticket #373 This fix just appends a dummy value to the array, which consumes the error 53. Patch provided by mreynolds.
* Refactored AdminServlet.Endi Sukma Dewata2012-05-291-172/+24
| | | | | | The AdminServlet has been modified to use the new Auditor service. Ticket #160
* Added Auditor service.Endi Sukma Dewata2012-05-297-0/+325
| | | | | | | | | A new Auditor service has been added to replace the audit service that was previously only available to subclasses of AdminServlet. The new service can be used by other components including REST services. The AdminServlet will be modified to use the Auditor service separately. Ticket #160
* Bug 823618 - TPS installation wizard (ECC): admin certificate panel needs to ↵Christina Fu2012-05-271-1/+11
| | | | | | support ECC This patch allows TPS administrators to enroll for EC cert during installation wizard. It follows the same implementation as the Java subsystems and defaults to nistp256
* PKI Deployment ScriptletsMatthew Harmsen2012-05-2548-341/+2836
| | | | | | | * Integration of Tomcat 7 * Addition of centralized 'pki-tomcatd' systemd functionality to the PKI Deployment strategy * Removal of 'pki_flavor' attribute
* Patch for fixes for Review CommentsAbhishek Koneru2012-05-2434-116/+84
|
* Fixes for Coverity Defects of Category : ↵Abhishek Koneru2012-05-2416-94/+103
| | | | FB.SBSC_USE_STRINGBUFFER_CONCATENATION --Remaining
* Fixes for Coverity Defects of Category : FB.SBSC_USE_STRINGBUFFER_CONCATENATIONAbhishek Koneru2012-05-2433-305/+308
|
* Fixes for Coverity Defects of Category : FB.DM_NUMBER_CTOR, ↵Abhishek Koneru2012-05-2419-62/+51
| | | | FB.DM_STRING_CTOR, FB.DM_STRING_VOID_CTOR
* Fixes for Coverity Defects of Category : FB.DM_BOOLEAN_CTORAbhishek Koneru2012-05-2423-74/+69
|
* Fixes for Coverity Defects of Category : FB.BC_VACUOUS_INSTANCEOFAbhishek Koneru2012-05-247-30/+19
|
* Added script to link JSS library.Endi Sukma Dewata2012-05-242-1/+56
| | | | | | | | | | The JSS library uses different paths on 32-bit and 64-bit platforms. A script has been added to create a symbolic link such that Eclipse can use the library without changing the classpath file. The script could be extended further to simplify setting up the development environment such as installing the dependencies. Ticket #171
* PKI Deployment ScriptletsMatthew Harmsen2012-05-1821-472/+930
| | | | | | | | | | | | | | | | | * Introduced concept of "admin-domain" originally as a separate folder, and later incorporated this concept into an optional instance prefix * Revised definition of <pki_instance_id> to be identified as "[<pki_admin_domain_name>-]<pki_instance_name> * Changed NSS security database model from one shared database by BOTH a single Tomcat AND single Apache instance into one per Tomcat instance (shared by CA/KRA/OCSP/TKS) and one per Apache instance (shared by RA/TPS) * Altered Configuration 'scriptlet' to invoke Jython for access to new Java configuration servlet * Renamed various "scriptlets" to comply with this new layout * Re-aligned code to account for revised layout documented at http://pki.fedoraproject.org/wiki/PKI_Instance_Deployment
* Fixed missing httpcore.jar.Endi Sukma Dewata2012-05-141-1/+8
| | | | | The base/common/src/CMakeLists.txt has been fixed to include httpcore.jar in the class path.
* Provide CA EE Restful interface and test client.Jack Magne2012-05-0750-349/+4959
| | | | | | | | | | | | | | | | | | Tickets #144 and #145 Providing the following: 1. Simple EE restful interface for certificates, printing, listing and searching. 2. Simple EE restful interface for certificate enrollment requests. 3. Simple EE restful interface for profiles and profile properties. 4. Simple Test client to exercise the functionality. 5. Created restful client base class inherited by CARestClient and DRMRestClient. 6. Provide simple restful implementations of new interfaces added. ToDO: Need some more refactoring to base classes for some of the new classes which are similar to classes in the DRM restful area. ToDO: Actual certificate enrollment code that will be refactored from existing ProfileSubmitServlet. Provide CA EE Restful interface and test client review fixes.
* PKI Deployment ScriptletsMatthew Harmsen2012-05-0726-396/+2159
| | | | | | | | | | | | | | | * Re-aligned code to account for revised layout documented at http://pki.fedoraproject.org/wiki/PKI_Instance_Deployment * Massaged logic to comply with PKI subsystem running within a shared instance * Developed code to take advantage of a single shared NSS security database model * Completed the following two 'scriptlets': * Dogtag 10: Python 'slot_assignment.py' Installation Scriptlet (https://fedorahosted.org/pki/ticket/146) * Dogtag 10: Python 'security_databases.py' Installation Scriptlet (https://fedorahosted.org/pki/ticket/136) * Created several additional PKI deployment helper utilities.
* BZ 819111 - non existent container ou=cmsusers breaks replicationAde Lee2012-05-071-1/+21
| | | | Added code to create container on master if it does not exist.
* JNDI realm enhancement to handle multiple entry ACLs.Jack Magne2012-05-042-4/+11
| | | | | | Currently the realm only returns the last acl result in a multiple entry ACL. Since most of them only have one entry, this is mistly ok. This simple fix allows the code to handle multiple entries correctly. Ticket #123.