views:

27

answers:

0

I want to write Authorization used the Spring Security.. Users data will be save in the couchDB.. I have problem with make it possible access to metods..

@PreAuthorize("hasAuthority('ROLE_ADMIN')") @Transactional public void deleteDriver(Driver driver) { dataService.deleteDrivers(driver); }.. .. This annotation(@PreAuthorize) not worked. I wrote.. ..into Aplication-context-security.xml

Thank you for responding...

related questions