Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-90460

User is no longer able to access the SAML SP after changing the SAML metadata refresh interval

    Details

      Description

      Steps to reproduce:

      1. Set up IdP and SP
      2. On SP, change the SAML metadata refresh interval and click Save
      3. Log out from SP
      4. Log in to SP

      Expected result:
      Expected to be able change the metadata refresh interval, log out, then log in successfully.

      Actual result:
      Step 2: the following is seen in the SP console

      2019-02-12 19:30:05.077 ERROR [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.liferay.saml.runtime.configuration.SamlConfiguration)][com_liferay_saml_opensaml_integration:97] bundle com.liferay.saml.opensaml.integration:2.0.0 (777)[com.liferay.saml.opensaml.integration.internal.metadata.MetadataManagerImpl(3946)] : The setMetadataResolver method has thrown an exception 
      net.shibboleth.utilities.java.support.component.DestroyedComponentException: Component 'null' has already been destroyed and can no longer be used.
      

      Entire stacktrace can be found here.

      Step 3: the following is seen in the SP console

      2019-02-12 19:34:56.570 WARN  [http-nio-9080-exec-8][SingleLogoutProfileImpl:160] Unable to verify single logout support: null
      

      Step 4: a blank screen is seen on the browser and the following is seen in the SP console

      2019-02-12 19:35:43.990 INFO  [http-nio-9080-exec-7][SamlSpSsoFilter:155] Failed to send Authn request: Unknown peer entity ID idp
      

      Reproduced on:
      Tomcat 9.0.10 + MySQL 5.7.25
      Portal master-private GIT ID: a9592e2d7fea42208023d053f0e6fedf4f6a2380

        Attachments

          Activity

            People

            • Assignee:
              timothy.pak Timothy Pak
              Reporter:
              timothy.pak Timothy Pak
              Participants of an Issue:
              Recent user:
              Timothy Pak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                18 weeks, 5 days ago

                Packages

                Version Package
                Master