Home  >  Forum  >  Spring
Post New Query

url permission in spring security


joined on
December 15,2015
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.
joined on
October 10,2013
Replied on December 15,2015

Write Answer








Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us