Extend default SAML IdP metadata validity period
authorNathan Kinder <nkinder@redhat.com>
Tue, 7 Apr 2015 18:53:52 +0000 (11:53 -0700)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Wed, 8 Apr 2015 23:48:29 +0000 (01:48 +0200)
commitd51e2b7ff3b1ea8b41bd43d2b554398fc9b3e636
tree0621261d222b55eec0a61d33924ebb7a3059353d
parent1ff89ed81d5c5b69c839ade65e3cee92daee30a1
Extend default SAML IdP metadata validity period

Our current default IdP metadata validity period is hardcoded to 30
days.  This is very limiting for anything other than a test environment
unless there is a way to allow SPs to automatically fetch updated metadata
on a regular interval.

This patch increases the default validity period to 5 years.  In addition,
a new option for ipsilon-server-install is provided to allow a different
validity period to be specified.

https://fedorahosted.org/ipsilon/ticket/103
Signed-off-by: Nathan Kinder <nkinder@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/providers/saml2idp.py