summaryrefslogtreecommitdiffstats
path: root/base/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial work on python APIAde Lee2014-02-194-5/+1086
| | | | | | | | This patch includes code for most of the python client library for the KeyResource and KeyRequestResource for the DRM. Some place holder code has been added for the CertResource, but this needs to be further refined and tested.
* Fix eclipse warnings.Ade Lee2014-02-191-5/+0
|
* Updated REST interface for TPS tokens.Endi S. Dewata2014-02-182-6/+12
| | | | | | | The REST interface for TPS tokens has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for TPS profile mappings.Endi S. Dewata2014-02-182-6/+12
| | | | | | | The REST interface for TPS profile mappings has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for TPS profiles.Endi S. Dewata2014-02-182-6/+12
| | | | | | | The REST interface for TPS profiles has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for TPS connections.Endi S. Dewata2014-02-182-6/+12
| | | | | | | The REST interface for TPS connections has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for TPS configuration.Endi S. Dewata2014-02-182-2/+4
| | | | | | | The REST interface for TPS configuration has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for TPS certificates.Endi S. Dewata2014-02-182-4/+13
| | | | | | | The REST interface for TPS certificates has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for TPS authenticators.Endi S. Dewata2014-02-182-6/+12
| | | | | | | The REST interface for TPS authenticators has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for TPS activities.Endi S. Dewata2014-02-182-4/+13
| | | | | | | The REST interface for TPS activities has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for TPS connectors.Endi S. Dewata2014-02-182-19/+36
| | | | | | | The REST interface for TPS connectors has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for self tests.Endi S. Dewata2014-02-182-6/+17
| | | | | | | The REST interface for self tests has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for audit.Endi S. Dewata2014-02-182-2/+4
| | | | | | | The REST interface for audit has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for account.Endi S. Dewata2014-02-182-7/+16
| | | | | | | The REST interface for account has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for groups.Endi S. Dewata2014-02-182-12/+24
| | | | | | | The REST interface for groups has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for certificate requests.Endi S. Dewata2014-02-182-29/+57
| | | | | | | The REST interface for certificate requests has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for certificates.Endi S. Dewata2014-02-182-14/+33
| | | | | | | The REST interface for certificates has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Updated REST interface for users.Endi S. Dewata2014-02-182-16/+32
| | | | | | | | | | The REST interface for users has been modified to return Response objects to allow better handling of server responses. Other REST interfaces will be modified in subsequent patches. Once all interfaces are updated, the client library can be updated to use RESTEasy 3.0 API. Clients using the client library or XML/JSON directly are not affected by these changes. Ticket #554
* Removed hard-coded response type.Endi S. Dewata2014-02-101-3/+6
| | | | | | | | Previously some methods were hard-coded to return XML responses. The code has been removed to allow clients to request a different format. Ticket #554
* Replaced deprecated ClientResponse class.Endi S. Dewata2014-02-1015-126/+85
| | | | | | | The ClientResponse class has been deprecated in RESTEasy 3.0, so most of the code using the class has been modified to use the Response class instead. There are a few remaining references to ClientResponse. They will be removed separately later.
* Fix minor issues from review.Ade Lee2014-02-105-26/+26
| | | | | | 1. Use size/keySize consistently, instead of strength. 2. Change to using Integer instead of int in SymKeyGenerationRequest. 3. Fix error message.
* Change the return type for KeyRequest creation operationsAde Lee2014-02-104-12/+60
| | | | | | We will likely want to extend the REST API to allow the immediate return of a generated key, and perhaps of a recovered key in a single step. This change allows us to do that.
* Add strength and algorithm to KeyData and KeyInfo classesAde Lee2014-02-102-5/+39
| | | | | | Make sure these are updated so that clients can get this information when accessing a symmetric key. Also allow a default for generation requests (but not for archival requests).
* Replaced Jettison with Jackson.Endi S. Dewata2014-02-061-5/+4
| | | | | | | | | The Jettison library has been replaced with Jackson library as JSON provider for RESTEasy. All class paths and the deployment tools have been updated accordingly. The Python library and the TPS UI have been updated as well to use the new JSON format. Ticket #817
* Fix DRM archival, recovery and generation for non-DES3 keys.Ade Lee2014-02-046-12/+53
| | | | | | | | | | | In the archival, recovery and generation code for symmetric keys, we use functions that require knowledge of the symmetric keys algorithm and key size. These were hardcoded to DES3, and so only DES3 worked. We added those parameters to the archival request, save them in the KeyRecord and retrive them when recovering the key. Tests have been added to DRMTest for the relevant usages.
* Address review commentsAde Lee2014-02-0415-141/+117
| | | | | | | | | 1. Remove Link attribute from ResourceMessage, 2. Rename KeyDataInfo and KeyDataInfoCollection. 3. Move KEYGEN_ALGORITHMS 4. Fix missing space in PKIException 5. Move properties to attributes in ResourceMessage 6. Add missing code to update the request and set IRequest.RESULT
* Rename KeyRequest to ResourceMessageAde Lee2014-02-0414-152/+109
| | | | | | Refactor ResourceMessage to include classname instead of Request Type. Also changed PKIException.Data to extend ResourceMessage. Modifications to the server code to get the tests working.
* Added more client code for DRM testsAde Lee2014-02-044-15/+68
|
* Rename KeyDataInfos and KeyrequestInfosAde Lee2014-02-046-16/+16
|
* Added SymKeyGen serviceAde Lee2014-02-042-9/+76
|
* Remove old recovery and archival methodsAde Lee2014-02-041-31/+0
|
* Add new POST endpoint for creating requestsAde Lee2014-02-046-11/+123
|
* Use a generic request objectAde Lee2014-02-044-86/+274
| | | | | Refactored KeyRequest API to use requests containing a generic request object.
* Fixed TPS resource statuses.Endi S. Dewata2014-01-307-10/+57
| | | | | | | | TPS resources that are stored in CS.cfg have been refactored to update their statuses properly. These resources include profiles, profile mappings, connections, and authenticators. Ticket #654
* Added dialog for adding TPS tokens.Endi S. Dewata2014-01-281-0/+52
| | | | | | | | A new dialog box has been added for adding TPS token. A separate token ID attribute has been added to the REST service as required by Backbone. Ticket #654
* External Registration feature merge (excluding TPS portion due to current ↵Christina Fu2014-01-231-0/+1
| | | | | | TPS-rewrite effort): http://pki.fedoraproject.org/wiki/TPS_-_New_Recovery_Option:_External_Registration_DS
* Debian: add init script functionalityAde Lee2014-01-081-0/+5
| | | | | | | | | | | | | | | The addtions in this patch will add start/stop/restart/status functionality to operations, so that Debian systems can perform these operations by calling these functions from an init script. We also introduce a parameter in the configuration scripts that can be used to determine if the system is a debian system. This parameter is used to specify a system V init script instead of a systemd script on a debian system, when the configuration scriptlets start and stop a system. Also source apparently does not work by default in debian. Used dot (.) instead.
* Added dialog for adding TPS groups.Endi S. Dewata2013-12-161-0/+23
| | | | | | | | A new dialog box has been added for adding TPS groups. A separate group ID attribute has been added to the REST service as required by Backbone. Ticket #654
* Added dialog for adding TPS users.Endi S. Dewata2013-12-161-0/+22
| | | | | | | | | A new dialog box has been added for adding TPS users. Backbone requires that a separate attribute is used to specify the user ID (instead of id) when creating new users, so a new userID field has been added to the backend service as well. Ticket #654
* Using PATCH method for modify operations.Endi S. Dewata2013-12-166-158/+52
| | | | | | | | | | Some modify operations have been modified to use HTTP PATCH method since the request only contains changes to the resource, not the entire resource. To replace the entire resource, separate replace operations using HTTP PUT method will be used instead. The Backbone library is using the same convention by default. Ticket #654
* Moved web application context file.Endi S. Dewata2013-12-163-0/+23
| | | | | | | | | | | | | | The location of web application context file has been changed from <instance>/webapps/<name>/META-INF/context.xml into <instance>/conf/Catalina/localhost/<name>.xml. This will eventually allow deploying the web application directly from the shared folder. A new upgrade script has been added to move the context files in the existing instances. Ticket #499
* Added TPS UI skeleton.Endi S. Dewata2013-12-061-1/+1
| | | | | | | An inititial implementation of TPS UI has been added. The UI will display TPS resources as tables. Ticket #654
* Added Backbone library.Endi S. Dewata2013-12-051-0/+26
| | | | | | | The Backbone library and its dependency (Underscore) have been added to the common web application. Ticket #654
* Updated jQuery library.Endi S. Dewata2013-12-051-5/+4
| | | | | | | The jQuery library its internationalization plugin have been replaced with the development version. Ticket #654
* Moved cmsbundle into server folder.Endi S. Dewata2013-12-054-3705/+0
| | | | | The pki-cmsbundle.jar is distributed in pki-server package so the files have been moved into the base/server folder.
* Replaced auth.properties with acl.properties.Endi S. Dewata2013-11-202-0/+8
| | | | | | | | | | | | | | The ACL mapping files have been renamed from auth.properties to acl.properties to match the actual content and moved into the subsystem conf folder. The authentication method mapping files have been extracted from the interceptor into actual files. The ACLInterceptor and AuthMethodInterceptors have been modified to read the default mapping first, then overwrite it with custom mapping if it exists in the subsystem folder. The UpdateAuthzProperties upgrade script has been replaced with RemoveAuthProperties that will remove the old auth.properties.
* Added ACL for TPS profile mapping.Endi S. Dewata2013-11-191-0/+8
| | | | | | | New ACL has been added to allow only the administrators to access TPS profile mappings. Ticket #652
* REST interface extensionAndrew Wnuk2013-11-183-0/+71
| | | | | | This patch provides REST interface extension allowing recovery of asymmetric keys. Ticket #439.
* Fixed problem with key-find.Endi S. Dewata2013-11-152-2/+2
| | | | | | The key-find command did not return any results due to recent changes. The method name in KeyDataInfos has been fixed such that XML mapping would work properly.
* Added client-init command.Endi S. Dewata2013-11-152-4/+1
| | | | | A new CLI command has been added to simplify the creation of client certificate database.