websphere: Unsupported configuration attributes: [permitAll] using spring

后端 未结 2 473
温柔的废话
温柔的废话 2021-02-07 02:11

I get the following error...

Unsupported configuration attributes: [permitAll]

When adding ....



        
相关标签:
2条回答
  • 2021-02-07 03:08

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

    0 讨论(0)
  • 2021-02-07 03:09

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

    <http auto-config="true" use-expressions="true">
    ...
    ...
    </http>
    
    0 讨论(0)
提交回复
热议问题