19 Jun, 2013
1 commit
-
* make protocol versioning the responsibility of the ProtocolSession object. Previously, it was split between various classes making it very confusing and risk-prone. Now only one class (TLSSocketSession) "owns" the protocol version * removed ReplicationMsg.getBytes() and require that all message impls implement ReplicationMsg.getBytes(short protocolVersion). Messages which have never evolved since the first protocol version can simply ignore the passed in protocol version parameter * simplified the handshake process, ensuring that we always set the protocol version once the handshake has completed. Part of this change was to remove the protocol version from the start message constructors, since it is implied during encoding (this removes some ambiguity in these classes) * many other minor code clean ups and bug fixes. git-svn-id: https://svn.forgerock.org/opendj/trunk@9009 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Jun, 2013
7 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9008 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9007 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9006 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9005 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
OPENDJ-960 Rest2LDAP - Validate http-config.json file Review: Matthew Swift Undoing r8998 and r8999 because it is creating issues we do not have time to fix right now. git-svn-id: https://svn.forgerock.org/opendj/trunk@9004 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9003 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…V/-F/-s on an instance not configured git-svn-id: https://svn.forgerock.org/opendj/trunk@9002 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Jun, 2013
5 commits
-
* avoid double release during finalization when shared instance is already null. git-svn-id: https://svn.forgerock.org/opendj/trunk@9001 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9000 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixed a checkstyle error. git-svn-id: https://svn.forgerock.org/opendj/trunk@8999 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Enhanced JsonValue by adding a record/verify mode for key accesses. Client code must call record recordKeyAccesses() to verifyAllKeysAccessed(). When an unaccessed key exists, a JsonException will be thrown and all unaccessed keys will be reported (unaccessed keys located under other unaccessed keys are not reported to reduce noise). Rest2LDAP.java, Rest2LDAPAuthnFilter.java, Rest2LDAPConnectionFactoryProvider.java: Called recordKeyAccesses() before accessing the keys, then verifyAllKeysAccessed() to verify all the keys have been accessed after we are done with the JSON config. git-svn-id: https://svn.forgerock.org/opendj/trunk@8998 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8997 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Jun, 2013
3 commits
-
Close the request processing context after invoking the result handlers not before since the handler may need to interact with context before it is closed. In this case closing the context logged result before the handler had a chance to update the internal error state. git-svn-id: https://svn.forgerock.org/opendj/trunk@8996 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Skip persistent searches when perform client side request timeout expiration. git-svn-id: https://svn.forgerock.org/opendj/trunk@8995 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Enhanced JsonValue by adding a record/verify mode for key accesses. Client code must call recordKeyAccesses() to verifyAllKeysAccessed(). When yhere is an an unaccessed key, a JsonException will be thrown and all unaccessed keys will be reported (unaccessed keys located under other unaccessed keys are not reported to reduce noise). HTTPConnectionHandler.java: In createAndRegisterServlet(), enabled the record mode before accessing the keys, then verify all the keys have been accessed after we are done with the JSON config. JsonValue.java: Added recordKeyAccesses() and verifyAllKeysAccessed(). JsonValueKeyAccessChecker.java, JsonValueKeyAccessCheckerTest.java: ADDED git-svn-id: https://svn.forgerock.org/opendj/trunk@8994 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Jun, 2013
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8993 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… replication and hostSource is typed incorrectly - removed 'the host/remote server' && fix typo in _ERR_CANNOT_CONNECT_TO_REMOTE_COMMUNICATION git-svn-id: https://svn.forgerock.org/opendj/trunk@8992 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Jun, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8991 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Jun, 2013
7 commits
-
…ted and reviewed by Chris Ridd git-svn-id: https://svn.forgerock.org/opendj/trunk@8990 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* remove a bunch of dead code in our entry cache implementations. OPENDJ-885 requires that we no longer use timeouts when using the LockManager. Our entry caches were one such place where we used the lock manager with timeouts. However, on closer examination I found that we never use the locking capabilities of our entry caches, so a simple fix is to remove the dead functionality git-svn-id: https://svn.forgerock.org/opendj/trunk@8989 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
As suggested in CR, a new upgrade task has been created 'Rename SNMP security config file'. This task is launched if the old SNMP config file actually exists in the config/snmp/security. The task renames the file with the new opendj name. NOTA : The config/snmp/security/opends-snmp.security has been changed in 2.5.0.7466 and the community name as well. ( Cf. Matt's comment in CR). git-svn-id: https://svn.forgerock.org/opendj/trunk@8988 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ertificate (see issue OPENDJ-962) git-svn-id: https://svn.forgerock.org/opendj/trunk@8987 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…nfiguration (Admin Guide) git-svn-id: https://svn.forgerock.org/opendj/trunk@8986 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8985 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8984 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Jun, 2013
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8983 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8982 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* use a more compact encoding for change numbers in monitor and last change time replication protocol messages. Rather than encoding the change numbers as 28 byte hex strings, we now use a 14 byte binary representation * see CR-1818 for more details. git-svn-id: https://svn.forgerock.org/opendj/trunk@8981 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…es and skipDNValidation is set - Removed NullPointerException message and it sends now a DirectoryException. git-svn-id: https://svn.forgerock.org/opendj/trunk@8980 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Jun, 2013
6 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8979 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Back a few years ago, when we did the SVR4 package, we split the schema into read-only (Install) and writable (Instance). With the template model in 2.6, the whole schema is under config, and we should never edit/change the one in the template. So, I've removed all code related to the 2 locations for schema, reverted some I10N messages to their previous versions, and tidy up code and tests. All unit-tests are passing. And it's also possible to change the instance.loc and run setup and have a fully functioning server :-) git-svn-id: https://svn.forgerock.org/opendj/trunk@8978 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* use single TCP packet where possible for replication messages * reduce frequency of socket reads. git-svn-id: https://svn.forgerock.org/opendj/trunk@8977 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- java5-runtime removed. - java7-runtime added. git-svn-id: https://svn.forgerock.org/opendj/trunk@8976 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The jnlp / webstart is now able to display the license if it is present and to validate it. Additional fix : The font is now set to UIFactory.TEXTFIELD_FONT for the license panel. (fix windows OS trivial graphical bug) git-svn-id: https://svn.forgerock.org/opendj/trunk@8975 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8974 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Jun, 2013
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8973 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8972 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Jun, 2013
2 commits
-
…cy values is misleading git-svn-id: https://svn.forgerock.org/opendj/trunk@8971 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8970 41b1ffd8-f28e-4786-ab96-9950f0a78031