Uploaded image for project: 'Identity Provider'
  1. Identity Provider
  2. IDP-606

relying-party-system.xml declares wrong class for shibboleth.ExplicitX509TrustEngine

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: Configuration
    • Labels:
      None

      Description

      Currently we have:

      <bean id="shibboleth.ExplicitX509TrustEngine"
         class="org.opensaml.security.trust.impl.ExplicitX509CertificateTrustEngine"
         c:resolver-ref="shibboleth.MetadataCredentialResolver" />
      

      The class should be: org.opensaml.security.trust.impl.ExplicitKeyTrustEngine.

      The X509 certificate one compares the entire certificate for equality. We just want the keys compared, not the whole cert. We have never really used the certificate one, I just implemented it way back in the early days of pre-2.0, b/c it was easy.

      This is a divergence from v2 (see the schema type "security:MetadataExplicitKey", and the MetadataExplicitKeyTrustEngineBeanDefinitionParser and related FactoryBean).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cantor.2@osu.edu Scott Cantor
              Reporter:
              putmanb@shibboleth.net Brent Putman
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 15 minutes
                  15m