02 Oct, 2006
2 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
29 Sep, 2006
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@491 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
27 Sep, 2006
3 commits
-
- 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
-
…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
26 Sep, 2006
2 commits
-
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
-
- 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
25 Sep, 2006
9 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
-
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
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@454 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
an "isOperational" getter in the AttributeUsage enumeration. git-svn-id: https://svn.forgerock.org/opendj/trunk@452 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
make it immutable (it's still not 100% immutable - the constructors do not perform deep copies of the extra properties). git-svn-id: https://svn.forgerock.org/opendj/trunk@451 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
updated if the password generator is changed while the server is online. OpenDS Issue Number: 717 git-svn-id: https://svn.forgerock.org/opendj/trunk@448 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@447 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
occur if it was created with a single DN value and that value is null. OpenDS Issue Number: 716 git-svn-id: https://svn.forgerock.org/opendj/trunk@446 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
SASL EXTERNAL authentication even though they claim to. OpenDS Issue Number: 715 git-svn-id: https://svn.forgerock.org/opendj/trunk@445 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 Sep, 2006
3 commits
-
immediately after acquiring a lock on the target entry but before entering the try/finally block to ensure that the lock would be released. This could lead to a case in which the lock will never be released, interfering with the ability to interact with that entry in the future. OpenDS Issue Number: 714 git-svn-id: https://svn.forgerock.org/opendj/trunk@441 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
a cancel between the pre-operation plugin processing and sending the request to the backend. OpenDS Issue Number: 713 git-svn-id: https://svn.forgerock.org/opendj/trunk@440 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed unused method. git-svn-id: https://svn.forgerock.org/opendj/trunk@438 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Sep, 2006
7 commits
-
Fix for issue 711. git-svn-id: https://svn.forgerock.org/opendj/trunk@435 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
An extensible LDAP filter with dn attribute but without attribute name and matching rule causes IndexOutOfBounds exception in LDAPFilter.decode method. To reproduce the error, decode filter string "(:dn:=John Doe)" Fix for issue 708. Constructing a LDAPFilter object from a SearchFilter objects with NOT components results in an incomplete LDAPFilter object. The LDAPFilter will be complete except for the NOT components. This results in a NullPointerException exception when calling methods that assume a LDAPFilter component will not be NULL (ie. toString). Fix for issue 709. When encoding LDAPFilter objects to ASN1Element objects, extensible components are encoded as or components. The matching rule ID is also included twice in the encoding with the wrong ASN1 type of matching rule attribute. Fix for issue 710. git-svn-id: https://svn.forgerock.org/opendj/trunk@434 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@429 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@426 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
2. Fix issue 702: Import of non-existent LDIF file leaves environment handle open. 3. In the test runner method TasksTestCase#testTask reduce the sleep from 1s to 10ms when polling for completed task. 4. Remove two unnecessary catch blocks in ImportTask. git-svn-id: https://svn.forgerock.org/opendj/trunk@425 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@424 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@422 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Sep, 2006
10 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@419 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ted code for error handling. Add unit tests for the restore task. git-svn-id: https://svn.forgerock.org/opendj/trunk@418 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@417 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
password policy during the process of verifying the credentials rather than just assuming that the password is held in the userPassword attribute. Also, fix a bug in the DIGEST-MD5 implementation that prevented authentication from completing successfully when the "u:" form of the authentication ID was provided. OpenDS Issue Numbers: 698, 699 git-svn-id: https://svn.forgerock.org/opendj/trunk@413 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Update the password policy state code to provide a mechanism for obtaining clear-text passwords from the user's entry (provided that user has any passwords encoded with a reversible scheme). - Update the password storage scheme API so that it is possible to get the clear-text version of a password encoded using the authPassword syntax (provided that the scheme is reversible) - Update the existing password storage scheme implementations to use the "{@inheritDoc}" javadoc tag and "@Override" annotation where appropriate. OpenDS Issue Number: 697 git-svn-id: https://svn.forgerock.org/opendj/trunk@412 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
git-svn-id: https://svn.forgerock.org/opendj/trunk@409 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…e behavior between Java 5 and Java 6 Adapt the code to work both on Java 5 and Java 6 git-svn-id: https://svn.forgerock.org/opendj/trunk@407 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
(Issue #674: JMX over SSL does not work) git-svn-id: https://svn.forgerock.org/opendj/trunk@406 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@405 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@403 41b1ffd8-f28e-4786-ab96-9950f0a78031