Multiple Conditions -- expiring-password-intercept-config.xml

Losen, Stephen C (scl) scl at
Wed Dec 12 18:05:31 EST 2018

Hi Joshua,

You could convert expiring-password.vm to a series of #if tests and #parse commands.

#if (condition1)
#elseif (condition2)

This syntax may not be 100% correct, it’s just an illustration.  The view template has access to a bunch of stuff from the IDP, including the user attributes (I think) and the entityID of the SP (relying party). So you can use that info in your conditions.  See the IDP wiki and the distributed velocity view files for examples.

Stephen C. Losen
ITS - Systems and Storage
University of Virginia
scl at<mailto:scl at>    434-924-0640

From: users [mailto:users-bounces at] On Behalf Of Joshua Brodie
Sent: Wednesday, December 12, 2018 5:33 PM
To: users <users at>
Subject: Multiple Conditions -- expiring-password-intercept-config.xml

In expiring-password-intercept-config.xml --- is it possible to have multiple conditions -- say

Condition 1 --- go to expiring-password.vm

Condition 2 --- go to expiring-password2.vm (which we can create)?

Rationale: We have a number of departments who wish different messaging on pages.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list