Skip to content

Commit 4e8f7b9

Browse files
committed
1 parent 1f7a7de commit 4e8f7b9

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 8.4.0
4+
- Only call the `/attribute-manipulation` in the `/introspect` endpoint when the Resource Server has an institutionGUID ([#1050](https://github.com/OpenConext/OpenConext-myconext/issues/1050))
5+
- Upgrade to Spring Boot 3.5.8
6+
37
## 8.3.0
48
- Only call the `/attribute-manipulation` in the `/introspect` endpoint when entityID's and institutionGUID's are different ([#1041](https://github.com/OpenConext/OpenConext-myconext/issues/1041))
59

oidc/src/main/java/oidc/eduid/AttributePseudonymisation.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ public Optional<Map<String, String>> pseudonymise(OpenIDClient resourceServer, O
6565
resourceServerEquals,
6666
institutionGuidEquals
6767
));
68-
68+
if (enabled && !StringUtils.hasText(resourceServerInstitutionGuid)) {
69+
LOG.warn("Skipping attribute manipulation and returning empty result for 'pseudonymise' because there is" +
70+
"no InstitutionGuid for RS: " + resourceServer.getClientId());
71+
return Optional.empty();
72+
}
6973
if (!enabled || !StringUtils.hasText(eduId) || !StringUtils.hasText(resourceServerInstitutionGuid) ||
7074
resourceServerEquals || institutionGuidEquals) {
7175
LOG.debug("Skipping attribute manipulation and returning empty result for 'pseudonymise'");

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.5.5</version>
8+
<version>3.5.8</version>
99
<relativePath/>
1010
</parent>
1111

0 commit comments

Comments
 (0)