Update target JDK to 11 and move to JakartaEE 9 (#532)
Co-authored-by: Valery Kharseko <vharseko@3a-systems.ru>
3 files added
49 files modified
| | |
| | | runs-on: ${{ matrix.os }} |
| | | strategy: |
| | | matrix: |
| | | java: [ '8','11','17','21','25'] |
| | | java: [ '11','17','21','25'] |
| | | os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ] |
| | | fail-fast: false |
| | | steps: |
| | |
| | | file: ./opendj-packages/opendj-docker/Dockerfile-alpine |
| | | build-args: | |
| | | VERSION=${{ env.release_version }} |
| | | platforms: linux/amd64,linux/arm64/8, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6, linux/ppc64le |
| | | platforms: linux/amd64, linux/arm64/8, linux/s390x, linux/ppc64le |
| | | push: true |
| | | tags: ${{ steps.meta.outputs.tags }} |
| | | labels: ${{ steps.meta.outputs.labels }} |
| | |
| | | - name: Set up Java for publishing to Maven Central Repository OSS |
| | | uses: actions/setup-java@v4 |
| | | with: |
| | | java-version: ${{ github.event.workflow_run.head_branch == 'release/5.0.0-SNAPSHOT' && '11' || '8'}} |
| | | java-version: '11' |
| | | distribution: 'temurin' |
| | | server-id: ossrh |
| | | server-username: MAVEN_USERNAME |
| | |
| | | - name: Set up Java for publishing to Maven Central Repository OSS |
| | | uses: actions/setup-java@v4 |
| | | with: |
| | | java-version: '8' |
| | | java-version: '11' |
| | | distribution: 'temurin' |
| | | server-id: ossrh |
| | | server-username: MAVEN_USERNAME |
| | |
| | | file: ./opendj-packages/opendj-docker/Dockerfile-alpine |
| | | build-args: | |
| | | VERSION=${{ github.event.inputs.releaseVersion }} |
| | | platforms: linux/amd64,linux/arm64/8, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6, linux/ppc64le |
| | | platforms: linux/amd64, linux/arm64/8, linux/s390x, linux/ppc64le |
| | | push: true |
| | | tags: ${{ steps.meta.outputs.tags }} |
| | | labels: ${{ steps.meta.outputs.labels }} |
| | |
| | | * [OpenDJ Docker](https://hub.docker.com/r/openidentityplatform/opendj/) (All OS) |
| | | * [OpenDJ OpenShift](https://github.com/OpenIdentityPlatform/OpenDJ/tree/master/opendj-packages/opendj-openshift-template) |
| | | |
| | | Java 1.8+ required |
| | | Java 11 or later required |
| | | |
| | | ## How-to build |
| | | For windows use: |
| | |
| | | |
| | | ## Supported Versions |
| | | |
| | | | Version | Supported | |
| | | | ------- | ------------------ | |
| | | | Open Identity Platform Community OpenDJ 4.x.x | :white_check_mark: | |
| | | | Forgerock OpenDJ 3.x.x | :x: : upgrade to Open Identity Platform Community OpenDJ 4.x.x | |
| | | | Forgerock OpenDJ 2.x.x | :x: : upgrade to Open Identity Platform Community OpenDJ 4.x.x | |
| | | | Version | Java Versions Support | EE | Supported | |
| | | |-----------------------------------------------|-----------------------|------------|--------------------------------------------------------------------------------------------------------------------------------------------| |
| | | | Open Identity Platform Community OpenDJ 5.x.x | 11 and later | Jakarta EE | :white_check_mark: Community support, [approved vendor support](https://github.com/OpenIdentityPlatform/.github/wiki/Approved-Vendor-List) | |
| | | | Open Identity Platform Community OpenDJ 4.x.x | 8 and later | Java EE | :white_check_mark: [Approved vendor support](https://github.com/OpenIdentityPlatform/.github/wiki/Approved-Vendor-List) | |
| | | | Forgerock OpenDJ 3.x.x | 1.6, 1.7 | Java EE | :x: : upgrade to Open Identity Platform Community OpenDJ 5.x.x | |
| | | | Forgerock OpenDJ 2.x.x | 1.6, 1.7 | Java EE | :x: : upgrade to Open Identity Platform Community OpenDJ 5.x.x | |
| | | |
| | | ## Reporting a Vulnerability |
| | | |
| | |
| | | <parent> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-cli</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | <artifactId>opendj-config</artifactId> |
| | | <name>OpenDJ Configuration API</name> |
| | |
| | | <parent> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-core</artifactId> |
| | |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.github.stephenc.jcip</groupId> |
| | | <artifactId>jcip-annotations</artifactId> |
| | | <groupId>com.io7m.jcip</groupId> |
| | | <artifactId>com.io7m.jcip.annotations</artifactId> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | |
| | | |
| | | <profiles> |
| | | <profile> |
| | | <id>set-compiler-release</id> |
| | | <activation> |
| | | <jdk>[9,)</jdk> |
| | | </activation> |
| | | <properties> |
| | | <maven.compiler.release>8</maven.compiler.release> |
| | | <!-- |
| | | -release 8 dont allow hidden packages |
| | | package sun.security.tools.keytool does not exist |
| | | package sun.security.x509 does not exist |
| | | --> |
| | | <maven.compiler.testRelease /> |
| | | </properties> |
| | | </profile> |
| | | <profile> |
| | | <!-- This profile provides API/ABI compatiblity checks and reports via Clirr --> |
| | | <id>clirr</id> |
| | | <activation> |
| | |
| | | * |
| | | * Copyright 2006-2009 Sun Microsystems, Inc. |
| | | * Portions copyright 2012-2016 ForgeRock AS. |
| | | * Portions copyright 2025 3A Systems LLC. |
| | | */ |
| | | package org.forgerock.opendj.ldap; |
| | | |
| | |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2014 ForgeRock AS. |
| | | * Portions Copyright 2025 3A Systems LLC. |
| | | */ |
| | | package org.forgerock.opendj.ldap; |
| | | |
| | |
| | | ~ information: "Portions Copyright [year] [name of copyright owner]". |
| | | ~ |
| | | ~ Copyright 2016 ForgeRock AS. |
| | | ~ Portions Copyright 2024 3A Systems LLC. |
| | | ~ Portions Copyright 2024-2025 3A Systems LLC. |
| | | --> |
| | | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| | | <modelVersion>4.0.0</modelVersion> |
| | |
| | | <parent> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-doc-generated-ref</artifactId> |
| | |
| | | By default, the log level is set to `INFO`, and the gateway logs HTTP request-related messages. To have the gateway log LDAP request-related messages, set the log level to `FINEST` in one of the following ways: |
| | | + |
| | | |
| | | * If the REST to LDAP gateway runs in Apache Tomcat, edit `WEB-INF/classes/logging.properties` to set `org.forgerock.opendj.rest2ldap.level = FINEST`. For details on Tomcat's implementation of the logging API, see link:https://tomcat.apache.org/tomcat-8.0-doc/logging.html#Java_logging_API_%E2%80%94_java.util.logging[Logging in Tomcat, window=\_blank]. |
| | | * If the REST to LDAP gateway runs in Apache Tomcat, edit `WEB-INF/classes/logging.properties` to set `org.forgerock.opendj.rest2ldap.level = FINEST`. For details on Tomcat's implementation of the logging API, see link:https://tomcat.apache.org/tomcat-10.1-doc/logging.html#Java_logging_API_%E2%80%94_java.util.logging[Logging in Tomcat, window=\_blank]. |
| | | + |
| | | Messages are written to `CATALINA_BASE/logs/rest2ldap.yyyy-MM-dd.log`. |
| | | |
| | |
| | | |
| | | [NOTE] |
| | | ====== |
| | | When you upgrade to OpenDJ 4.9 from an OpenDJ 3 or earlier, the upgrade procedure leaves the HTTP connection handler disabled. |
| | | When you upgrade to OpenDJ 5.0 from an OpenDJ 3 or earlier, the upgrade procedure leaves the HTTP connection handler disabled. |
| | | The newer configuration supports inheritance and subsresources, but is not compatible with the previous configuration. |
| | | You must rewrite your configuration to the version described in xref:../reference/appendix-rest2ldap.adoc#appendix-rest2ldap["REST to LDAP Configuration"] in the __Reference__, and then reconfigure the server to use the new configuration. For details, see xref:../admin-guide/chap-connection-handlers.adoc#setup-rest2ldap["RESTful Client Access Over HTTP"] in the __Administration Guide__. |
| | | ====== |
| | |
| | | ==== |
| | | |
| | | [#upgrade-zip-example] |
| | | .Upgrading to OpenDJ 4.9 |
| | | .Upgrading to OpenDJ 5.0 |
| | | ==== |
| | | The following example upgrades an OpenDJ 2.6.3 directory server, backing up the current server directory in case the upgrade process fails. In this example, the server properties are updated to use Java 8, and the Local DB backend is migrated to a JE backend: |
| | | The following example upgrades an OpenDJ 2.6.3 directory server, backing up the current server directory in case the upgrade process fails. In this example, the server properties are updated to use Java 11, and the Local DB backend is migrated to a JE backend: |
| | | |
| | | [source, console, subs="attributes"] |
| | | ---- |
| | | $ cd /path/to/ |
| | | $ sed -e "s/default.java-home=.*/default.java-home=\/path\/to\/jdk1.8/" \ |
| | | $ sed -e "s/default.java-home=.*/default.java-home=\/path\/to\/jdk11/" \ |
| | | opendj/config/java.properties \ |
| | | > opendj/config/java.properties.new ; \ |
| | | mv opendj/config/java.properties.new opendj/config/java.properties |
| | |
| | | Archiving concatenated schema....................................... 100% |
| | | |
| | | >>>> OpenDJ was successfully upgraded from version 2.6.3.12667 to |
| | | 4.9.1.build-hash |
| | | 5.0.0.build-hash |
| | | |
| | | |
| | | >>>> Performing post upgrade tasks |
| | |
| | | <parent> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-doc-maven-plugin</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-dsml-servlet</artifactId> |
| | |
| | | <dependencies> |
| | | <!-- Servlet API --> |
| | | <dependency> |
| | | <groupId>javax.servlet</groupId> |
| | | <artifactId>javax.servlet-api</artifactId> |
| | | <version>3.1.0</version> |
| | | <groupId>jakarta.servlet</groupId> |
| | | <artifactId>jakarta.servlet-api</artifactId> |
| | | <scope>provided</scope> |
| | | </dependency> |
| | | |
| | |
| | | <dependency> |
| | | <groupId>com.sun.xml.ws</groupId> |
| | | <artifactId>jaxws-ri</artifactId> |
| | | <version>2.3.7</version> |
| | | <version>4.0.3</version> |
| | | <type>pom</type> |
| | | </dependency> |
| | | |
| | |
| | | <plugin> |
| | | <groupId>org.codehaus.cargo</groupId> |
| | | <artifactId>cargo-maven3-plugin</artifactId> |
| | | <version>1.10.9</version> |
| | | <extensions>true</extensions> |
| | | <executions> |
| | | <execution> |
| | |
| | | </executions> |
| | | <configuration> |
| | | <container> |
| | | <containerId>tomcat9x</containerId> |
| | | <containerId>${maven.cargo.containerId}</containerId> |
| | | <type>embedded</type> |
| | | <systemProperties> |
| | | <file.encoding>UTF-8</file.encoding> |
| | |
| | | import java.util.logging.Level; |
| | | import java.util.logging.Logger; |
| | | |
| | | import javax.servlet.ServletConfig; |
| | | import javax.servlet.ServletException; |
| | | import javax.servlet.http.HttpServlet; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import jakarta.servlet.ServletConfig; |
| | | import jakarta.servlet.ServletException; |
| | | import jakarta.servlet.http.HttpServlet; |
| | | import jakarta.servlet.http.HttpServletRequest; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import javax.xml.XMLConstants; |
| | | import jakarta.xml.bind.JAXBContext; |
| | | import jakarta.xml.bind.JAXBElement; |
| | |
| | | import javax.xml.parsers.DocumentBuilderFactory; |
| | | import javax.xml.parsers.ParserConfigurationException; |
| | | import javax.xml.parsers.SAXParserFactory; |
| | | import javax.xml.soap.MessageFactory; |
| | | import javax.xml.soap.MimeHeaders; |
| | | import javax.xml.soap.SOAPBody; |
| | | import javax.xml.soap.SOAPConstants; |
| | | import javax.xml.soap.SOAPElement; |
| | | import javax.xml.soap.SOAPException; |
| | | import javax.xml.soap.SOAPHeader; |
| | | import javax.xml.soap.SOAPMessage; |
| | | import jakarta.xml.soap.MessageFactory; |
| | | import jakarta.xml.soap.MimeHeaders; |
| | | import jakarta.xml.soap.SOAPBody; |
| | | import jakarta.xml.soap.SOAPConstants; |
| | | import jakarta.xml.soap.SOAPElement; |
| | | import jakarta.xml.soap.SOAPException; |
| | | import jakarta.xml.soap.SOAPHeader; |
| | | import jakarta.xml.soap.SOAPMessage; |
| | | import javax.xml.validation.Schema; |
| | | import javax.xml.validation.SchemaFactory; |
| | | |
| | |
| | | <parent> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-embedded-server-examples</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | <name>OpenDJ Embedded Server</name> |
| | | <artifactId>opendj-embedded</artifactId> |
| | |
| | | <parent> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-grizzly</artifactId> |
| | |
| | | <opendj.osgi.import.additional> |
| | | org.forgerock.opendj.*;provide:=true |
| | | </opendj.osgi.import.additional> |
| | | <osgi.grizzly.import.version>[3.0,5)</osgi.grizzly.import.version> |
| | | </properties> |
| | | |
| | | <dependencies> |
| | |
| | | <artifactId>maven-bundle-plugin</artifactId> |
| | | <configuration> |
| | | <instructions> |
| | | <Import-Package> |
| | | org.glassfish.grizzly;version="${osgi.grizzly.import.version}", |
| | | org.glassfish.grizzly.attributes;version="${osgi.grizzly.import.version}", |
| | | org.glassfish.grizzly.filterchain;version="${osgi.grizzly.import.version}", |
| | | org.glassfish.grizzly.memory;version="${osgi.grizzly.import.version}", |
| | | org.glassfish.grizzly.nio.transport;version="${osgi.grizzly.import.version}", |
| | | org.glassfish.grizzly.ssl;version="${osgi.grizzly.import.version}", |
| | | org.glassfish.grizzly.strategies;version="${osgi.grizzly.import.version}", |
| | | org.glassfish.grizzly.threadpool;version="${osgi.grizzly.import.version}", |
| | | * |
| | | </Import-Package> |
| | | <!-- Export only public APIs of this module--> |
| | | <Export-Package> |
| | | com.forgerock.opendj.grizzly*, |
| | |
| | | <parent> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-ldap-sdk-examples</artifactId> |
| | |
| | | <parent> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-ldap-toolkit</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | <artifactId>opendj-legacy</artifactId> |
| | | <name>OpenDJ Legacy</name> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-maven-plugin</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | <artifactId>opendj-openidm-account-change-notification-handler</artifactId> |
| | | <name>OpenDJ account change notification handler for OpenIDM</name> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-deb</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-deb-standard</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-packages</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <profiles> |
| | |
| | | Section: misc |
| | | Priority: optional |
| | | Architecture: all |
| | | Depends: default-jre-headless | default-jre | java6-runtime | java7-runtime |
| | | Depends: default-jre-headless | default-jre | java11-runtime | java17-runtime | java21-runtime |
| | | Homepage: [[deb.doc.homepage.url]] |
| | | Maintainer: [[deb.maintainer]] |
| | | Description: [[deb.product.name]] |
| | |
| | | |
| | | RUN apk add --update --no-cache --virtual builddeps curl unzip \ |
| | | && apk upgrade --update --no-cache \ |
| | | && apk add bash openjdk8 \ |
| | | && apk add bash openjdk11 \ |
| | | && if [ -z "$VERSION" ] ; then VERSION="$(curl -i -o - --silent https://api.github.com/repos/OpenIdentityPlatform/OpenDJ/releases/latest | grep -m1 "\"name\"" | cut -d\" -f4)"; fi \ |
| | | && curl -L https://github.com/OpenIdentityPlatform/OpenDJ/releases/download/$VERSION/opendj-$VERSION.zip --output opendj-$VERSION.zip \ |
| | | && unzip opendj-$VERSION.zip \ |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-packages</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <profiles> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-msi</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-msi-standard</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-packages</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-msi</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-rpm</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-rpm-standard</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-packages</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <packaging>pom</packaging> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-svr4</artifactId> |
| | | <version>4.0.0-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-svr4-sandard</artifactId> |
| | | <packaging>pom</packaging> |
| | | <name>OpenDJ SVR4 Standard Package</name> |
| | | |
| | | <packaging>pom</packaging> |
| | | |
| | | <description> |
| | | This module generates a standard SVR4 OpenDJ version. |
| | | </description> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-packages</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-svr4</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-packages</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-rest2ldap-servlet</artifactId> |
| | |
| | | <plugin> |
| | | <groupId>org.codehaus.cargo</groupId> |
| | | <artifactId>cargo-maven3-plugin</artifactId> |
| | | <version>1.10.9</version> |
| | | <extensions>true</extensions> |
| | | <executions> |
| | | <execution> |
| | |
| | | </executions> |
| | | <configuration> |
| | | <container> |
| | | <containerId>tomcat9x</containerId> |
| | | <containerId>${maven.cargo.containerId}</containerId> |
| | | <type>embedded</type> |
| | | <systemProperties> |
| | | <file.encoding>UTF-8</file.encoding> |
| | |
| | | <parent> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-rest2ldap</artifactId> |
| | |
| | | * information: "Portions Copyright [year] [name of copyright owner]". |
| | | * |
| | | * Copyright 2012-2016 ForgeRock AS. |
| | | * Portions Copyright 2025 3A Systems LLC. |
| | | */ |
| | | package org.forgerock.opendj.rest2ldap; |
| | | |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | <artifactId>opendj-server-example-plugin</artifactId> |
| | | <name>OpenDJ Server Example Plugin</name> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | <artifactId>opendj-server-legacy</artifactId> |
| | | <packaging>jar</packaging> |
| | |
| | | <!-- mail --> |
| | | <dependency> |
| | | <groupId>com.sun.mail</groupId> |
| | | <artifactId>javax.mail</artifactId> |
| | | <artifactId>jakarta.mail</artifactId> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.github.stephenc.jcip</groupId> |
| | | <artifactId>jcip-annotations</artifactId> |
| | | <groupId>com.io7m.jcip</groupId> |
| | | <artifactId>com.io7m.jcip.annotations</artifactId> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | |
| | | <Embed-Dependency> |
| | | org.openidentityplatform.commons.persistit:core, |
| | | <!--je,--> |
| | | jcip-annotations |
| | | com.io7m.jcip.annotations |
| | | </Embed-Dependency> |
| | | </instructions> |
| | | </configuration> |
| | |
| | | <includes> |
| | | <include>**/org/slf4j/**</include> |
| | | <include>**/org/opends/server/loggers/slf4j/**</include> |
| | | <include>**/META-INF/services/org.slf4j.spi.SLF4JServiceProvider</include> |
| | | </includes> |
| | | <archive> |
| | | <index>false</index> |
| New file |
| | |
| | | /* |
| | | * The contents of this file are subject to the terms of the Common Development and |
| | | * Distribution License (the License). You may not use this file except in compliance with the |
| | | * License. |
| | | * |
| | | * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the |
| | | * specific language governing permission and limitations under the License. |
| | | * |
| | | * When distributing Covered Software, include this CDDL Header Notice in each file and include |
| | | * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL |
| | | * Header, with the fields enclosed by brackets [] replaced by your own identifying |
| | | * information: "Portions Copyrighted [year] [name of copyright owner]". |
| | | * |
| | | * Copyright 2025 3A SystemS LLC |
| | | */ |
| | | |
| | | package org.forgerock.opendj.slf4j; |
| | | |
| | | import org.opends.server.loggers.slf4j.OpenDJLoggerFactory; |
| | | import org.slf4j.ILoggerFactory; |
| | | import org.slf4j.IMarkerFactory; |
| | | import org.slf4j.helpers.BasicMDCAdapter; |
| | | import org.slf4j.helpers.BasicMarkerFactory; |
| | | import org.slf4j.spi.MDCAdapter; |
| | | import org.slf4j.spi.SLF4JServiceProvider; |
| | | |
| | | public class OpenDJServiceProvider implements SLF4JServiceProvider { |
| | | public static String REQUESTED_API_VERSION = "2.0.99"; // !final |
| | | |
| | | // LoggerFactory expects providers to initialize markerFactory as early as possible. |
| | | private final IMarkerFactory markerFactory; |
| | | // LoggerFactory expects providers to initialize their MDCAdapter field |
| | | // as early as possible, preferably at construction time. |
| | | private final MDCAdapter mdcAdapter; |
| | | |
| | | private ILoggerFactory loggerFactory; |
| | | |
| | | public OpenDJServiceProvider() { |
| | | markerFactory = new BasicMarkerFactory(); |
| | | mdcAdapter = new BasicMDCAdapter(); |
| | | } |
| | | |
| | | @Override |
| | | public ILoggerFactory getLoggerFactory() { |
| | | return loggerFactory; |
| | | } |
| | | |
| | | @Override |
| | | public IMarkerFactory getMarkerFactory() { |
| | | return markerFactory; |
| | | } |
| | | |
| | | @Override |
| | | public MDCAdapter getMDCAdapter() { |
| | | return mdcAdapter; |
| | | } |
| | | |
| | | @Override |
| | | public String getRequestedApiVersion() { |
| | | return REQUESTED_API_VERSION; |
| | | } |
| | | |
| | | @Override |
| | | public void initialize() { |
| | | loggerFactory = new OpenDJLoggerFactory(); |
| | | } |
| | | } |
| New file |
| | |
| | | /* |
| | | * The contents of this file are subject to the terms of the Common Development and |
| | | * Distribution License (the License). You may not use this file except in compliance with the |
| | | * License. |
| | | * |
| | | * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the |
| | | * specific language governing permission and limitations under the License. |
| | | * |
| | | * When distributing Covered Software, include this CDDL Header Notice in each file and include |
| | | * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL |
| | | * Header, with the fields enclosed by brackets [] replaced by your own identifying |
| | | * information: "Portions Copyright [year] [name of copyright owner]". |
| | | * |
| | | * Copyright 2025 3A Systems LLC |
| | | */ |
| | | |
| | | package org.forgerock.opendj.slf4j; |
| | |
| | | import java.util.TimeZone; |
| | | import java.util.UUID; |
| | | |
| | | import javax.mail.MessagingException; |
| | | import jakarta.mail.MessagingException; |
| | | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.forgerock.i18n.LocalizableMessageDescriptor.Arg2; |
| | |
| | | * |
| | | * Portions Copyright 2006-2007-2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013-2016 ForgeRock AS. |
| | | * Portions Copyright 2023-2024 3A Systems LLC. |
| | | * Portions Copyright 2023-2025 3A Systems LLC. |
| | | */ |
| | | package org.opends.server.config; |
| | | |
| | |
| | | import static org.opends.server.util.ServerConstants.MBEAN_BASE_DOMAIN; |
| | | import static org.opends.server.util.StaticUtils.isAlpha; |
| | | import static org.opends.server.util.StaticUtils.isDigit; |
| | | import static org.opends.server.schema.SchemaConstants.SYNTAX_INTEGER_OID; |
| | | |
| | | /** |
| | | * This class defines a JMX MBean that can be registered with the Directory |
| | |
| | | */ |
| | | package org.opends.server.replication.server.changelog.api; |
| | | |
| | | import javax.annotation.Generated; |
| | | import jakarta.annotation.Generated; |
| | | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | |
| | |
| | | import java.util.List; |
| | | import java.util.Properties; |
| | | |
| | | import javax.activation.DataHandler; |
| | | import javax.activation.FileDataSource; |
| | | import javax.mail.MessagingException; |
| | | import javax.mail.SendFailedException; |
| | | import javax.mail.Session; |
| | | import javax.mail.Transport; |
| | | import javax.mail.internet.InternetAddress; |
| | | import javax.mail.internet.MimeBodyPart; |
| | | import javax.mail.internet.MimeMessage; |
| | | import javax.mail.internet.MimeMultipart; |
| | | import jakarta.activation.DataHandler; |
| | | import jakarta.activation.FileDataSource; |
| | | import jakarta.mail.MessagingException; |
| | | import jakarta.mail.SendFailedException; |
| | | import jakarta.mail.Session; |
| | | import jakarta.mail.Transport; |
| | | import jakarta.mail.internet.InternetAddress; |
| | | import jakarta.mail.internet.MimeBodyPart; |
| | | import jakarta.mail.internet.MimeMessage; |
| | | import jakarta.mail.internet.MimeMultipart; |
| | | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.forgerock.i18n.LocalizableMessageBuilder; |
| | |
| | | } |
| | | } |
| | | message.setRecipients( |
| | | javax.mail.Message.RecipientType.TO, |
| | | jakarta.mail.Message.RecipientType.TO, |
| | | recipientAddresses); |
| | | |
| | | |
| | |
| | | private static final PlatformIMPL IMPL; |
| | | |
| | | /** The minimum java supported version. */ |
| | | public static final String JAVA_MINIMUM_VERSION_NUMBER = "8"; |
| | | public static final String JAVA_MINIMUM_VERSION_NUMBER = "11"; |
| | | |
| | | static |
| | | { |
| New file |
| | |
| | | org.forgerock.opendj.slf4j.OpenDJServiceProvider |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | |
| | | <artifactId>opendj-server-msad-plugin</artifactId> |
| | |
| | | <parent> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | </parent> |
| | | <artifactId>opendj-server</artifactId> |
| | | <name>OpenDJ Server NG</name> |
| | | <description> |
| | | OpenDJ LDAP embedded directory server. |
| | | </description> |
| | | <packaging>jar</packaging> |
| | | <packaging>bundle</packaging> |
| | | <properties> |
| | | <!-- Product information properties --> |
| | | <patchFixIds /> |
| | |
| | | <artifactId>opendj-cli</artifactId> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>javax.annotation</groupId> |
| | | <artifactId>javax.annotation-api</artifactId> |
| | | <version>1.3.2</version> |
| | | <groupId>jakarta.annotation</groupId> |
| | | <artifactId>jakarta.annotation-api</artifactId> |
| | | <version>2.0.0</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.sun.activation</groupId> |
| | | <artifactId>javax.activation</artifactId> |
| | | <version>1.2.0</version> |
| | | <groupId>jakarta.activation</groupId> |
| | | <artifactId>jakarta.activation-api</artifactId> |
| | | <version>2.0.1</version> |
| | | </dependency> |
| | | </dependencies> |
| | | <build><finalName>${project.groupId}.${project.artifactId}</finalName> |
| | |
| | | </executions> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.felix</groupId> |
| | | <artifactId>maven-bundle-plugin</artifactId> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-surefire-plugin</artifactId> |
| | | </plugin> |
| | |
| | | <modelVersion>4.0.0</modelVersion> |
| | | <groupId>org.openidentityplatform.opendj</groupId> |
| | | <artifactId>opendj-parent</artifactId> |
| | | <version>4.10.3-SNAPSHOT</version> |
| | | <version>5.0.0-SNAPSHOT</version> |
| | | <packaging>pom</packaging> |
| | | |
| | | <name>OpenDJ Directory Services Project</name> |
| | |
| | | <product.locales>ca_ES,es,de,fr,ja,ko,pl,zh_CN,zh_TW</product.locales> |
| | | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| | | <localized.jars.classifier>i18n</localized.jars.classifier> |
| | | <commons.version>2.4.1</commons.version> |
| | | <commons.version>3.0.0-SNAPSHOT</commons.version> |
| | | <freemarker.version>2.3.34</freemarker.version> |
| | | <metrics-core.version>4.2.30</metrics-core.version> |
| | | <maven.compiler.target>8</maven.compiler.target> |
| | | <maven.compiler.source>8</maven.compiler.source> |
| | | <maven.compiler.target>11</maven.compiler.target> |
| | | <maven.compiler.source>11</maven.compiler.source> |
| | | <!-- OSGi bundles properties --> |
| | | <opendj.osgi.import.additional /> |
| | | <!-- |
| | |
| | | <checkstyleVersion>5.5</checkstyleVersion> |
| | | <ant.contrib.version>1.0b3</ant.contrib.version> |
| | | <argLine>-Xmx512m</argLine> |
| | | <maven.cargo.containerId>tomcat10x</maven.cargo.containerId> |
| | | |
| | | <docHomepageUrl>https://doc.openidentityplatform.org/opendj/</docHomepageUrl> |
| | | <docWikiUrl>https://github.com/OpenIdentityPlatform/OpenDJ/wiki</docWikiUrl> |
| | |
| | | <type>pom</type> |
| | | <scope>import</scope> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.github.stephenc.jcip</groupId> |
| | | <artifactId>jcip-annotations</artifactId> |
| | | <version>1.0-1</version> |
| | | <groupId>com.io7m.jcip</groupId> |
| | | <artifactId>com.io7m.jcip.annotations</artifactId> |
| | | <version>2.0.0</version> |
| | | </dependency> |
| | | |
| | | <!-- OpenDJ SDK --> |
| | |
| | | <fork>true</fork> |
| | | <compilerArgs> |
| | | <arg>-XDignore.symbol.file</arg> |
| | | <arg>--add-exports</arg> |
| | | <arg>java.base/sun.security.x509=ALL-UNNAMED</arg> |
| | | <arg>--add-exports</arg> |
| | | <arg>java.base/sun.security.tools.keytool=ALL-UNNAMED</arg> |
| | | </compilerArgs> |
| | | </configuration> |
| | | </plugin> |
| | |
| | | </lifecycleMappingMetadata> |
| | | </configuration> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.codehaus.cargo</groupId> |
| | | <artifactId>cargo-maven3-plugin</artifactId> |
| | | <version>1.10.20</version> |
| | | <extensions>true</extensions> |
| | | </plugin> |
| | | </plugins> |
| | | </pluginManagement> |
| | | </build> |
| | |
| | | <module>opendj-packages</module> |
| | | </modules> |
| | | </profile> |
| | | <profile> |
| | | <id>set-compiler-release</id> |
| | | <activation> |
| | | <jdk>[9,)</jdk> |
| | | </activation> |
| | | <properties> |
| | | <maven.compiler.release>8</maven.compiler.release> |
| | | </properties> |
| | | </profile> |
| | | <profile> |
| | | <id>jdk16.options</id> |
| | | <id>jdk17.options</id> |
| | | <activation> |
| | | <jdk>[16,)</jdk> |
| | | <jdk>[17,)</jdk> |
| | | </activation> |
| | | <properties> |
| | | <argLine>-Xmx512m --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util.regex=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.naming/javax.naming.spi=ALL-UNNAMED</argLine> |
| | | <argLine>-Xmx512m --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util.regex=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.naming/javax.naming.spi=ALL-UNNAMED</argLine> |
| | | <maven.cargo.containerId>tomcat11x</maven.cargo.containerId> |
| | | </properties> |
| | | </profile> |
| | | <profile> |