<div dir="ltr">Solved.<div>Working formatString is "yyyy-MM-DD'T'HH:mm:ssX"</div><div><br></div><div>-Brian</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 19, 2021 at 11:15 AM Brian Biggs <<a href="mailto:biggsb@sonoma.edu">biggsb@sonoma.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm having issues getting the formatString for the password expire date to match. I'm hoping someone here can offer some help with creating a pattern that will match.</div><div><br></div><div>I'm getting this in the logs:</div><div><br></div><div>2021-04-19 10:57:59,426 - XXX.XXX.XXX.XXX - WARN [net.shibboleth.idp.profile.logic.DateAttributePredicate:208] - 2030-12-31T08:00:00Z is not a valid date for the configured date parser<br>java.time.DateTimeException: Unable to obtain Instant from TemporalAccessor: {},ISO resolved to 2030-12-31T08:00 of type java.time.format.Parsed<br> at java.base/java.time.Instant.from(Instant.java:378)<br>Caused by: java.time.temporal.UnsupportedTemporalTypeException: Unsupported field: InstantSeconds<br> at java.base/java.time.format.Parsed.getLong(Parsed.java:203)<br><div><br></div><div>And in expiring-password-intercept-config.xml I have:</div><div><br></div><div><bean id="shibboleth.expiring-password.Condition"<br> class="net.shibboleth.idp.profile.logic.DateAttributePredicate"<br> c:attribute="passwordExpiration"<br> c:formatString="yyyy-MM-dd'T'HH:mm:ss'Z'"<br> p:resultIfMissing="true"<br> p:offset="-P10D" /><br></div><div><br></div><div>Any help much appreciated.<br></div><div>Thanks,</div><div>-Brian</div>-- <br><div dir="ltr"><div dir="ltr"><font face="arial, sans-serif">Lead Identity Mgmt/Systems Integration<br>Information Technology<br>Sonoma State University</font><div><font face="arial, sans-serif"><br></font></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font face="arial, sans-serif">Lead Identity Mgmt/Systems Integration<br>Information Technology<br>Sonoma State University</font><div><font face="arial, sans-serif"><br></font></div></div></div>