summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cms/servlet/request
Commit message (Collapse)AuthorAgeFilesLines
* Ticket 191 - Mapping HTTP Exception to their proper HTTP error codesAbhishek Koneru2013-01-042-26/+26
|
* number verificationAndrew Wnuk2012-12-061-1/+1
| | | | | | This patch improves number verification. Bug 864397.
* Added ACLInterceptor.Endi Sukma Dewata2012-11-081-5/+10
| | | | | | | | | 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
* Enabled authentication for key services.Endi Sukma Dewata2012-10-292-17/+17
| | | | | | | | The web.xml in KRA has been modified to enable the authentication for key and key request services. Some tools have been added to access the services via command-line. Ticket #376
* Reorganized REST common classes.Endi Sukma Dewata2012-08-1518-1738/+18
| | | | | | | The common classes used by REST client and services have been moved into the com.netscape.certsrv.<component> packages. Ticket #215
* Reorganized REST server classes.Endi Sukma Dewata2012-08-158-794/+8
| | | | | | | The factory and DAO classes used by REST services have been moved into the com.netscape.cms.servlet.<component> packages. Ticket #215
* Cleaned up REST common class names.Endi Sukma Dewata2012-08-1515-91/+91
| | | | | | | The REST common classes have been renamed for better clarity and consistency. Ticket #259
* Cleaned up REST server class names.Endi Sukma Dewata2012-08-155-7/+7
| | | | | | | The REST server classes have been renamed for better clarity and consistency. Ticket #259
* Moved REST services into separate URLs.Endi Sukma Dewata2012-08-032-27/+29
| | | | | | | | | | | To support different access control configurations the REST services have been separated by roles. Services that don't need authentication will be available under /rest. Services that require agent rights will be available under /rest/agent. Services that require admin rights will be available under /rest/admin. Ticket #107
* Cert CLI - cert-request-review and cert-request-approve implementationsAbhishek Koneru2012-07-302-3/+2
|
* Merge most DAO objects into the ResourceService filesAde Lee2012-07-251-16/+14
|
* Use only pluralized REST interface URLsAde Lee2012-07-248-271/+161
|
* Added cert revocation REST service.Endi Sukma Dewata2012-07-115-46/+53
| | | | | | | The cert revocation REST service is based on DoRevoke and DoUnrevoke servlets. It provides an interface to manage certificate revocation. Ticket #161
* Refactored RequestStatus.Endi Sukma Dewata2012-07-101-2/+2
| | | | | | | | | 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
* Adding restful interface to create certificate requests and issue certificates.Ade Lee2012-07-0310-116/+931
| | | | | | | | | | 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.
* Provide CA EE Restful interface and test client.Jack Magne2012-05-0716-170/+1386
| | | | | | | | | | | | | | | | | | 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.
* Removed unused private fields.Endi Sukma Dewata2012-04-126-50/+3
| | | | | | | Most of unused private fields have been removed because they generate warnings in Eclipse. Some are kept because it might be useful later. Ticket #139
* Removed unnecessary type casts.Endi Sukma Dewata2012-04-094-16/+14
| | | | | | Unnecessary type casts have been removed using Eclipse Quick Fix. Ticket #134
* Removed whitespaces from Java code.Endi Sukma Dewata2012-04-0913-97/+97
| | | | | | | | Whitespaces in Java code have been removed with the following command: find . -not -path .git -name *.java -exec sed -i 's/[[:blank:]]\+$//' {} \; Ticket #134
* Added CMSException.Endi Sukma Dewata2012-03-303-19/+57
| | | | | | | | | | The CMSException was added to simplify error handling in REST services. The exception may include an error message and some other attributes. When the server throws a CMSException (or its subclass), the exception will be marshalled into XML and unmarshalled by the client, then thrown again as a new exception which can be caught by the application. Ticket #100
* Replaced deprecated AlgorithmId.getAlgorithmId().Endi Sukma Dewata2012-03-281-26/+25
| | | | | | | The deprecated getAlgorithmId() method in AlgorithmId has been replaced with get(). Ticket #3
* Removed unnecessary pki folder.Endi Sukma Dewata2012-03-2618-0/+6091
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