Example warning-intercept-config.xml file?

Cantor, Scott cantor.2 at osu.edu
Wed May 10 17:17:46 UTC 2023


My warning config for detecting expired passwords is below, but to do "something else also" is just another map entry.

-- Scott

    <util:map id="shibboleth.warning.ConditionMap">
        <entry key="expiring-password">
            <bean parent="shibboleth.Pair">
                <constructor-arg index="0">
                    <bean parent="shibboleth.Conditions.NOT">
                        <constructor-arg>
                            <bean class="net.shibboleth.idp.profile.logic.DateAttributePredicate"
                                c:attribute="passwordExpiration"
                                c:formatString="yyyyMMddHHmmssX"
                                p:resultIfMissing="true"
                                p:offset="-P14D" />
                        </constructor-arg>
                    </bean>
                </constructor-arg>
                <constructor-arg index="1">
                    <bean class="java.time.Duration" factory-method="parse" c:_0="PT8H" />
                </constructor-arg>
            </bean>
        </entry>
  </util:map>



More information about the users mailing list