FreeIPA - Password Expiration

Prashant Bapat prashant at apigee.com
Sat Jul 9 12:29:12 EDT 2016


Hi Scott,

I looked at the intercept flow for expiring password and need some
guidance.

In the section below:

    <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>

The net.shibboleth.idp.profile.logic.DateAttributePredicate returns a
boolean. And based on this the expiration warning view is displayed.

Is there another class in the code which can return an int for the
difference between now and the expiration date ?

Thanks.


On 6 July 2016 at 22:30, Cantor, Scott <cantor.2 at osu.edu> wrote:

> > Any pointers ?
>
> Copy the code I changed into your own package and change my example to use
> it, I guess.
>
> -- Scott
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160709/16eae4f0/attachment.html>


More information about the users mailing list