You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, Qute generates ValueResolver for all @Named beans. This could a bad thing for some cases in which it could potentially leak secrets to Qute templates.
Well, the whole idea of bean names (and @Named) is to make CDI beans accessible in non-typesafe environments, such as templates and EL. So if you don't want to use the beans in such environments then do not use bean names/@Named 🤷.
In other words, I don't think this is a valid requirement.
Description
At the moment, Qute generates ValueResolver for all
@Named
beans. This could a bad thing for some cases in which it could potentially leak secrets to Qute templates.Consider the following example:
Now, we can inject the Public and Private keys in Qute templates.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: