Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46039

saml-idp.metadata.xml file not found

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • 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

       

       

       

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

              Created:
              Updated:
              Resolved: