19 Mar, 2013
3 commits
-
This is just a one liner to use the proper error message (looks like a copy/paste mistake). The error reported will now show as below: $ ldapsearch -h localhost -p 1389 -D "uid=user.0,ou=people,dc=example,dc=com" -w password -Y "uid=user.1,ou=people,dc=example,dc=com" -b "dc=example,dc=com" 'uid=user.1' SEARCH operation failed Result Code: 2 (Protocol Error) Additional Information: The authorization ID "uid=user.1,ou=people,dc=example,dc=com" contained in the proxied authorization V2 control is invalid because it does not start with "dn:" to indicate a user DN or "u:" to indicate a username git-svn-id: https://svn.forgerock.org/opendj/trunk@8609 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
TLSCapableConnection.java: Renamed isStartTLSAvailable() to prepareTLS() after a discussion with Ludo and Matt. StartTLSExtendedOperation.java, LDAPClientConnection.java: Consequence of the change to TLSCapableConnection. git-svn-id: https://svn.forgerock.org/opendj/trunk@8608 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
TLSCapableConnection.java: Renamed isTLSAvailable() to isStartTLSAvailable() to better explicit the purpose of this method. StartTLSExtendedOperation.java: Consequence of the change to TLSCapableConnection. LDAPClientConnection.java: Consequence of the change to TLSCapableConnection. Used StaticUtils.close() methods. Removed one useless parameter from ConnectionFinalizerJob constructor. StaticUtils.java: Added close(Selector...). git-svn-id: https://svn.forgerock.org/opendj/trunk@8607 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Mar, 2013
3 commits
-
Also a bit on generating passwords Plus the suggestion in here, http://lists.forgerock.org/pipermail/opendj/2013-February/002622.html git-svn-id: https://svn.forgerock.org/opendj/trunk@8606 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code cleanup. AddressMask.java: In maskListContains(), replaced the AddressMask array argument to a Collection<AddressMask>. *.java: Changed all places calling it. git-svn-id: https://svn.forgerock.org/opendj/trunk@8605 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8604 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Mar, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8603 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Mar, 2013
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8602 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Extracted methods registerChannels() and serveIncomingConnections(). In run(), removed useless try/catch blocks around cleanUpSelector() (because it catches all exception internally). git-svn-id: https://svn.forgerock.org/opendj/trunk@8601 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Extracted method checkAnyListenAddressInUse(). Fixed words spelling, renamed exceptions in catch clauses to better communicate their intent. Added javadocs + @Override annotations. Used foreach + StaticUtils.close(). git-svn-id: https://svn.forgerock.org/opendj/trunk@8600 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Mar, 2013
7 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8599 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
LDAPSearchNoServerTestCase.java: In testSearchWithServerDown() use a free port on the current machine. TestCaseUtils.java: Added findFreeSocketAddress() from LDAP SDK TestCaseUtils. git-svn-id: https://svn.forgerock.org/opendj/trunk@8598 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…n/externalchangelog tests git-svn-id: https://svn.forgerock.org/opendj/trunk@8597 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Minor fixes. Added names to test cases. Used assertFalse() instead of assertTrue(). Just created a temp file instead of a temp directory. git-svn-id: https://svn.forgerock.org/opendj/trunk@8596 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8595 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The main set of changes have been provided by Elliot Kandall @ UCSF, but I've done additional cleanup of code and refactoring, added support for multiple constants per lines (this was required by the support for escaping [ and ]. Unit tests are provided and have been extended after the code review and suggestions by reviewers (CR-1401). git-svn-id: https://svn.forgerock.org/opendj/trunk@8594 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The main set of changes have been provided by Elliot Kandall @ UCSF, but I've done additional cleanup of code and refactoring, added support for multiple constants per lines (this was required by the support for escaping [ and ]. Unit tests are provided and have been extended after the code review and suggestions by reviewers (CR-1401). git-svn-id: https://svn.forgerock.org/opendj/trunk@8593 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Mar, 2013
3 commits
-
…ence mapping & other config changes Simplify explanation of "isSingleValued" git-svn-id: https://svn.forgerock.org/opendj/trunk@8592 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…g & other config changes git-svn-id: https://svn.forgerock.org/opendj/trunk@8591 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… prop is set and server is running with JDK1.7 The issue here is that the TreeSet implementation changed starting from Java 1.7. When adding as a first element a non Comparable object, Java 1.7 will now throw a ClassCastException. SNMPInetAddressAcl.java: Changed hostsList instance member type from TreeSet to Set + HashSet. In checkReadPermission() used Set.contains(). Used foreach. git-svn-id: https://svn.forgerock.org/opendj/trunk@8590 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Mar, 2013
7 commits
-
Minor bug fixes to deal with cases where the referenced resource does not exist. git-svn-id: https://svn.forgerock.org/opendj/trunk@8589 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8588 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8586 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
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
4 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