[JIRA] Closed: (JOST-164) MetadataProvider minRefreshDelay cannot be set greater than 4 hours
Chad La Joie (JIRA)
noreply at shibboleth.net
Sat Oct 8 18:17:25 BST 2011
[ https://issues.shibboleth.net/jira/browse/JOST-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chad La Joie closed JOST-164.
-----------------------------
Resolution: Fixed
Fixed in rev 1550
> MetadataProvider minRefreshDelay cannot be set greater than 4 hours
> -------------------------------------------------------------------
>
> Key: JOST-164
> URL: https://issues.shibboleth.net/jira/browse/JOST-164
> Project: OpenSAML 2 - Java
> Issue Type: Bug
> Components: SAML 2
> Affects Versions: 2.5.1
> Environment: Solaris
> IdP 2.3.3
> Jdk 1.6.0_24
> Reporter: beall at usc.edu
> Assignee: Chad La Joie
> Priority: Minor
> Fix For: 2.5.2
>
>
> Metadata minRefreshDelay setting beyond PT4H fails by check against default maxRefreshDelay setting, rather than checking against whatever the new setting for maxRefreshDelay might be.
> Example:
> Works:
> <MetadataProvider id="idp-metadata" xsi:type="FilesystemMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata"
> metadataFile="/var/local/shibboleth2-idp/metadata/idp-metadata.xml" requireValidMetadata="false" maxRefreshDelay="P1D" minRefreshDelay="PT4H" />
> Does not work:
> <MetadataProvider id="idp-metadata" xsi:type="FilesystemMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata"
> metadataFile="/var/local/shibboleth2-idp/metadata/idp-metadata.xml" requireValidMetadata="false" maxRefreshDelay="P1D" minRefreshDelay="PT4H1M" />
> Error complaint is:
> 14:11:30.852 - - ERROR [edu.internet2.middleware.shibboleth.common.config.BaseService:188] - Configuration was not loaded for shibboleth.RelyingPartyConfigurationManager service, error creating components. The root cause of this error was: org.springframework.beans.PropertyBatchUpdateException: Failed properties: Property 'minRefreshDelay' threw exception; nested exception is java.lang.IllegalArgumentException: Minimum refresh delay must be less than or equal to maximum refresh delay
> 14:11:30.855 - - ERROR [edu.internet2.middleware.shibboleth.common.config.BaseReloadableService:197] - Error reloading configuration, upon configuration resource update, for service shibboleth.RelyingPartyConfigurationManager
> edu.internet2.middleware.shibboleth.common.service.ServiceException: Configuration was not loaded for shibboleth.RelyingPartyConfigurationManager service, error creating components.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list