'hasAnyRole() not working with Spring Security 5.4.6
I have changed my spring framework version from 4.1.4.RELEASE
to 5.3.6
and spring security version from 3.2.5.RELEASE
to 5.4.6
. I'm facing problem when using <@security.authorize access=="hasAnyRole()">
instead of <@security.authorize ifAnyGranted="">
inside HTML-tag.
I tried a lot of solutions but didn't work. Can some one help me here, Thanks in advance !!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|