samsonsouley opened a new issue, #1179: URL: https://github.com/apache/shiro/issues/1179
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/shiro/issues?q=is%3Aissue) and found no similar issues. ### Question I am using Apache shiro 1.11.0 and i want to understand something. I have to redirect user which do not have specific role to the access deny page. What i have done is, as every page has it own managedbean and roles are base on page, i put a code in the constuctor of every managed bean which check if the user has permission or not. If not it redirect him to the accessdenided page. The problem it rendred first the page before it redirect the user to the access denied page. I found this topic [https://andy722.wordpress.com/2014/01/27/make-apache-shiro-allow-several-roles-to-access-resource/](url) on internet which show how we can do it. I have done the same and remove the checking in the constructor and the user still have access. Somebody can elp me understand and help me? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
