[java-idp-plugin-vci] 03/06: Removed too early return statement
Codeberg
noreply at shibboleth.net
Tue Dec 9 07:21:58 UTC 2025
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch dev/DPOP
in repository java-idp-plugin-vci.
View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-vci/commit/6ca9b43177b54b52d7d55e8b0fe9025b54f5158b
commit 6ca9b43177b54b52d7d55e8b0fe9025b54f5158b
Author: jlauros <janne.lauros at csc.fi>
AuthorDate: Tue Dec 9 09:04:58 2025 +0200
Removed too early return statement
---
.../openidvci/profile/logic/OpenIDVCITokenManipulationStrategy.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/openid-vci-impl/src/main/java/org/geant/shibboleth/plugin/openidvci/profile/logic/OpenIDVCITokenManipulationStrategy.java b/openid-vci-impl/src/main/java/org/geant/shibboleth/plugin/openidvci/profile/logic/OpenIDVCITokenManipulationStrategy.java
index 5c262bf..7eb6679 100644
--- a/openid-vci-impl/src/main/java/org/geant/shibboleth/plugin/openidvci/profile/logic/OpenIDVCITokenManipulationStrategy.java
+++ b/openid-vci-impl/src/main/java/org/geant/shibboleth/plugin/openidvci/profile/logic/OpenIDVCITokenManipulationStrategy.java
@@ -85,10 +85,9 @@ public class OpenIDVCITokenManipulationStrategy
if (message instanceof AuthorizationRequest || message instanceof OpenIDVCITokenRequest) {
try {
List<OpenIDVCIAuthorizationDetail> details = authorizationDetailsStrategy.apply(profileRequestContext);
- if (details == null) {
- return null;
+ if (details != null) {
+ claims.put(AuthDetails, new ObjectMapper().writeValueAsString(details));
}
- claims.put(AuthDetails, new ObjectMapper().writeValueAsString(details));
} catch (JsonProcessingException e) {
log.warn("{} Failed parsing", e);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list