jeff porter
jeff porter

Reputation: 6620

websphere: Unsupported configuration attributes: [permitAll] using spring

I get the following error...

Unsupported configuration attributes: [permitAll]

When adding ....

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

I'm on Websphere with Spring 2.5.

Can anyone help?

Jeff Porter

Upvotes: 22

Views: 17836

Answers (2)

A_J
A_J

Reputation: 1639

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

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

Upvotes: 57

Luxspes
Luxspes

Reputation: 6760

To be able to use expressions such as [permitAll] you have to add a a WebExpressionVoter to your AccessDecisionManager

Upvotes: 9

Related Questions