Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
8aeb8e0
migrate to JDK 11 and javax -> jakarta initial commit
maximthomas Jan 17, 2025
178fce3
Merge remote-tracking branch 'origin/master' into update-jdk-11
maximthomas Jun 9, 2025
ab68b67
Bump maven-javadoc-plugin version
maximthomas Jun 9, 2025
d4e0511
Merge branch 'master' into update-jdk-11
maximthomas Jul 21, 2025
bc25010
Merge branch 'master' into update-jdk-11
maximthomas Jul 21, 2025
4ac7149
Update OpenDJ to 4.10.1
maximthomas Jul 21, 2025
196c894
take slf4j version from commons
maximthomas Jul 24, 2025
ed581e8
Merge branch 'update-slf4j' into update-jdk-11
maximthomas Jul 24, 2025
5b225a8
Support grizzly version from 3.0 to 4.x for OSGI
maximthomas Jul 29, 2025
fdb6fe9
Set min JDK 11 in GitHub workflows
maximthomas Jul 30, 2025
1b7cd46
Take GlassFish Grizzly version from commons
maximthomas Jul 30, 2025
e8fa6f8
Update copyright
maximthomas Jul 30, 2025
f9cf581
remove deprecated maven profile
maximthomas Jul 31, 2025
79077b3
Update OpenDJ to 5.0.0
maximthomas Jul 31, 2025
75358e5
Added SECURITY.md
maximthomas Jul 31, 2025
a76d5ab
Set project version 2.0.0
maximthomas Jul 31, 2025
d6be384
Merge remote-tracking branch 'origin/master' into update-jdk-11
maximthomas Jul 31, 2025
6a4989f
Fix java.lang.NoClassDefFoundError: jakarta/servlet/http/HttpServletR…
maximthomas Jul 31, 2025
45690ed
Update SECURITY.md
maximthomas Aug 4, 2025
6820fa9
Update Alpine Docker image to JDK 11
maximthomas Aug 4, 2025
bc5cc4b
Set version to ARGS
maximthomas Aug 4, 2025
7fdcd55
Update README.md
maximthomas Aug 4, 2025
1c8f5c1
remove deprecated platforms for Docker Alpine image
maximthomas Aug 5, 2025
dc9364a
update logback-classic to 1.3
maximthomas Aug 5, 2025
de20a07
Merge branch 'master' into update-jdk-11
maximthomas Aug 5, 2025
1ff378e
Update SECURITY.md
vharseko Aug 12, 2025
9e3f68f
Merge branch 'master' into update-jdk-11
vharseko Sep 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
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:
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
file: ./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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- 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
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
file: ./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 }}
6 changes: 3 additions & 3 deletions Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:8-jre-alpine
FROM alpine:latest

MAINTAINER Open Identity Platform Community <open-identity-platform-opendj@googlegroups.com>
LABEL org.opencontainers.image.authors="Open Identity Platform Community"

ENV USER="openicf"
ENV OPENICF_OPTS="-server -XX:+UseContainerSupport"
Expand All @@ -11,7 +11,7 @@ WORKDIR /opt

#COPY OpenICF-java-framework/openicf-zip/target/*.zip ./

RUN apk add --update --no-cache --virtual builddeps curl unzip \
RUN apk add --update --no-cache --virtual builddeps curl unzip openjdk11-jre \
&& apk upgrade --update --no-cache \
&& apk add bash \
&& bash -c 'if [ ! -z "$VERSION" ] ; then rm -rf ./*.zip ; curl -L https://github.com/OpenIdentityPlatform/OpenICF/releases/download/$VERSION/openicf-$VERSION.zip --output openicf-$VERSION.zip ; fi' \
Expand Down
2 changes: 1 addition & 1 deletion OpenICF-csvfile-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.openidentityplatform.openicf.connectors</groupId>
<artifactId>connectors-parent</artifactId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../OpenICF-java-framework/bundles-parent</relativePath>
</parent>
<groupId>org.openidentityplatform.openicf.connectors</groupId>
Expand Down
2 changes: 1 addition & 1 deletion OpenICF-databasetable-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>org.openidentityplatform.openicf.connectors</groupId>
<artifactId>connectors-parent</artifactId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../OpenICF-java-framework/bundles-parent</relativePath>
</parent>
<groupId>org.openidentityplatform.openicf.connectors</groupId>
Expand Down
2 changes: 1 addition & 1 deletion OpenICF-dbcommon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>org.openidentityplatform.openicf.framework</groupId>
<artifactId>framework</artifactId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../OpenICF-java-framework</relativePath>
</parent>
<groupId>org.openidentityplatform.openicf.connectors.misc</groupId>
Expand Down
5 changes: 3 additions & 2 deletions OpenICF-groovy-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"

