02 Oct, 2006
3 commits
-
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
6 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
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@488 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
the fly. It is not yet possible to add or delete plugins, but existing plugins can now be enabled or disabled. OpenDS Issue Number: 723 git-svn-id: https://svn.forgerock.org/opendj/trunk@487 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
written to the debug log by default. This will primarily help reduce the amount of output generated when running the tests with assertions enabled, and will help dramatically cut down the size of the e-mail message generated by the daily build process. git-svn-id: https://svn.forgerock.org/opendj/trunk@486 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Sep, 2006
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@485 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@484 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Sep, 2006
6 commits
-
draft-wahl-ldap-adminaddr. git-svn-id: https://svn.forgerock.org/opendj/trunk@483 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Update the operation code to consolidate a lot of the cancel/abandon checking into a method in the Operation superclass. - Make sure that cancel and StartTLS extended operations cannot be canceled or abandoned. - If the request controls element of an operation is null, replace it with an empty list. OpenDS Issue Number: 724 git-svn-id: https://svn.forgerock.org/opendj/trunk@482 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@481 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…om the correct place in the lowerLeftStr string. Fix for issue 722. git-svn-id: https://svn.forgerock.org/opendj/trunk@480 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Return an exit code of 1 on failure of import LDIF. Change setup tool to print an error message when the import fails. git-svn-id: https://svn.forgerock.org/opendj/trunk@479 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@478 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Sep, 2006
14 commits
-
- Add a new plugin that can be used to terminate client connections at specific points in plugin processing when an appropriate control is included in the request. - Add a new plugin that can be used to count the number of times that various types of plugins are invoked. Update the startServer and shutdownServer methods in TestCaseUtils to ensure that the startup and shutdown plugins are invoked at the right times. - Add test cases for the DirectoryException and InitializationException classes. - Create an OperationTestCase superclass that can be used for testing generic methods in the Operation class. Create an AbandonOperationTestClass subclass that tests the core Abandon operation. git-svn-id: https://svn.forgerock.org/opendj/trunk@477 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
plugins at the appropriate time. Update the LDAP client connection to ensure that it invokes the post-disconnect plugins at the appropriate time. OpenDS Issue Number: 728 git-svn-id: https://svn.forgerock.org/opendj/trunk@476 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@475 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… ant targets to only run specific tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@474 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ethod levels. Please refer to the unit test documentation on the OpenDS website for more information. Fix for issue 720. git-svn-id: https://svn.forgerock.org/opendj/trunk@473 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@472 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Add some tests for better coverage of the Bit String syntax git-svn-id: https://svn.forgerock.org/opendj/trunk@471 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@470 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@469 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@468 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@467 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- make a method signature independent from the implementation Reviewed by Neil and Matt git-svn-id: https://svn.forgerock.org/opendj/trunk@466 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@465 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
draft-schleiff-ldap-xri Internet Draft. git-svn-id: https://svn.forgerock.org/opendj/trunk@464 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Sep, 2006
8 commits
-
problems with clients due to a race condition. Previously, the success response was sent to the client before TLS negotiation was started (because the StartTLS response must be sent in the clear), and it was possible that if a client was able to receive that response and send a subsequent TLS-protected request before the was able to begin the TLS negotiation, then the server would try to handle the client request as if it were in the clear and would not be able to decode it. The server now prepares to perform the TLS negotiation before sending the response to the client to eliminate that race condition. OpenDS Issue Number: 725 git-svn-id: https://svn.forgerock.org/opendj/trunk@463 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@462 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
that implement the ConfigurableComponent and ConfigChangeListener interfaces. git-svn-id: https://svn.forgerock.org/opendj/trunk@461 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@460 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
implementation. It should only be possible to alter the password policy configuration over protocol. git-svn-id: https://svn.forgerock.org/opendj/trunk@459 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
test case. git-svn-id: https://svn.forgerock.org/opendj/trunk@458 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
types package. git-svn-id: https://svn.forgerock.org/opendj/trunk@457 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
to ensure that anything written to standard error does actually make it to standard error instead of being hidden. git-svn-id: https://svn.forgerock.org/opendj/trunk@456 41b1ffd8-f28e-4786-ab96-9950f0a78031