Question about CacheKeyTemplate

Krinetzki, Stephan Krinetzki at itc.rwth-aachen.de
Thu Aug 14 12:05:49 UTC 2025


Hi Scott,

after some testing I found out:

* prefix:$var.get(0) doesn't expand the Variable and the Key is no literally "prefix:$var.get(0)"
* Correct is 'prefix:' + $var.get(0) or "prefix:" + $var.get(0)

Regards

Stephan

--
Stephan Krinetzki
 
IT Center
Gruppe: Anwendungsbetrieb und Cloud
Abteilung: Systeme und Betrieb
RWTH Aachen University
Seffenter Weg 23 
52074 Aachen
Tel: +49 241 80-24866
Fax: +49 241 80-22134
krinetzki at itc.rwth-aachen.de
www.itc.rwth-aachen.de

Social Media Kanäle des IT Centers:
https://blog.rwth-aachen.de/itc/ 
https://www.facebook.com/itcenterrwth 
https://www.linkedin.com/company/itcenterrwth
https://twitter.com/ITCenterRWTH
https://www.youtube.com/channel/UCKKDJJukeRwO0LP-ac8x8rQ​

-----Original Message-----
From: Cantor, Scott <cantor.2 at osu.edu> 
Sent: Thursday, August 14, 2025 1:52 PM
To: Krinetzki, Stephan <Krinetzki at itc.rwth-aachen.de>; Shib Users <users at shibboleth.net>
Subject: Re: Question about CacheKeyTemplate

> sadly the Key is not logged:

You're right.

There's a property to toggle on Velocity's more strict behavior to just blow up if the variable can't expand, that's probably what I would do to test it. I don't know what it is offhand, should be documented somewhere.

-- Scott


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7338 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20250814/bec910dc/attachment.p7s>


More information about the users mailing list