Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15770

Fix NPE in SAML2 contrib with empty 'metadata' parameter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: Authentication

      Description

      SAMLAuthenticationProvider throws NPE when the metadata is not set in the contribution. This happens in the default "org.nuxeo.ecm.platform.login.onelogin.auth" config and can be seen in http://qa.nuxeo.org/jenkins/job/ondemand-testandpush-check-master-branch/38/consoleFull :

      23:30:28 ERROR [RegistrationInfoImpl] Failed to register extension to: service:org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService, xpoint: authenticators in component: service:org.nuxeo.ecm.platform.login.onelogin.auth
      23:30:28 java.lang.NullPointerException
      23:30:28 	at org.nuxeo.ecm.platform.auth.saml.SAMLAuthenticationProvider.initializeMetadataProvider(SAMLAuthenticationProvider.java:235)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.