Username velocity variable in expiring-password.vm

Darren Struthers dstruthers at plu.edu
Wed Feb 1 14:13:57 EST 2017


Hello,

The default password.vm view attempts to set a username variable like so:

#set ($username =
$authenticationContext.getSubcontext('net.shibboleth.idp.authn.context.UsernamePasswordContext',
true).getUsername())

This does not seem to work in the context of expiring-password.vm. We are
attempting to customize the appearance of our expiring password
notification and would like the template to have access to the username if
that is possible. If anyone knows of a way to set a username variable in
this context, I'd appreciate some insight. We're running IdP 3.3.

Thank you,
Darren
-- 
Darren M. Struthers
Systems Developer

Information & Technology Services
Pacific Lutheran University
Tacoma, WA 98447
Phone: 253.535.7470
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170201/5ee998cb/attachment.html>


More information about the users mailing list