06 Mar, 2013
9 commits
-
…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
12 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 -
* fix typo in Javadoc. git-svn-id: https://svn.forgerock.org/opendj/trunk@8545 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* update default configuration to support new DN reference mappings. git-svn-id: https://svn.forgerock.org/opendj/trunk@8544 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add ReferenceAttributeMapper class which includes read support and no filtering. git-svn-id: https://svn.forgerock.org/opendj/trunk@8543 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8542 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
If I see another if (c != null) try{ c.close(); }catch (Throwable t){}, I am going to bail out!! git-svn-id: https://svn.forgerock.org/opendj/trunk@8541 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
LDAPConnection.java: Extracted methods createSocket(), createSSLSocket() and createSSLOrBasicSocket(). In createSocket() and createSSLSocket(),call InetAddress.getAllByName() to try all host name entries. SSLConnectionFactory.java: Added method createSocket(InetAddress host, int portNumber). git-svn-id: https://svn.forgerock.org/opendj/trunk@8540 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8539 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Add group/manager support to sample Servlet configuration. git-svn-id: https://svn.forgerock.org/opendj/trunk@8538 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8537 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Mar, 2013
5 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8536 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- If in cleardegradedState mode, output just displays the following msg "Degraded state of index(es) [indexe(s) name] has been removed". git-svn-id: https://svn.forgerock.org/opendj/trunk@8535 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8534 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8533 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- added support for the clearDegradedState option in online mode. git-svn-id: https://svn.forgerock.org/opendj/trunk@8532 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Mar, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8531 41b1ffd8-f28e-4786-ab96-9950f0a78031
01 Mar, 2013
13 commits
-
Note: This is the first step, documenting what is currently available. More is on the way as identified by the TODOs and issue IDs in the documentation (and visible in JIRA). git-svn-id: https://svn.forgerock.org/opendj/trunk@8530 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8529 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8528 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…son is successful or not Fixing the build. git-svn-id: https://svn.forgerock.org/opendj/trunk@8527 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…son is successful or not LDAPCompare.java: In mainCompare(), added useCompareResultCode option and changed the code to return the aggregated resultCode when this option is used from command line, else return SUCCESS. Used LDAPResultCode everywhere possible. In readAndExecute() and executeCompare(), changed result code to int. Added aggregateResultCode() method. LDAPCompareTestCase.java: Replaced exit code 0 with LDAPResultCode.SUCCESS. In many tests, added checks for --useCompareResultCode option. Added testMultipleCompareAllTrue(), testMultipleCompareOneCompareIsFalse(), testMultipleCompareOneNoSuchObject(), addEntriesUpToParentDN(), getAggregateResultCodeParamsAndResults() and testAggregateResultCode(). git-svn-id: https://svn.forgerock.org/opendj/trunk@8526 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8525 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
EncodePassword.java: Fixed a little bug introduced in previous commit (missing one output message) git-svn-id: https://svn.forgerock.org/opendj/trunk@8524 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8523 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8522 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Cleaned up the SDK. ConsoleApplication.java: Used variable arguments for closeIfNotNull() LDIFDiff.java, LDIFModify.java, LDIFSearch.java: Made use of the variable arguments for closeIfNotNull(). Returned ResultCode.SUCCESS instead of 0. git-svn-id: https://svn.forgerock.org/opendj/trunk@8521 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8520 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Typo and two improvements (Thanks, Chris Ridd) git-svn-id: https://svn.forgerock.org/opendj/trunk@8519 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8518 41b1ffd8-f28e-4786-ab96-9950f0a78031