Portions Copyrighted 2018-2024 3A Systems, LLC
Portions Copyrighted 2018-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>
<groupId>org.openidentityplatform.openicf.connectors</groupId>
<artifactId>connectors-parent</artifactId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../OpenICF-java-framework/bundles-parent</relativePath>
</parent>
<groupId>org.openidentityplatform.openicf.connectors</groupId>
Expand Down Expand Up @@ -236,6 +236,7 @@
<version>3.0.2</version>
<configuration>
<sourceEncoding>UTF-8</sourceEncoding>
<targetBytecode>1.8</targetBytecode>
</configuration>
<executions>
<execution>
Expand Down
2 changes: 1 addition & 1 deletion OpenICF-java-framework/bundles-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<parent>
<groupId>org.openidentityplatform.openicf.framework</groupId>
<artifactId>framework</artifactId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<groupId>org.openidentityplatform.openicf.connectors</groupId>
<artifactId>connectors-parent</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>org.openidentityplatform.openicf.framework</groupId>
<artifactId>framework</artifactId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>connector-framework-contract</artifactId>
<name>OpenICF Contract Tests</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>org.openidentityplatform.openicf.framework</groupId>
<artifactId>framework</artifactId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>connector-framework-internal</artifactId>
<packaging>bundle</packaging>
Expand Down
5 changes: 3 additions & 2 deletions OpenICF-java-framework/connector-framework-osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
with the fields enclosed by brackets [] replaced by
your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"

Portions Copyrighted 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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.openidentityplatform.openicf.framework</groupId>
<artifactId>framework</artifactId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>connector-framework-osgi</artifactId>
<packaging>bundle</packaging>
Expand Down Expand Up @@ -64,7 +66,6 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<parent>
<artifactId>framework</artifactId>
<groupId>org.openidentityplatform.openicf.framework</groupId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion OpenICF-java-framework/connector-framework-rpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<parent>
<artifactId>framework</artifactId>
<groupId>org.openidentityplatform.openicf.framework</groupId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
20 changes: 18 additions & 2 deletions OpenICF-java-framework/connector-framework-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<parent>
<artifactId>framework</artifactId>
<groupId>org.openidentityplatform.openicf.framework</groupId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -39,6 +39,7 @@
<properties>
<!-- maven-compiler-plugin -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<osgi.grizzly.version>[3.0,5)</osgi.grizzly.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -104,7 +105,6 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>

