summaryrefslogtreecommitdiffstats
path: root/base/common/src/com
Commit message (Collapse)AuthorAgeFilesLines
...
* 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).
* 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
* 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
* 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 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.
* Updated ACL and auth method mapping names.Endi S. Dewata2013-11-159-43/+43
| | | | | The ACL and auth method mapping names in some resources have been modified to be more consistent with those in other resources.
* Added ACL for TPS selftests.Endi S. Dewata2013-11-141-0/+6
| | | | | | | New ACL has been added to allow only the administrators to access TPS selftests. Ticket #652
* Added ACL for TPS connections.Endi S. Dewata2013-11-141-0/+8
| | | | | | | New ACL has been added to allow only the administrators to access TPS connections. Ticket #652
* Added ACL for TPS configuration.Endi S. Dewata2013-11-141-0/+6
| | | | | | | New ACL has been added to allow only the administrators to access TPS configuration. Ticket #652
* Added ACL for TPS authenticators.Endi S. Dewata2013-11-141-0/+8
| | | | | | | | | | New ACL has been added to allow only the administrators to access TPS authenticators. The set of interceptors in each application has been modified to preserve the order. Ticket #652
* Added paging on all find commands.Endi S. Dewata2013-11-1417-424/+84
| | | | | | The find commands in some REST services have been modified to support paging to be consistent with others. The other find commands have been cleaned up as well.
* Fixed find commands.Endi S. Dewata2013-11-088-151/+36
| | | | | | | | | | | Some of the REST services have been fixed to consistently return a DataCollection which contains the total count, the requested subset of results, and links to request other subsets of the results. The TPSConnectorFindCLI has been split into separate find and show commands. Ticket #749
* Fixed return code for user and group services.Endi S. Dewata2013-11-073-18/+10
| | | | | | | | | The user and group services have been modified to return consistent HTTP return codes under various situations. The UGSubsystem has been modified to capture any LDAP exceptions and throw the proper PKIException subclass that represents the appropriate HTTP error code for the situation. Ticket #669, #749
* Added checks for CertRequest and Cert ResourcesAde Lee2013-11-071-15/+15
| | | | Ticket 749
* Fix KeyRequest and Key Resources to return correct exit codesAde Lee2013-11-062-8/+19
| | | | Also added some missing checks, and some missing options in the Key Request CLI
* Modify profile resource to return correct response for create or modify opAde Lee2013-11-063-6/+35
| | | | Ticket 749
* Added TPS profile resource.Endi S. Dewata2013-11-045-0/+438
| | | | | | | A new REST service and clients have been added to manage the profiles in the TPS configuration file. Ticket #652