password expiration intercept code example request
David Alexander
david at ssosupport.com
Fri Jan 6 14:32:23 UTC 2023
I am working with a LDAP directory that keeps track of a password last
changed timestamp in YYYYMMDDHHMIZ format.
I was not able to find a Shib IdP 4.1.x example of how to compute a future
password expiration timestamp in attribute-resolver.xml (eg. password last
changed timestamp + 60 days = password expiration timestamp for intercept),
and I wanted to see if anyone had a working code example to perform this
date arithmetic.
I have something mocked up that chops up the timestamp, creates a date
object and adds the offset and shortens the date format to YYYY-MM-DD.
This sort of works with the intercept, but I wanted to see if someone has a
cleaner example.
Thanks,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20230106/d366dee5/attachment.htm>
More information about the users
mailing list