summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/system
Commit message (Collapse)AuthorAgeFilesLines
* Resolved Trac Ticket 367 - pkidestroy does not remove connectorticket-367-1Ade Lee2013-01-143-0/+293
| | | | | | | | | | | * Added RESTful servlet to add/remove a KRA connector from the CA. * Modified ACL to allow KRA subsystem user to remove connector. * Modified connector code to allow the connector to be replaced without a server restart. * Added functionality to pki CLI to add/remove connector * Added code to pkidestroy to remove the connector (using both pki CLI and sslget) When the issues with pki connection are resolved, we will use that method instead. * Modified sslget to accept HTTP return codes != 200. In this case, we were returning 204 - which is perfectly legitimate.
* Common admin user: config servlet changesAde Lee2012-12-031-0/+28
| | | | As oer review, changed useCommonAdmin to importAdminCert
* Added ACLInterceptor.Endi Sukma Dewata2012-11-082-0/+12
| | | | | | | | | Previously ACL checking was done in PKIRealm by matching the URL. This code has been replaced by ACLInterceptor which will intercept RESTEasy method invocations. This allows more precise mapping of REST methods to ACL entries in acl.ldif. Ticket #287
* Set paths for default instanceAde Lee2012-11-041-1/+14
| | | | | | | | | | | | | | With this patch, it will be possible to install a default instance simply by adding the passwords in the pkideployment.cfg. This file can then be used without additional alteration to add subsystems to the same instance, by re-running pkispawn against the config file. The patch makes sure that cert nicknames, database and baseDN , admin users and client db are unique per subsystem. An option is added to reuse the existing server cert generated by the first subsystem and copy the required data to all subsystems. Ticket 379, 385
* Added REST interface to get domain info.Endi Sukma Dewata2012-10-267-162/+456
| | | | | | | | The REST interface for security domain has been updated to provide a method to get the domain info. A CLI has been provided to access this method. Ticket #309
* Provide option to install, rather than replicate schema in a cloneAde Lee2012-10-221-0/+14
|
* Added PKIConnection.Endi Sukma Dewata2012-10-181-0/+9
| | | | | | | | | The code in PKIClient has been refactored into PKIConnection such that a single connection object can be used by several REST clients. The PKIClient will remain the base class for all REST clients. Ticket #357
* Enabled authentication for security domain REST interface.Endi Sukma Dewata2012-10-186-112/+84
| | | | | | | | The REST interface for security domain has been refactored and configured such that it requires authentication. A CLI has been added to get an installation token. Ticket #309
* Various fixes to installation servlet and pki-deployAde Lee2012-09-121-0/+42
| | | | | | | Added logging so that we can see what is passed in to server from pkispawn. Fixed incorrect dbuser specification. Added required replication config items to pkispawn. Initial refactoring of construct_pki_configuration_data in pkijython.py
* Moved REST CLI into pki-tools.Endi Sukma Dewata2012-08-292-1/+48
| | | | | | | | | | The pki-client.jar has been split and merged into pki-certsrv.jar and pki-tools.jar. The REST client classes are now packaged in com.netscape.certsrv.<component> packages. The REST CLI classes are now packaged in com.netscape.cmstools.<component> packages. The "pki" script has been moved into pki-tools RPM package. Ticket #215
* Fixed REST common class dependency.Endi Sukma Dewata2012-08-151-17/+0
| | | | | | | | | The ConfigurationResponse previously has a method that uses a class that exists on the server only, creating a dependency issue since the ConfigurationResponse will be used by the client as well. The method now has been moved into a separate factory class. Ticket #259
* Reorganized REST common classes.Endi Sukma Dewata2012-08-1510-0/+1595
The common classes used by REST client and services have been moved into the com.netscape.certsrv.<component> packages. Ticket #215