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

idp.home ending in slash breaks authn/conditions subflow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.2.0
    • Component/s: Spring Web Flow
    • Labels:
      None
    • Environment:

      Description

      If idp.home has a slash at the end the authn/conditions subflow generates broken ids.

      $ cat /local/shibboleth/idp/conf/logback.xml
      <?xml version="1.0" encoding="UTF-8"?>
      <configuration>
      […]
          <logger name="org.springframework" level="DEBUG"/>
      […]
      $ less +F /local/shibboleth/idp/logs/idp-process.log
      # -Didp.home=/local/shibboleth/idp/
      2015-09-11 08:40:33,562 - DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver:90] - Found key 'idp.home' in [systemProperties] with type [String] and value '/local/shibboleth/idp/'
      2015-09-11 08:40:33,562 - DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver:90] - Found key 'idp.home' in [environmentProperties] with type [String] and value '/local/shibboleth/idp/'
      […]
      2015-09-11 08:40:33,824 - DEBUG [org.springframework.core.io.support.PathMatchingResourcePatternResolver:423] - Resolved location pattern [/local/shibboleth/idp//flows/**/*-flow.xml] to resources [file [/local/shibboleth/idp/flows/authn/conditions/account-locked/account-locked-flow.xml], file [/local/shibboleth/idp/flows/authn/conditions/expiring-password/expiring-password-flow.xml], file [/local/shibboleth/idp/flows/authn/conditions/conditions-flow.xml], file [/local/shibboleth/idp/flows/authn/conditions/expired-password/expired-password-flow.xml]]
      2015-09-11 08:40:33,825 - DEBUG [org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl:99] - Registering flow definition 'file [/local/shibboleth/idp/flows/authn/conditions/account-locked/account-locked-flow.xml]' under id 'local/shibboleth/idp/flows/authn/conditions/account-locked'
      2015-09-11 08:40:33,825 - DEBUG [org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl:99] - Registering flow definition 'file [/local/shibboleth/idp/flows/authn/conditions/expiring-password/expiring-password-flow.xml]' under id 'local/shibboleth/idp/flows/authn/conditions/expiring-password'
      2015-09-11 08:40:33,825 - DEBUG [org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl:99] - Registering flow definition 'file [/local/shibboleth/idp/flows/authn/conditions/conditions-flow.xml]' under id 'local/shibboleth/idp/flows/authn/conditions'
      2015-09-11 08:40:33,825 - DEBUG [org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl:99] - Registering flow definition 'file [/local/shibboleth/idp/flows/authn/conditions/expired-password/expired-password-flow.xml]' under id 'local/shibboleth/idp/flows/authn/conditions/expired-password'
      […]
      # -Didp.home=/local/shibboleth/idp
      2015-09-11 08:53:37,899 - DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver:90] - Found key 'idp.home' in [systemProperties] with type [String] and value '/local/shibboleth/idp'
      2015-09-11 08:53:37,899 - DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver:90] - Found key 'idp.home' in [environmentProperties] with type [String] and value '/local/shibboleth/idp'
      […]
      2015-09-11 08:53:38,250 - DEBUG [org.springframework.core.io.support.PathMatchingResourcePatternResolver:423] - Resolved location pattern [/local/shibboleth/idp/flows/**/*-flow.xml] to resources [file [/local/shibboleth/idp/flows/authn/conditions/account-locked/account-locked-flow.xml], file [/local/shibboleth/idp/flows/authn/conditions/expiring-password/expiring-password-flow.xml], file [/local/shibboleth/idp/flows/authn/conditions/conditions-flow.xml], file [/local/shibboleth/idp/flows/authn/conditions/expired-password/expired-password-flow.xml]]
      2015-09-11 08:53:38,250 - DEBUG [org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl:99] - Registering flow definition 'file [/local/shibboleth/idp/flows/authn/conditions/account-locked/account-locked-flow.xml]' under id 'authn/conditions/account-locked'
      2015-09-11 08:53:38,250 - DEBUG [org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl:99] - Registering flow definition 'file [/local/shibboleth/idp/flows/authn/conditions/expiring-password/expiring-password-flow.xml]' under id 'authn/conditions/expiring-password'
      2015-09-11 08:53:38,250 - DEBUG [org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl:99] - Registering flow definition 'file [/local/shibboleth/idp/flows/authn/conditions/conditions-flow.xml]' under id 'authn/conditions'
      2015-09-11 08:53:38,251 - DEBUG [org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl:99] - Registering flow definition 'file [/local/shibboleth/idp/flows/authn/conditions/expired-password/expired-password-flow.xml]' under id 'authn/conditions/expired-password'
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tzeller@shibboleth.net Tom Zeller
              Reporter:
              simlu@su.se Simon Lundström
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: