07 Oct, 2006
4 commits
-
JVM used to run the TestNG unit tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@528 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
successful. The attempt to remove the entire attribute (without specifying the individual values) was not properly handled and the entry remained unchanged instead of actually removing the values. OpenDS Issue Number: 762 git-svn-id: https://svn.forgerock.org/opendj/trunk@527 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
values in an LDAP attribute when converting to a core Attribute (it would silently discard the duplicate rather than rejecting it). Also, fix an error in an unrelated Javadoc comment. OpenDS Issue Number: 761 git-svn-id: https://svn.forgerock.org/opendj/trunk@526 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
contain any modifications. OpenDS Issue Number: 760 git-svn-id: https://svn.forgerock.org/opendj/trunk@525 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Oct, 2006
6 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@524 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Make the current password(s) for the user available so that they can be used in the process of determining whether the new password is acceptable. - Rename the passwordIsValid method to passwordIsAcceptable to make it clearer what the intended purpose of the password validator is. Also, improve test coverage for the password validator classes. git-svn-id: https://svn.forgerock.org/opendj/trunk@523 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… had been called. Depending on thread scheduling the operation thread might not have called the post response plugins at the time of the check. git-svn-id: https://svn.forgerock.org/opendj/trunk@522 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@521 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Defined "ds-cfg-connection-handler-enabled" as a configuration attribute git-svn-id: https://svn.forgerock.org/opendj/trunk@520 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@519 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Oct, 2006
5 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@518 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Reviewed by neil_a_wilson. git-svn-id: https://svn.forgerock.org/opendj/trunk@517 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@516 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
In the JE backend many of the calls to DN#getParent are assumed to return null for a base DN but this is only true when the base DN is a server suffix. A base DN is not a server suffix if it is in the scope of another higher up base DN. To fix this I have added a method to get the parent of a DN in the scope of the base DN. git-svn-id: https://svn.forgerock.org/opendj/trunk@515 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@514 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Oct, 2006
5 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@513 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@512 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
cover the addResponseControl and removeResponseControl methods. git-svn-id: https://svn.forgerock.org/opendj/trunk@511 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
expose a number of the methods from the DirectoryServer class as part of the public interface while reducing the need for extensions to reference code in the org.opends.server.core package. OpenDS Issue Number: 746 git-svn-id: https://svn.forgerock.org/opendj/trunk@510 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…e it calls Environment#removeDatabase on a database with an open handle, whose documentation says "Applications should never remove databases with open Database handles". git-svn-id: https://svn.forgerock.org/opendj/trunk@509 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Oct, 2006
10 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@508 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…m being successfully removed. Fix for issue 747. git-svn-id: https://svn.forgerock.org/opendj/trunk@507 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…raction. This also elimates exposing the JE interface to backendImpl by creating a new RootContainer class. It provides a higher-level interface to access raw data in JE from anywhere in the server (ie. unit tests). Fix for issue 727. git-svn-id: https://svn.forgerock.org/opendj/trunk@506 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ments to the LockManager class. git-svn-id: https://svn.forgerock.org/opendj/trunk@505 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@504 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
changelog server. At regular time each changelog server checks if it knows some changelog servers with whom it is not connected and if necessary tries to open a connection to this server. This check is based on the hostname of the server. When a changelog server uses DHCP this hostname is not always the same on all the servers and this can result in tentative to open duplicate connections which then result in spurious errors message. In the long term, the changelog servers will use a discovery process and this will be a good opportunity to discover the server ID of each other changelog server and this will be a much better way to check for missing connections. In the short term I've modified the code to use the IP address instead of the hostname as an identifier for the remote changelog servers. This should work fine with DHCP. git-svn-id: https://svn.forgerock.org/opendj/trunk@503 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@502 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@501 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@500 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
the JMX connector **AND** the RMI registry was closed. With this modification, the RMI registry will be closed only if it's required, basically, if there is a change port request or if the connector. git-svn-id: https://svn.forgerock.org/opendj/trunk@499 41b1ffd8-f28e-4786-ab96-9950f0a78031
02 Oct, 2006
6 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@498 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@497 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@496 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
make it easier for external developers to extend OpenDS. In particular, this is a big step towards eliminating the need for developers to reference anything in the core package, and it's also a signficant simplification to the plugin API because it helps expose which operation methods are safe to call at various points in the plugin processing. The most significant changes in this commit include: - I've created a new org.opends.server.types.operation package and added a lot of interfaces into it. These interfaces define the set of methods that may be called on operations at various points in plugin processing (e.g., there's a PreParseAddOperation interface that exposes the methods of the AddOperation class that are safe to call from a pre-parse plugin). All of the core operation types now implement the appropriate set of interfaces, and the plugin API methods now take these interfaces as arguments rather than the Operation subclass itself. - I've moved a number of classes from the core package to the types package. All references to these classes anywhere in the code were updated to reflect the change. The classes that were moved include: * CancelledOperationException * CancelRequest * CancelResult * CryptoManager * DirectoryException * InitializationException * LockManager * OperationType * Schema - I've also moved the test cases for the DirectoryException and InitializationException classes from the core to the types package. - Some general cleanup in the core operation classes. Virtually all methods should now be marked final. All methods inherited from the abstract Operation class now use "{@inheritDoc}" for the javadoc documentation and have the "@override" annotation. - The DirectoryServerPlugin class has been updated so that the default implementations for all plugin methods now throw a runtime exception to indicate that the requested functionality has not been implemented. git-svn-id: https://svn.forgerock.org/opendj/trunk@495 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
* make ObjectClass immutable * pull out common schema definition elements into a separate common base class and refactor both ObjectClass and AttributeType to use it * create test suite for common schema definition elements. git-svn-id: https://svn.forgerock.org/opendj/trunk@494 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@493 41b1ffd8-f28e-4786-ab96-9950f0a78031
01 Oct, 2006
1 commit
-
avoid problems with unit tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@492 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Sep, 2006
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@491 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Add additional test cases for abandon operations. - Add a set of test cases for bind operations. - Add a new short circuit plugin that can be used to force plugin to cause operation processing to end prematurely and with a specified result. git-svn-id: https://svn.forgerock.org/opendj/trunk@490 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- It is now possible to create a bind operation with null arguments for the raw bind DN and simple credentials and have them replaced with empty ASN.1 octet strings. - The ability to set the authentication type has been moved into methods for setting the simple credentials (which inherently sets the authentication type to simple) or SASL mechanism+credentials (which inherently sets the authentication type to SASL). - Issue #736: It ensures that pre-operation bind plugins get called for anonymous simple binds. - Issue #737: It limits the set of responses that may be returned to avoid leaking information that may be useful to an attacker. git-svn-id: https://svn.forgerock.org/opendj/trunk@489 41b1ffd8-f28e-4786-ab96-9950f0a78031