Expand Down Expand Up @@ -164,6 +164,22 @@
<extensions>true</extensions>
<configuration>
<instructions>
<Import-Package>
org.glassfish.grizzly;version="${osgi.grizzly.version}",
org.glassfish.grizzly.asyncqueue;version="${osgi.grizzly.version}",
org.glassfish.grizzly.attributes;version="${osgi.grizzly.version}",
org.glassfish.grizzly.filterchain;version="${osgi.grizzly.version}",
org.glassfish.grizzly.http;version="${osgi.grizzly.version}",
org.glassfish.grizzly.http.util;version="${osgi.grizzly.version}",
org.glassfish.grizzly.nio.transport;version="${osgi.grizzly.version}",
org.glassfish.grizzly.ssl;version="${osgi.grizzly.version}",
org.glassfish.grizzly.strategies;version="${osgi.grizzly.version}",
org.glassfish.grizzly.threadpool;version="${osgi.grizzly.version}",
org.glassfish.grizzly.utils;version="${osgi.grizzly.version}",
org.glassfish.grizzly.websockets;version="${osgi.grizzly.version}",
org.glassfish.grizzly.websockets.frametypes;version="${osgi.grizzly.version}",
*
</Import-Package>
<Bundle-Activator>org.forgerock.openicf.framework.osgi.internal.Activator</Bundle-Activator>
</instructions>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion OpenICF-java-framework/connector-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>org.openidentityplatform.openicf.framework</groupId>
<artifactId>framework</artifactId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>connector-framework</artifactId>
<packaging>bundle</packaging>
Expand Down
6 changes: 3 additions & 3 deletions OpenICF-java-framework/connector-server-grizzly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<parent>
<artifactId>framework</artifactId>
<groupId>org.openidentityplatform.openicf.framework</groupId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -66,8 +66,8 @@
<artifactId>grizzly-websockets</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>

<!-- Test Dependencies -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* Portions Copyrighted 2025 3A Systems LLC.
*/

package org.forgerock.openicf.framework.server;
Expand Down Expand Up @@ -106,7 +108,7 @@ public class ConnectorServer {
"SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA",
"SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA",
"SSL_RSA_WITH_RC4_128_MD5",
"TLS_EMPTY_RENEGOTIATION_INFO_SCSVFo", // per RFC 5746
"TLS_EMPTY_RENEGOTIATION_INFO_SCSV", // per RFC 5746
};
// @formatter:on

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* Portions Copyrighted 2025 3A Systems LLC.
*/

package org.forgerock.openicf.framework.server.grizzly;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import jakarta.servlet.ServletConfig;
import jakarta.servlet.ServletException;
import jakarta.servlet.http.HttpServlet;

import org.forgerock.openicf.framework.ConnectorFramework;
import org.glassfish.grizzly.websockets.WebSocketEngine;
Expand Down
25 changes: 20 additions & 5 deletions OpenICF-java-framework/connector-server-jetty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<parent>
<artifactId>framework</artifactId>
<groupId>org.openidentityplatform.openicf.framework</groupId>
<version>1.8.1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -48,15 +48,25 @@
</dependency>
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-server</artifactId>
<artifactId>websocket-jetty-server</artifactId>
<scope>provided</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.eclipse.jetty.websocket</groupId>-->
<!-- <artifactId>javax-websocket-server-impl</artifactId>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
<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>javax.servlet</groupId>-->
<!-- <artifactId>javax.servlet-api</artifactId>-->
<!-- <version>3.1.0</version>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->

<!-- Test Dependencies -->
<dependency>
Expand Down Expand Up @@ -121,7 +131,12 @@
<configuration>
<reuseForks>false</reuseForks>
<shutdown>kill</shutdown>
<forkCount>1</forkCount>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<argLine>-Dorg.eclipse.jetty.LEVEL=DEBUG</argLine>
<!-- <includes>-->
<!-- <include>AsyncRemotePlainConnectorInfoManagerTest.java</include>-->
<!-- </includes>-->
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,19 @@
* information: "Portions copyright [year] [name of copyright owner]".
*
* Copyright 2016 ForgeRock AS.
* Portions copyright 2025 3A Systems LLC.
*/

package org.forgerock.openicf.framework.server.jetty;


import org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest;
import org.eclipse.jetty.websocket.servlet.ServletUpgradeResponse;
import org.eclipse.jetty.websocket.server.JettyServerUpgradeRequest;
import org.eclipse.jetty.websocket.server.JettyServerUpgradeResponse;

import javax.security.auth.callback.NameCallback;

public interface Authenticator {

void authenticate(ServletUpgradeRequest request, ServletUpgradeResponse response,
void authenticate(JettyServerUpgradeRequest request, JettyServerUpgradeResponse response,
NameCallback callback);
}
Loading