Release v1.3
Add an expires
field into the database so that assertions can be set to expire.
Upgrade notes
People upgrading from v1.2 will need to extend their database schema with the following commands:
ALTER TABLE `AttributeFromSQL` ADD `id` INT UNSIGNED NOT NULL AUTO_INCREMENT FIRST, ADD PRIMARY KEY (id);
ALTER TABLE `AttributeFromSQL` ADD `expires` DATE DEFAULT '9999-12-31';
The default value for the date is set such that if expires
is not explicitly set, assertions expire at the end of [SQL] time. This preserves existing behaviour once the schema is extended.
If for any reason you cannot extend the schema, set ignoreExpiry => true
in your authproc config and the expires
field will never be checked. (The same can be done to allow already expired attributes to be asserted.)