summaryrefslogtreecommitdiffstats
path: root/base/server/cms/src/com/netscape/cms/servlet/admin
Commit message (Collapse)AuthorAgeFilesLines
* Fixed selftest error handling.Endi S. Dewata2015-12-011-10/+15
| | | | | | | | The selftest has been modified to throw an exception and provide more specific error message if a test fails in order to help troubleshoot the problem. https://fedorahosted.org/pki/ticket/1328
* Fixed selftests log message.Endi S. Dewata2015-06-231-1/+5
| | | | | | | | | | | | | The SelfTestSubsystem has been modified to display a 'successful' message only if all tests have passed. If a test fails, it will log a failure, subsequent tests will not be executed, and the subsystem will shutdown immediately. The runSelfTest() in various tests have been cleaned up to throw the original exception to help troubleshooting. The unused RAPresence test has been removed. https://fedorahosted.org/pki/ticket/1249
* Make pki group-member-show case insensitiveChristian Heimes2015-06-161-2/+2
| | | | | | | | Make the memberID argument of getGroupMember() case insensitive. The groupID argument is already case insensitive. The groupID string is used as CN element in an LDAP query, which is case insensitive by definition. https://fedorahosted.org/pki/ticket/1069
* Add LDAPProfileSubsystem to store profiles in LDAPFraser Tweedale2015-04-071-28/+2
| | | | | | | | | | | | Add the LDAPProfileSubsystem as another IProfileSubsystem implementation that can be used instead of ProfileSubsystem (which stores profiles on the file system) to store files in LDAP so that changes can be replicated. Extract common behaviour in to new AbstractProfileSubsystem superclass. Also address the minor issue #1220.
* Added rangeUnit property to certificate profiles.Endi S. Dewata2014-12-151-2/+4
| | | | | | | | | A new optional property has been added to certificate profiles to specify the range unit. The default range unit is 'day'. The code has been modified to use the Calendar API to calculate the end of validity range based on the range unit. https://fedorahosted.org/pki/ticket/1226
* Fixed problems in group operations.Endi S. Dewata2014-08-271-15/+22
| | | | | | | | | | | | | Previously modifying the description of an empty group failed because the server tried to delete a uniqueMember attribute that did not exist because the group was already empty. The servlets and group subsystem has been fixed to retrieve the existing group data first, perform the changes on it, then save it back to the database. Also adding a new group will no longer require a description because it's not required by the LDAP object class. Ticket #818
* Adds a new CLI command pki ca-kraconnector-show.Abhishek Koneru2014-08-141-0/+22
| | | | | | | The new command allows users to view the information about kra connectors registered with the CA. Ticket #479
* Added filter to GroupService.findGroupMembers().Endi S. Dewata2014-05-081-12/+16
| | | | | | | | The GroupService.findGroupMembers() has been modified to accept an additional parameter to filter the group members to be returned. The CLI has been modified accordingly. Ticket #920
* Replace filter in UGSubsystem.listGroups().Endi S. Dewata2014-05-082-3/+6
| | | | | | | | | | The UGSubsystem.listGroups() has been modified to generate an LDAP filter from a keyword. The filter itself cannot contain wildcards. The wildcard will be added in listGroups(). In the future the filter will be made configurable to allow searching different attributes. Ticket #920
* Reorganized REST service classes.Endi S. Dewata2014-02-284-1809/+0
| | | | | | | | The REST service classes have been moved into org.dogtagpki.server namespace. A new upgrade script has been added to update existing instances. Ticket #114
* Refactored GroupMemberProcessor.Endi S. Dewata2014-02-192-7/+5
| | | | | | | | The GroupMemberProcessor.addGroupMember() has been modified such that it returns the newly created group member data. This way the GroupService can use the common method to create the response object. Ticket #554
* Updated REST interface for groups.Endi S. Dewata2014-02-181-19/+21
| | | | | | | 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 users.Endi S. Dewata2014-02-181-34/+35
| | | | | | | | | | 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-103-11/+0
| | | | | | | | 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
* Added dialog for adding TPS groups.Endi S. Dewata2013-12-161-5/+8
| | | | | | | | 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-5/+18
| | | | | | | | | 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-162-1/+83
| | | | | | | | | | 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 more null parameter checking.Endi S. Dewata2013-11-142-0/+11
| | | | | | | Some REST methods have been modified to check for null parameters and return the proper error code. Ticket #749
* Added null parameter checking.Endi S. Dewata2013-11-102-0/+36
| | | | | | | Some REST services have been modified to throw BadRequestException on null parameters. Ticket #749
* Fixed find commands.Endi S. Dewata2013-11-083-22/+33
| | | | | | | | | | | 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-074-132/+65
| | | | | | | | | 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
* Fixed problem running GroupMemberProcessor on non-CA.Endi S. Dewata2013-11-013-2/+9
| | | | | | | | Previously the GroupMemberProcessor class inherits from CAProcessor that can only run on CA. To fix the problem a generic Processor has been created as a super class of the CAProcessor and some of the fields and methods that are not CA-specific have been moved into the super class. The GroupMemberProcessor will now inherit directly from the super class.
* Renamed Processor to CAProcessor.Endi S. Dewata2013-11-012-4/+4
| | | | | | The Processor class depends on CertificateAuthority subsystem which only exists on CA, so the class has been renamed to CAProcessor to reflect the dependency.
* Reorganized server packages.Endi S. Dewata2013-10-2523-0/+25638
The tomcat, cms, and cmscore packages have been moved from base/common into separate folders in base/server so that they can be built separately.