Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Commit 0b68a72

Browse files
author
Dominik Frantisek Bucik
committed
refactor: 💡 Disable metadata signature check
1 parent 0e58108 commit 0b68a72

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

perun-oidc-server/src/main/java/cz/muni/ics/oidc/saml/IdpMetadataBeans.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ public ExtendedMetadataDelegate idpMetadata(SamlProperties samlProperties,
3838
fsmp.setParserPool(parserPool);
3939
mp = fsmp;
4040
}
41-
return new ExtendedMetadataDelegate(mp, extendedMetadata);
41+
ExtendedMetadataDelegate emd = new ExtendedMetadataDelegate(mp, extendedMetadata);
42+
emd.setMetadataRequireSignature(false);
43+
emd.setMetadataTrustCheck(false);
44+
return emd;
4245
}
4346

4447
}

0 commit comments

Comments
 (0)