Skip to content

Commit

Permalink
Added urn:oasis:names:tc:SAML:attribute:subject-id to the default att…
Browse files Browse the repository at this point in the history
…ributes
  • Loading branch information
oharsta committed Aug 29, 2023
1 parent d881c3b commit a8b5fdd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mujina-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>mujina</artifactId>
<version>8.0.4</version>
<version>8.0.5</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion mujina-idp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>mujina</artifactId>
<version>8.0.4</version>
<version>8.0.5</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
1 change: 1 addition & 0 deletions mujina-idp/src/main/java/mujina/idp/SsoController.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ private List<SAMLAttribute> attributes(Authentication authentication) {
break;
case "urn:mace:dir:attribute-def:mail":
case "urn:mace:dir:attribute-def:eduPersonPrincipalName":
case "urn:oasis:names:tc:SAML:attribute:subject-id":
replacements.put(key, List.of(mail));
break;
}
Expand Down
1 change: 1 addition & 0 deletions mujina-idp/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ idp:
[urn:mace:dir:attribute-def:mail]: "j.doe@example.com"
[urn:mace:terena.org:attribute-def:schacHomeOrganization]: "example.com"
[urn:mace:dir:attribute-def:eduPersonPrincipalName]: "j.doe@example.com"
[urn:oasis:names:tc:SAML:attribute:subject-id]: "j.doe@example.com"

spring:
mvc:
Expand Down
2 changes: 1 addition & 1 deletion mujina-sp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>mujina</artifactId>
<version>8.0.4</version>
<version>8.0.5</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<groupId>org.openconext</groupId>
<artifactId>mujina</artifactId>
<version>8.0.4</version>
<version>8.0.5</version>
<packaging>pom</packaging>

<parent>
Expand Down

0 comments on commit a8b5fdd

Please sign in to comment.