java - Secured annotaion -


i've got servlet handles post , requests. requests available everyone, post requests role_admin only. if annotate method @secured("role_admin"), regular user catch

405 request method 'post' not supported

how can make servlet throw 403 instead?


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -