[英]security:http and properties (Spring Security)
I am using Spring Security 3.0.6. 我使用的是Spring Security 3.0.6。 for modularity reasons, I would like to use properties in the security:http context.
出于模块化的原因,我想在security:http上下文中使用属性。
<security:http>
...
<security:intercept-url pattern="/path/to/my/url/*" access="${token}" />
...
</security:http>
Is that possible ? 那可能吗 ? If not, if there any workaround that could be used to obtain the same behavior ?
如果没有,是否有任何可用于获得相同行为的解决方法?
您可以使用标准的PropertyPlaceholderConfigurer 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.