Home  >  Forum  >  Spring
Post New Query

url permission in spring security



Asked on December 15, 2015
Hi,
@secured annotation is not working.
Spring security:4.0.1
spring boot:1.2.6

consider Delete_user permission can be given to some user and some users dont have permission.
At controller class, for delete method i included , @secured({"Delete_user"})
and i included in the configuration class, @EnableGlobalMethodSecurity(securedEnabled = true)

these changes only i have done. when i run the application, i m getting access denied page , its not checking whether the user has permission to that user or not.

Can u provide solution as soon as possible.


Write Answer







©2019 concretepage.com | Privacy Policy | Contact Us