At present, there are a couple of duration parameters expressed in terms of longs representing milliseconds, for example MetadataService.refreshInterval, which might be initialised with "3600000". This is rather inconvenient and it would be much nicer to be able to say "P1H" in ISO8601 notation.
We can do this if we use the Shibboleth @Duration annotation on the bean definition and an appropriate conversionService definition imported from idp-conf.
At present, there are a couple of duration parameters expressed in terms of
long
s representing milliseconds, for exampleMetadataService.refreshInterval
, which might be initialised with"3600000"
. This is rather inconvenient and it would be much nicer to be able to say"P1H"
in ISO8601 notation.We can do this if we use the Shibboleth
@Duration
annotation on the bean definition and an appropriateconversionService
definition imported fromidp-conf
.