11 Mar, 2013
4 commits
-
Use javadocs everywhere possible. git-svn-id: https://svn.forgerock.org/opendj/trunk@8585 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Changed method and variable names. git-svn-id: https://svn.forgerock.org/opendj/trunk@8584 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… + added throws exception declarations: let the exception put the tests in error. git-svn-id: https://svn.forgerock.org/opendj/trunk@8583 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added copyright statement to the file that didn't have any. git-svn-id: https://svn.forgerock.org/opendj/trunk@8582 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Mar, 2013
9 commits
-
Forgot to return after fast-path invocation. git-svn-id: https://svn.forgerock.org/opendj/trunk@8581 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8580 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added support for updates. git-svn-id: https://svn.forgerock.org/opendj/trunk@8579 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Add support for caching the results of read requests. This is required in order to avoid repeatedly performing the same searches when resolving DN references whilst processing query results. In order to minimize the risk of stale data the cache is thrown away after each REST request. At the moment the cache is limited to a maximum of 32 cached results. git-svn-id: https://svn.forgerock.org/opendj/trunk@8578 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixed wording and spelling. git-svn-id: https://svn.forgerock.org/opendj/trunk@8577 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
AssuredReplicationServerTest.java: In createReplicationServer(), added parameter int nbRS, removed some complicated code that I replaced with generateReplicationServerUrls() and addIfNotSame(). I think this explicits better what this code is doing. Extracted method getRsPort(int rsId). git-svn-id: https://svn.forgerock.org/opendj/trunk@8576 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Fixed : with degraded state option, the backend is no more disabled/activated. git-svn-id: https://svn.forgerock.org/opendj/trunk@8575 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed some try / catch / fail test anti patterns. git-svn-id: https://svn.forgerock.org/opendj/trunk@8574 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
LDAPConnection.java: In connectToHost(), protected LDAPConnectionException from the general catch(Exception) which made our error code disappear. LDAPSearchTestCase.java: In getInvalidArgumentLists(), removed very easily 100 lines of code. Properly used assertEquals() instead of assertTrue(). LDAPSearchNoServerTestCase.java: ADDED git-svn-id: https://svn.forgerock.org/opendj/trunk@8573 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Mar, 2013
12 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8572 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8571 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8570 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8569 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8568 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8567 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…emove unused param from method. git-svn-id: https://svn.forgerock.org/opendj/trunk@8566 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…f the user for easier analysis. Removed the bindDN from several error messages, covering simple bind and SASL bind. core*.properties: Updated relevant error messages + the places where they are used in the java code. TextAccessLogPublisher.java: In logBindResponse(), log the bindDN and SASL saslAuthUserDN if SASL is used. git-svn-id: https://svn.forgerock.org/opendj/trunk@8565 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ReplicationServerTest.java: Extracted methods assertDeleteMsgBodyEquals() and assertDeleteMsgChangeNumberEquals(). Used the relevant assert*() methods instead of the al too generic assertTrue() in order to get real error messages in Jenkins. Used foreach loops. git-svn-id: https://svn.forgerock.org/opendj/trunk@8564 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ync: removed the non working JavaHL SVN adapter git-svn-id: https://svn.forgerock.org/opendj/trunk@8563 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8562 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…f the user for easier analysis. Fixed other occurences of copy/pasted code. LocalBackendBindOperation.java: In processBind(), fixed the code. Extracted methods generateAccountStatusNotificationForLockedBindAccount() and getIntegerUserAttribute() to remove duplicated code. git-svn-id: https://svn.forgerock.org/opendj/trunk@8561 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Mar, 2013
12 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8560 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8559 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8558 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…f the user for easier analysis. Aargh so much code copy/pasted! Found and fixed other occurences. Aargh I also broke the build again. LocalBackendBindOperation.java: In processBind(), fixed the code. Extracted methods generateAccountStatusNotificationForLockedBindAccount() and getIntegerUserAttribute() to remove duplicated code. git-svn-id: https://svn.forgerock.org/opendj/trunk@8557 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Fixed message. git-svn-id: https://svn.forgerock.org/opendj/trunk@8556 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…f the user for easier analysis. What a convoluted code!! It is using a label and a block to implement a goto in Java. yuck! LocalBackendBindOperation.java: In processLocalBind(), extracted method processBind(). In the newly extracted method processBind(), converted the break stmts into return stmts + moved the switch stmt inside the try stmt (instead of the try/catch stmt in the switch stmt) + then removed useless if statements and break statements from the switch stmt. git-svn-id: https://svn.forgerock.org/opendj/trunk@8555 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…t groups when configured explicitly for one of the groups ReplicationBroker.java: In connectAsDataServer(), removed following useless if statement (root cause for the bug): // Really no other server with our group id ? if ((tmpRsGroupId == groupId) || (!someServersWithSameGroupId)) Extracted method connectToReplicationServer() in connectAsDataServer(). Removed hasSomeServerWithSameGroupId(). git-svn-id: https://svn.forgerock.org/opendj/trunk@8554 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add filter support: this required some refactoring of the core resource provider in order to ensure that an LDAP connection was available before attempting to resolve LDAP filter. git-svn-id: https://svn.forgerock.org/opendj/trunk@8553 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8552 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8551 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* use encoder for JSON query filter assertion values * handle unexpected exceptions when encoding and decoding values between JSON and LDAP * improve Javadoc for Utils.accumulate and Utils.transform and make both methods more fault tolerant. git-svn-id: https://svn.forgerock.org/opendj/trunk@8550 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…hen configured explicitly for one of the groups java.net.Socket implements java.io.Closeable starting from Java 7 only :( git-svn-id: https://svn.forgerock.org/opendj/trunk@8549 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Mar, 2013
3 commits
-
…t groups when configured explicitly for one of the groups Fixing checkstyle errors. git-svn-id: https://svn.forgerock.org/opendj/trunk@8548 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…t groups when configured explicitly for one of the groups Fixing checkstyle errors. git-svn-id: https://svn.forgerock.org/opendj/trunk@8547 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…t groups when configured explicitly for one of the groups Code cleanup. ReplicationBroker.java In computeBestReplicationServer(), fixed the screwed up for (ctr) switch (ctr){}; pattern + added keepBest() method. In computeBestServerForWeight(), used BigDecimal.valueOf() instead of ctor. In changeConfig(), fixed complicated condition. Added javadocs, fixed variable naming, used foreach. StaticUtils.java: Added toIterable(). git-svn-id: https://svn.forgerock.org/opendj/trunk@8546 41b1ffd8-f28e-4786-ab96-9950f0a78031