Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 261
jeff porter Avatar asked Aug 02 '10 14:08

jeff porter


2 Answers

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

<http auto-config="true" use-expressions="true">
...
...
</http>
like image 91
A_J Avatar answered Nov 04 '22 09:11

A_J


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

like image 21
Luxspes Avatar answered Nov 04 '22 08:11

Luxspes