Error using Spring authorize tag to check to see if user is logged in?

前端 未结 2 1460
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-19 10:12

Trying to test to see if a user is logged in I am using the following code:

<%@ taglib prefix=\"sec\" uri=\"http://www.springframework.org/security/tags\" %&         


        
2条回答
  •  难免孤独
    2021-02-19 11:00

    To use expressions to secure individual URLs, you would first need to set the use-expressions attribute in the element to true

    See Spring Security doc

提交回复
热议问题