21 Mar, 2013
1 commit
-
* add support for using proxied authorization control * add support for re-using connections obtained during authentication (e.g. in authentication servlet filter) * refactored JSON config to allow configuration of multiple connection factories. git-svn-id: https://svn.forgerock.org/opendj/trunk@8621 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Mar, 2013
8 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8620 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixed the issues identified with r8615. ivy.xml: Use the latest of Grizzly. Use very specifically javax.servlet-api 3.1-b02 to ensure compatibility with java 6. HTTPConnectionHandler.java: Uncommented all the code that I previously commented to allow code to compile on Jenkins. git-svn-id: https://svn.forgerock.org/opendj/trunk@8619 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8618 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8616 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Made the code compile with java 6 until we can further solve the issue. I'll come back to this code to uncomment the lines I commented here. ivy.xml: Excluded the dependency to activation.jar. Remporarily downgraded grizzly and javax.servlet versions. Replaced tabs with spaces. HTTPConnectionHandler.java: Commented out some code to be reenabled in a subsequent commit. git-svn-id: https://svn.forgerock.org/opendj/trunk@8615 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…d topology shares a common suffix git-svn-id: https://svn.forgerock.org/opendj/trunk@8614 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added the HTTPConnnectionHandler implemented using Grizzly. Added support for all configuration similar to the LDAPConnectionHandler. Missing support for ds-cfg-keep-stats and ds-cfg-num-request-handlers. config.ldif, 02-config.ldif: Added new entry for HTTP connection handler + defaults. HTTPConnectionHandlerCfgDefn.properties, HTTPConnectionHandlerConfiguration.xml: ADDED LDAPConnectionHandlerConfiguration.xml: Moved properties common to HTTPConnectionHandlerConfiguration.xml to Package.xml . protocol*.properties: Merged protocol messages between LDAP, HTTP and JMX. Made them non LDAP specific. Added 2 new protocol messages for HTTP. CollectClientConnectionsFilter.java, HTTPClientConnection.java, HTTPConnectionHandler.java, package-info.java: ADDED JmxClientConnection.java, JmxConnectionHandler.java, LDAPClientConnection.java: Used common protocol messages. LDAPConnectionHandler.java Used common protocol messages. Extracted method configureSSL() Simplified the code in getEnabledSSLCipherSuites() and getEnabledSSLProtocols() and protected against a multi threaded change ofg the SSL engine by using a local copy. git-svn-id: https://svn.forgerock.org/opendj/trunk@8613 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added support for Ivy from the ant file build.xml. "Apache Ivy™ is a popular dependency manager focusing on flexibility and simplicity." As part of the build, Ivy gets downloaded and installed as ext/ivy.jar, if it was not already installed. Ivy will then download all the dependencies and transitive dependencies from forgerock artifactory, maven central and oracle public maven repo as specified in ivy.xml and ivysettings.xml and put them under the lib/ directory. This step is similar to what maven does. Finally, I removed je.jar and mail.jar as they also get downloaded by Ivy now. Ivy uses a download cache under ~/.ivy/cache to prevent always downloading the jars from internet. I made sure that after a successful build, rebuilding without the network works fine. I also made sure the built zip contains only thebinary jars, and not sources jars or javadoc jars. Here is now the content of the lib/ directory in the OpenDJ-2.5.0.zip file: $ ls build/package/OpenDJ-2.5.0/lib/lib/ activation-1.1.jar grizzly-framework-2.3-rc6.jar grizzly-http-2.3-rc6.jar grizzly-http-server-2.3-rc6.jar grizzly-http-servlet-2.3-rc6.jar grizzly-rcm-2.3-rc6.jar javax.servlet-api-3.1-b05.jar je-5.0.48.jar launcher_administrator.exe mail-1.4.1.jar opendj_service.exe winlauncher.exe Please also have a look at the attached out.patch file since crucible does not allow me to upload it as a patch. It contains changes to SVN properties and removed files. git-svn-id: https://svn.forgerock.org/opendj/trunk@8612 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Mar, 2013
5 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8611 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixed indentation in several places. git-svn-id: https://svn.forgerock.org/opendj/trunk@8610 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
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
2 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