<div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Hi Scott,</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">I looked at the intercept flow for expiring password and need some guidance. </div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">In the section below:</div><div class="gmail_default"><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><pre style="word-wrap:break-word;white-space:pre-wrap"><font face="monospace, monospace">    <bean id="shibboleth.expiring-password.Condition" class="net.shibboleth.idp.profile.logic.DateAttributePredicate"
            c:attribute="passwordExpiration" p:resultIfMissing="true">
        <constructor-arg name="formatter">
            <bean class="org.joda.time.format.DateTimeFormat" factory-method="forPattern" c:_0="yyyyMMddHHmmss'T'" />
        </constructor-arg>
        <property name="systemTimeOffset">
            <bean class="org.joda.time.Duration" factory-method="standardDays" c:_0="-14" />
        </property>
    </bean></font></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><font face="trebuchet ms, sans-serif">The </font><font face="monospace, monospace">net.shibboleth.idp.profile.logic.DateAttributePredicate</font><font face="trebuchet ms, sans-serif"> returns a boolean. And based on this the expiration warning view is displayed. </font></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><font face="trebuchet ms, sans-serif">Is there another class in the code which can return an int for the difference between now and the expiration date ?</font></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><font face="trebuchet ms, sans-serif">Thanks.</font></pre></pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 July 2016 at 22:30, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Any pointers ?<br>
<br>
Copy the code I changed into your own package and change my example to use it, I guess.<br>
<div class="HOEnZb"><div class="h5"><br>
-- Scott<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br></div>