digst / OIOSAML.Java

Other
11 stars 11 forks source link

IdP metadata load via File #57

Closed macwe closed 2 years ago

macwe commented 2 years ago

It is unfortunate, that dk.gov.oio.saml.model.IdPMetadata loads the IdP metadata via a File instance in line 267. The resource located via the metadataFilePath property in line 265 may refer to a file inside a JAR. In that case the URI is not understood by java.io.File, which throws this exception:

java.lang.IllegalArgumentException: URI is not hierarchical