Watching https://youtu.be/9eoi1TViceM?t=2188 it might be useful if we offered a quick way to register a PrePostTemplateDefaults (deprecated and replaced by AnnotationTemplateExpressionDefaults) bean. Perhaps as a property.
Comment From: philwebb
It looks like this code reacts to the bean and there is a difference when the bean is present or not.
I think that gives us two potential properties, one for doing placeholder replacement and another for ignoring unknown placeholders.
Given the potential complexity, I think we should not do anything until Spring Security users ask for this feature.