summaryrefslogtreecommitdiffstats
path: root/base
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated REST interface for self tests.Endi S. Dewata2014-02-183-11/+25
| | | | | | | 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-183-7/+7
| | | | | | | 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-183-10/+24
| | | | | | | 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-183-31/+45
| | | | | | | 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-184-51/+87
| | | | | | | 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-183-32/+55
| | | | | | | 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-184-52/+91
| | | | | | | | | | 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
* Fixed problem refreshing table after add.Endi S. Dewata2014-02-131-31/+40
| | | | | | | | | | Previously the tables in TPS UI did not refresh properly after adding a new entry. The code has been fixed to reset the collection object to store the newly fetched entries and close the dialog after the add operation is done. The success and error handlers for add and save operations have been reorganized. Ticket #654
* Fixed pagination in TPS UI.Endi S. Dewata2014-02-1210-11/+11
| | | | | | | | The pagination in TPS UI no longer worked due to Jackson change. The Collection class has been fixed to read the correct attribute names for pagination links. The table size has been changed to 5 rows. Ticket #654
* Improved TPS UI page loading.Endi S. Dewata2014-02-1120-305/+233
| | | | | | | | | Previously the TPS UI would reload the JS libraries and CSS files every time a page is opened. The pages have been simplified such that it will only contain the necessary elements of the page. A new Page class has been added to the framework to define page initialization. Ticket #654
* Removed hard-coded response type.Endi S. Dewata2014-02-1014-49/+7
| | | | | | | | 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-109-45/+49
| | | | | | 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-107-68/+141
| | | | | | 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-106-16/+81
| | | | | | 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).
* Added upgrade script to replace Jettison with Jackson.Endi S. Dewata2014-02-061-0/+136
| | | | | | | A new upgrade script has been added to replace Jettison links with Jackson links in Tomcat's common library. Ticket #817
* Replaced Jettison with Jackson.Endi S. Dewata2014-02-0615-182/+307
| | | | | | | | | 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
* Fixed template deployment.Endi S. Dewata2014-02-061-0/+16
| | | | | | The deployment scriptlet has been fixed to copy the templates to the subsystem web application. This functionality was incorrectly removed in a previous revision (5952a82975063c4ec27303091a44e586d1386933).
* Fix DRM archival, recovery and generation for non-DES3 keys.Ade Lee2014-02-0413-32/+200
| | | | | | | | | | | 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.
* Added TPS UI navigation.Endi S. Dewata2014-02-0411-44/+122
| | | | | | | | A navigation bar has been added to the top of the UI. When a navigation link is clicked, the target page will be loaded into the content area in the same page. Ticket #654
* Added RCUE files.Endi S. Dewata2014-02-0415-14/+11128
| | | | | | | New CSS, JavaScript, and font files have been added from RCUE to provide standardized look and feel. Ticket #654
* Added checkboxes for selecting table rows.Endi S. Dewata2014-02-0411-31/+84
| | | | | | | | The tables have been modified to provide a checkbox on each row to select the entry for subsequent operations. The checkbox in the column header can be used to select/deselect all rows at once. Ticket #654
* Address review commentsAde Lee2014-02-0424-161/+163
| | | | | | | | | 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-0419-185/+194
| | | | | | 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-048-60/+171
|
* Rename KeyDataInfos and KeyrequestInfosAde Lee2014-02-0411-29/+29
|
* Fix some errors flagged by eclipseAde Lee2014-02-044-11/+14
|
* Added SymKeyGen serviceAde Lee2014-02-045-11/+437
|
* Remove old recovery and archival methodsAde Lee2014-02-042-47/+0
|
* Add new POST endpoint for creating requestsAde Lee2014-02-047-11/+151
|
* Use a generic request objectAde Lee2014-02-044-86/+274
| | | | | Refactored KeyRequest API to use requests containing a generic request object.
* Fixed edit dialog to enable/disable TPS resources.Endi S. Dewata2014-01-308-11/+228
| | | | | | | | The edit dialogs for authenticators, connections, and profiles, have been modified to show the available action (i.e. enable or disable) based on the resource status. Ticket #654
* Fixed TPS resource statuses.Endi S. Dewata2014-01-3029-496/+728
| | | | | | | | 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
* missed profile fileChristina Fu2014-01-291-0/+11
|
* Added dialog for adding TPS tokens.Endi S. Dewata2014-01-285-10/+84
| | | | | | | | 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-2314-37/+578
| | | | | | TPS-rewrite effort): http://pki.fedoraproject.org/wiki/TPS_-_New_Recovery_Option:_External_Registration_DS
* Debian - replace source with dotAde Lee2014-01-134-5/+5
| | | | source does not work on debian. Use . instead.
* Debian: add init script functionalityAde Lee2014-01-086-38/+453
| | | | | | | | | | | | | | | 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.
* Debian - replace arch specificationAde Lee2014-01-0815-26/+26
| | | | | | | uname -i returns "unknown" on a debian system. "arch" on the other hand works for fedora, rhel and debian. Replacing these for all packages except for the migration ones which will not be built on debian in any case.
* Cannot connect to ds when anon. access is offAbhishek Koneru2014-01-082-31/+37
| | | | | | | | | | | | | The connection to ds is checked during installation. But the current method of checking the ds connection before binding with the ds throws an Inappropriate Authentication error when Anonymous access is off. This patch uses the following method to check the connection to a DS server. 1. Initialize the connection 2. Bind with the DS. 3. Perform the ldap search. Ticket #811
* authentication pluginAndrew Wnuk2014-01-029-2/+314
| | | | | | | | This patch provides authentication plugin avoiding anonymous access. Steps to use the plugin: https://wiki.idm.lab.bos.redhat.com/export/idmwiki/New_Directory_Authentication_Plugin BZ 861467/ Trac #348.
* Replace '-Wformat-security' warning with '-Werror=format-security' errorMatthew Harmsen2013-12-182-4/+4
| | | | | Bugzilla Bug #1037248 - pki-core FTBFS if "-Werror=format-security" flag is used Bugzilla Bug #1037249 - pki-tps FTBFS if "-Werror=format-security" flag is used
* Added dialog for adding TPS groups.Endi S. Dewata2013-12-165-11/+55
| | | | | | | | 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-166-41/+184
| | | | | | | | | 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
* Fixed table style.Endi S. Dewata2013-12-1610-39/+61
| | | | | | | The column headers and the footer in all tables have been modified to use the proper style. Ticket #654
* Added edit dialog boxes.Endi S. Dewata2013-12-1620-29/+716
| | | | | | | New dialog boxes have been added to provide interface for editing TPS resourcers. Ticket #654
* Using PATCH method for modify operations.Endi S. Dewata2013-12-169-167/+148
| | | | | | | | | | 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-1621-300/+203
| | | | | | | | | | | | | | 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 paging links.Endi S. Dewata2013-12-0619-183/+313
| | | | | | | The UI tables have been modified to provide Prev and Next links to navigate through the result pages. Ticket #654
* Added RCUE sample files.Endi S. Dewata2013-12-0631-6/+626
| | | | | | New CSS, font, and image files have been added from RCUE examples. Ticket #654