websphere:不支持的配置属性:[permitAll]使用spring [英] websphere: Unsupported configuration attributes: [permitAll] using spring

查看:105
本文介绍了websphere:不支持的配置属性:[permitAll]使用spring的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误信息...

I get the following error...

Unsupported configuration attributes: [permitAll]

添加....

<sec:intercept-url pattern="/nonsecure/**" access="permitAll" />

我在使用Spring 2.5的Websphere.

I'm on Websphere with Spring 2.5.

任何人都可以帮忙吗?

杰夫·波特

推荐答案

您必须将 use-expressions 标记添加到安全xml中的http配置中,例如:

you have to add use-expressions tag to your http configuration in security xml for example:

<http auto-config="true" use-expressions="true">
...
...
</http>

这篇关于websphere:不支持的配置属性:[permitAll]使用spring的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