saml-idp.metadata.xml file not found

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Critical
    • Component/s: saml-plugin
    • None

      After upgrade to 1.0.2 the authentification fails with the exception

       

      java.io.FileNotFoundException: File '/var/lib/jenkins/saml-idp.metadata.xml' does not exist
      	at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:299)
      	at org.jenkinsci.plugins.saml.SamlFileResource.getInputStream(SamlFileResource.java:71)
      	at org.pac4j.saml.metadata.SAML2IdentityProviderMetadataResolver.resolve(SAML2IdentityProviderMetadataResolver.java:80)
      

       

       

      workaround create the saml-idp-metadata.xml file in the JENKINS_HOME folder with the IdP Metadata that you have in the configuration

       

       

       

            Assignee:
            Antonio Muñiz
            Reporter:
            Ivan Fernandez Calvo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: