diff --git a/CITATION.cff b/CITATION.cff
index c198d3cf6..4858e89b4 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -24,8 +24,8 @@ preferred-citation:
doi: 10.3233/SHTI210060
type: proceedings
title: "Data Sharing Framework (DSF)"
-version: 2.1.2
-date-released: 2026-11-18
+version: 2.1.3
+date-released: 2026-11-23
url: https://dsf.dev
repository-code: https://github.com/datasharingframework/dsf
repository-artifact: https://github.com/datasharingframework/dsf/releases
diff --git a/dsf-bpe/dsf-bpe-process-api-v1-base/pom.xml b/dsf-bpe/dsf-bpe-process-api-v1-base/pom.xml
index c7815469f..69a9eb975 100644
--- a/dsf-bpe/dsf-bpe-process-api-v1-base/pom.xml
+++ b/dsf-bpe/dsf-bpe-process-api-v1-base/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/dsf-bpe-process-api-v1-impl/pom.xml b/dsf-bpe/dsf-bpe-process-api-v1-impl/pom.xml
index d4ba5c795..842dd23d8 100644
--- a/dsf-bpe/dsf-bpe-process-api-v1-impl/pom.xml
+++ b/dsf-bpe/dsf-bpe-process-api-v1-impl/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/dsf-bpe-process-api-v1-operaton/pom.xml b/dsf-bpe/dsf-bpe-process-api-v1-operaton/pom.xml
index 4934cba10..0852d8108 100644
--- a/dsf-bpe/dsf-bpe-process-api-v1-operaton/pom.xml
+++ b/dsf-bpe/dsf-bpe-process-api-v1-operaton/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/dsf-bpe-process-api-v1/pom.xml b/dsf-bpe/dsf-bpe-process-api-v1/pom.xml
index fa36fe7be..e10d7f813 100644
--- a/dsf-bpe/dsf-bpe-process-api-v1/pom.xml
+++ b/dsf-bpe/dsf-bpe-process-api-v1/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/dsf-bpe-process-api-v2-impl/pom.xml b/dsf-bpe/dsf-bpe-process-api-v2-impl/pom.xml
index 39f4c75b6..8af810b19 100644
--- a/dsf-bpe/dsf-bpe-process-api-v2-impl/pom.xml
+++ b/dsf-bpe/dsf-bpe-process-api-v2-impl/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/dsf-bpe-process-api-v2/pom.xml b/dsf-bpe/dsf-bpe-process-api-v2/pom.xml
index bd9f1e7d3..97f300b87 100644
--- a/dsf-bpe/dsf-bpe-process-api-v2/pom.xml
+++ b/dsf-bpe/dsf-bpe-process-api-v2/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/dsf-bpe-process-api/pom.xml b/dsf-bpe/dsf-bpe-process-api/pom.xml
index 16e759a06..7a616d184 100644
--- a/dsf-bpe/dsf-bpe-process-api/pom.xml
+++ b/dsf-bpe/dsf-bpe-process-api/pom.xml
@@ -25,7 +25,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/dsf-bpe-server-jetty/pom.xml b/dsf-bpe/dsf-bpe-server-jetty/pom.xml
index 8aacbff99..33bf43b12 100755
--- a/dsf-bpe/dsf-bpe-server-jetty/pom.xml
+++ b/dsf-bpe/dsf-bpe-server-jetty/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/dsf-bpe-server/pom.xml b/dsf-bpe/dsf-bpe-server/pom.xml
index 7a2bcbd87..b528f60e3 100755
--- a/dsf-bpe/dsf-bpe-server/pom.xml
+++ b/dsf-bpe/dsf-bpe-server/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/dsf-bpe-test-plugin-v1/pom.xml b/dsf-bpe/dsf-bpe-test-plugin-v1/pom.xml
index 70b3a8884..4fe638373 100644
--- a/dsf-bpe/dsf-bpe-test-plugin-v1/pom.xml
+++ b/dsf-bpe/dsf-bpe-test-plugin-v1/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/dsf-bpe-test-plugin-v2/pom.xml b/dsf-bpe/dsf-bpe-test-plugin-v2/pom.xml
index c353a78ed..795720e02 100644
--- a/dsf-bpe/dsf-bpe-test-plugin-v2/pom.xml
+++ b/dsf-bpe/dsf-bpe-test-plugin-v2/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/dsf-bpe-test-plugin/pom.xml b/dsf-bpe/dsf-bpe-test-plugin/pom.xml
index d173448c2..504e52ff6 100644
--- a/dsf-bpe/dsf-bpe-test-plugin/pom.xml
+++ b/dsf-bpe/dsf-bpe-test-plugin/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-bpe-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-bpe/pom.xml b/dsf-bpe/pom.xml
index 7fd4e0e13..f074ea5f5 100755
--- a/dsf-bpe/pom.xml
+++ b/dsf-bpe/pom.xml
@@ -24,7 +24,7 @@
dev.dsf
dsf-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-common/dsf-common-auth/pom.xml b/dsf-common/dsf-common-auth/pom.xml
index 8f5655678..0356b7985 100644
--- a/dsf-common/dsf-common-auth/pom.xml
+++ b/dsf-common/dsf-common-auth/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-common-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-common/dsf-common-build-info-reader/pom.xml b/dsf-common/dsf-common-build-info-reader/pom.xml
index 00672203c..9073d5dcc 100644
--- a/dsf-common/dsf-common-build-info-reader/pom.xml
+++ b/dsf-common/dsf-common-build-info-reader/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-common-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-common/dsf-common-config/pom.xml b/dsf-common/dsf-common-config/pom.xml
index 37845861a..b0bcaf61f 100644
--- a/dsf-common/dsf-common-config/pom.xml
+++ b/dsf-common/dsf-common-config/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-common-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-common/dsf-common-db/pom.xml b/dsf-common/dsf-common-db/pom.xml
index 705fdeca5..cd4f7f8fe 100644
--- a/dsf-common/dsf-common-db/pom.xml
+++ b/dsf-common/dsf-common-db/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-common-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-common/dsf-common-docker-secrets-reader/pom.xml b/dsf-common/dsf-common-docker-secrets-reader/pom.xml
index 20e7290ce..bf0a26dbb 100644
--- a/dsf-common/dsf-common-docker-secrets-reader/pom.xml
+++ b/dsf-common/dsf-common-docker-secrets-reader/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-common-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-common/dsf-common-documentation/pom.xml b/dsf-common/dsf-common-documentation/pom.xml
index 4d9bcd99d..f145f0a97 100644
--- a/dsf-common/dsf-common-documentation/pom.xml
+++ b/dsf-common/dsf-common-documentation/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-common-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-common/dsf-common-jetty/pom.xml b/dsf-common/dsf-common-jetty/pom.xml
index ca415af0a..0e8834e46 100644
--- a/dsf-common/dsf-common-jetty/pom.xml
+++ b/dsf-common/dsf-common-jetty/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-common-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfLoginService.java b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfLoginService.java
index c1156edb1..0aab10955 100644
--- a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfLoginService.java
+++ b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfLoginService.java
@@ -57,7 +57,7 @@ private UserIdentityImpl(Principal principal, Set roles)
@Override
public Subject getSubject()
{
- return null;
+ return new Subject(true, Set.of(principal), Set.of(), Set.of());
}
@Override
diff --git a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfOpenIdLoginService.java b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfOpenIdLoginService.java
index eefb8625c..5a8087851 100644
--- a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfOpenIdLoginService.java
+++ b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/auth/DsfOpenIdLoginService.java
@@ -22,6 +22,7 @@
import org.eclipse.jetty.security.openid.OpenIdConfiguration;
import org.eclipse.jetty.security.openid.OpenIdCredentials;
import org.eclipse.jetty.security.openid.OpenIdLoginService;
+import org.eclipse.jetty.security.openid.OpenIdUserPrincipal;
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.Session;
import org.slf4j.Logger;
@@ -54,16 +55,25 @@ public UserIdentity login(String identifier, Object credentials, Request request
@Override
public boolean validate(UserIdentity user)
{
- if (!(user.getUserPrincipal() instanceof PractitionerIdentity identity))
+ if (!(user.getUserPrincipal() instanceof OpenIdUserPrincipal identity))
+ {
+ logger.warn("Login principal not OpenId");
+ return false;
+ }
+
+ if (user.getSubject().getPrincipals(PractitionerIdentity.class).isEmpty())
+ {
+ logger.warn("No practitioner identity principal");
return false;
+ }
- if (identity.getCredentials().isEmpty())
+ if (identity.getCredentials() == null)
{
logger.warn("No credentials");
return false;
}
- if (!identity.isNotExpired())
+ if (identity.getCredentials().isExpired())
{
logger.debug("ID Token has expired");
return false;
diff --git a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/logging/Log4jConfiguration.java b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/logging/Log4jConfiguration.java
index e8c9ca909..3e08ab356 100644
--- a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/logging/Log4jConfiguration.java
+++ b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/logging/Log4jConfiguration.java
@@ -60,17 +60,17 @@ public Log4jTextLayout(boolean color)
public StringLayout consoleLayout(Configuration configuration)
{
if (color)
- return PatternLayout.newBuilder().withPattern(
+ return PatternLayout.newBuilder().setPattern(
"%highlight{%p %t - %C{1}.%M(%L) | %m}{FATAL=red, ERROR=red, WARN=yellow, INFO=white, DEBUG=white, TRACE=white}%n")
.build();
else
- return PatternLayout.newBuilder().withPattern("%p %t - %C{1}.%M(%L) | %m%n").build();
+ return PatternLayout.newBuilder().setPattern("%p %t - %C{1}.%M(%L) | %m%n").build();
}
@Override
public StringLayout fileLayout(Configuration configuration)
{
- return PatternLayout.newBuilder().withPattern("%d [%t] %-5p %c - %m%n").build();
+ return PatternLayout.newBuilder().setPattern("%d [%t] %-5p %c - %m%n").build();
}
}
@@ -87,17 +87,17 @@ public Log4jTextMdcLayout(boolean color)
public StringLayout consoleLayout(Configuration configuration)
{
if (color)
- return PatternLayout.newBuilder().withPattern(
+ return PatternLayout.newBuilder().setPattern(
"%highlight{%p %t - %C{1}.%M(%L)%notEmpty{ - %X} | %m}{FATAL=red, ERROR=red, WARN=yellow, INFO=white, DEBUG=white, TRACE=white}%n")
.build();
else
- return PatternLayout.newBuilder().withPattern("%p %t - %C{1}.%M(%L)%notEmpty{ - %X} | %m%n").build();
+ return PatternLayout.newBuilder().setPattern("%p %t - %C{1}.%M(%L)%notEmpty{ - %X} | %m%n").build();
}
@Override
public StringLayout fileLayout(Configuration configuration)
{
- return PatternLayout.newBuilder().withPattern("%d [%t] %-5p %c%notEmpty{ - %X} - %m%n").build();
+ return PatternLayout.newBuilder().setPattern("%d [%t] %-5p %c%notEmpty{ - %X} - %m%n").build();
}
}
@@ -180,11 +180,10 @@ public Log4jConfiguration(LoggerContext loggerContext, String name, String fileN
if (fileEnabled)
{
- Appender file = RollingFileAppender.newBuilder().setName("FILE")
- .withFileName("log/" + fileNamePart + ".log")
- .withFilePattern("log/" + fileNamePart + "_%d{yyyy-MM-dd}_%i.log.gz").setIgnoreExceptions(false)
+ Appender file = RollingFileAppender.newBuilder().setName("FILE").setFileName("log/" + fileNamePart + ".log")
+ .setFilePattern("log/" + fileNamePart + "_%d{yyyy-MM-dd}_%i.log.gz").setIgnoreExceptions(false)
.setLayout(fileLayout.fileLayout(this))
- .withPolicy(CompositeTriggeringPolicy.createPolicy(OnStartupTriggeringPolicy.createPolicy(1),
+ .setPolicy(CompositeTriggeringPolicy.createPolicy(OnStartupTriggeringPolicy.createPolicy(1),
TimeBasedTriggeringPolicy.newBuilder().build()))
.build();
addAppender(file);
@@ -246,10 +245,10 @@ private Appender createFileAppender(String appenderName, String fileNamePart, St
return null;
return RollingFileAppender.newBuilder().setName(appenderName + ".FILE")
- .withFileName("log/" + fileNamePart + ".log")
- .withFilePattern("log/" + fileNamePart + "_%d{yyyy-MM-dd}_%i.log.gz").setIgnoreExceptions(false)
+ .setFileName("log/" + fileNamePart + ".log")
+ .setFilePattern("log/" + fileNamePart + "_%d{yyyy-MM-dd}_%i.log.gz").setIgnoreExceptions(false)
.setLayout(layout)
- .withPolicy(CompositeTriggeringPolicy.createPolicy(OnStartupTriggeringPolicy.createPolicy(1),
+ .setPolicy(CompositeTriggeringPolicy.createPolicy(OnStartupTriggeringPolicy.createPolicy(1),
TimeBasedTriggeringPolicy.newBuilder().build()))
.build();
}
diff --git a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/logging/Log4jInitializer.java b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/logging/Log4jInitializer.java
index 0ed1b28da..f3952d201 100644
--- a/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/logging/Log4jInitializer.java
+++ b/dsf-common/dsf-common-jetty/src/main/java/dev/dsf/common/logging/Log4jInitializer.java
@@ -240,9 +240,9 @@ else if (STYLE_JSON_LOGSTASH.equalsIgnoreCase(value))
return configuration -> JsonTemplateLayout.newBuilder().setConfiguration(configuration)
.setEventTemplateUri(TemplateUri.LOGSTASH.getUri()).build();
else if (STYLE_TEXT.equalsIgnoreCase(value))
- return _ -> PatternLayout.newBuilder().withPattern("%d %m%n").build();
+ return _ -> PatternLayout.newBuilder().setPattern("%d %m%n").build();
else if (STYLE_TEXT_MDC.equalsIgnoreCase(value))
- return _ -> PatternLayout.newBuilder().withPattern("%d%notEmpty{ %X} %m%n").build();
+ return _ -> PatternLayout.newBuilder().setPattern("%d%notEmpty{ %X} %m%n").build();
else
throw new IllegalArgumentException(
"Value '" + value + "' for " + PREFIX + parameter + POSTFIX_STYLE + " not supported");
diff --git a/dsf-common/dsf-common-oidc/pom.xml b/dsf-common/dsf-common-oidc/pom.xml
index a0e1fee70..33b034105 100644
--- a/dsf-common/dsf-common-oidc/pom.xml
+++ b/dsf-common/dsf-common-oidc/pom.xml
@@ -25,7 +25,7 @@
dev.dsf
dsf-common-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-common/dsf-common-status/pom.xml b/dsf-common/dsf-common-status/pom.xml
index 79c3b4445..da85fd86a 100644
--- a/dsf-common/dsf-common-status/pom.xml
+++ b/dsf-common/dsf-common-status/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-common-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-common/dsf-common-ui/pom.xml b/dsf-common/dsf-common-ui/pom.xml
index 10e6129b5..5cef9b485 100644
--- a/dsf-common/dsf-common-ui/pom.xml
+++ b/dsf-common/dsf-common-ui/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-common-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-common/pom.xml b/dsf-common/pom.xml
index 184e6e5e2..c7c8597f8 100644
--- a/dsf-common/pom.xml
+++ b/dsf-common/pom.xml
@@ -24,7 +24,7 @@
dev.dsf
dsf-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-fhir/dsf-fhir-rest-adapter/pom.xml b/dsf-fhir/dsf-fhir-rest-adapter/pom.xml
index fd000cbdb..f31aaaaea 100755
--- a/dsf-fhir/dsf-fhir-rest-adapter/pom.xml
+++ b/dsf-fhir/dsf-fhir-rest-adapter/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-fhir-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-fhir/dsf-fhir-server-jetty/pom.xml b/dsf-fhir/dsf-fhir-server-jetty/pom.xml
index c641740dd..d7c80df4b 100755
--- a/dsf-fhir/dsf-fhir-server-jetty/pom.xml
+++ b/dsf-fhir/dsf-fhir-server-jetty/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-fhir-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-fhir/dsf-fhir-server/pom.xml b/dsf-fhir/dsf-fhir-server/pom.xml
index 2695262c5..d2af4143e 100755
--- a/dsf-fhir/dsf-fhir-server/pom.xml
+++ b/dsf-fhir/dsf-fhir-server/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-fhir-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-fhir/dsf-fhir-validation/pom.xml b/dsf-fhir/dsf-fhir-validation/pom.xml
index 9a8c0430a..1c527dea3 100644
--- a/dsf-fhir/dsf-fhir-validation/pom.xml
+++ b/dsf-fhir/dsf-fhir-validation/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-fhir-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-fhir/dsf-fhir-webservice-client/pom.xml b/dsf-fhir/dsf-fhir-webservice-client/pom.xml
index 198c48a8f..864740423 100755
--- a/dsf-fhir/dsf-fhir-webservice-client/pom.xml
+++ b/dsf-fhir/dsf-fhir-webservice-client/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-fhir-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-fhir/dsf-fhir-websocket-client/pom.xml b/dsf-fhir/dsf-fhir-websocket-client/pom.xml
index 829f5c769..ce0bd3ddd 100755
--- a/dsf-fhir/dsf-fhir-websocket-client/pom.xml
+++ b/dsf-fhir/dsf-fhir-websocket-client/pom.xml
@@ -23,7 +23,7 @@
dev.dsf
dsf-fhir-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-fhir/pom.xml b/dsf-fhir/pom.xml
index d553308e1..b270bbbee 100755
--- a/dsf-fhir/pom.xml
+++ b/dsf-fhir/pom.xml
@@ -24,7 +24,7 @@
dev.dsf
dsf-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-maven/dsf-maven-plugin/pom.xml b/dsf-maven/dsf-maven-plugin/pom.xml
index 3351402af..4ed81b3ce 100644
--- a/dsf-maven/dsf-maven-plugin/pom.xml
+++ b/dsf-maven/dsf-maven-plugin/pom.xml
@@ -26,7 +26,7 @@
dev.dsf
dsf-maven-pom
- 2.1.2
+ 2.1.3
diff --git a/dsf-maven/pom.xml b/dsf-maven/pom.xml
index 8a18ca578..fe71e6dc6 100644
--- a/dsf-maven/pom.xml
+++ b/dsf-maven/pom.xml
@@ -26,7 +26,7 @@
dev.dsf
dsf-pom
- 2.1.2
+ 2.1.3
diff --git a/pom.xml b/pom.xml
index c334bc922..8e47fbc3b 100755
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,7 @@
dev.dsf
dsf-pom
- 2.1.2
+ 2.1.3
pom