Hi all,
Is it possible to programmatically send a 403 or a 401 to the spring security plugin? What I would like to do is check if the user is able to edit itself or a member of certain roles and return a 403 if the user does not have the correct permission. This means that I can't use the @Secured annotation. If I just use response.sendError, I get a tomcat 401 or 403 page, which is not very stylish. I would like to get the same kind of redirects the @Secured annotation does.
--
Regards,
Andréas
Upplandsgatan 93 . 113 44 . Stockholm . Sweden
[hidden email]