Skip to content

Commit

Permalink
Back to SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Dec 23, 2024
1 parent 869b5dc commit 4d8eae7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dashboard-gui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>dashboard</artifactId>
<version>13.0.3</version>
<version>13.0.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion dashboard-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>dashboard</artifactId>
<version>13.0.3</version>
<version>13.0.4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class MockShibbolethFilter extends GenericFilterBean {

public static final String idp = "http://mock-idp";//,"https://idp.surfnet.nl";//"https://localhost.surf.id"; //"https://idp.surf.nl"
public final String authnContextClass = "urn:oasis:names:tc:SAML:2.0:ac:classes:Password";
// public final String authnContextClass = "http://test2.surfconext.nl/assurance/loa2";
// public final String authnContextClass = "http://test2.surfconext.nl/assurance/loa2";
public String role = "admin";
// public String role = "super";

Expand Down Expand Up @@ -67,9 +67,17 @@ public void doFilter(ServletRequest servletRequest, ServletResponse response, Fi
break;
case "admin":
wrapper.setHeader(Shib_MemberOf.getValue(), "dashboard.admin");
wrapper.setHeader(Shib_SURFautorisaties.getValue(),
"urn:mace:surfnet.nl:surfnet.nl:sab:role:SURFconextverantwoordelijke;" +
"urn:mace:surfnet.nl:surfnet.nl:sab:organizationGUID:ad93daef-0911-e511-80d0-005056956c1a");
wrapper.setHeader(Shib_AuthnContext_Class.getValue(), authnContextClass);
break;
case "viewer":
wrapper.setHeader(Shib_MemberOf.getValue(), "dashboard.viewer");
wrapper.setHeader(Shib_SURFautorisaties.getValue(),
"urn:mace:surfnet.nl:surfnet.nl:sab:organizationGUID:ad93daef-0911-e511-80d0-005056956c1a;" +
"urn:mace:surfnet.nl:surfnet.nl:sab:role:SURFconextbeheerder");
wrapper.setHeader(Shib_AuthnContext_Class.getValue(), authnContextClass);
break;
default:
//nothing
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<groupId>org.openconext</groupId>
<artifactId>dashboard</artifactId>
<version>13.0.3</version>
<version>13.0.4-SNAPSHOT</version>
<name>dashboard</name>
<description>OpenConext-Dashboard</description>
<inceptionYear>2012</inceptionYear>
Expand Down

0 comments on commit 4d8eae7

Please sign in to comment.