bdemers commented on issue #1179: URL: https://github.com/apache/shiro/issues/1179#issuecomment-1828779144
My guess is you need to make sure users have access to your access denied page (and you shouldn't need any custom code in your beans)? Maybe something like: ```ini [main] ... shiro.unauthorizedUrl = /access-denied [urls] ... /protected-page = roles["role1,role2"] /access-denied = authc ``` Users would need to be authenticated to view this page. This is just a guess, if this doesn't help you please point us to an example project we can take a look at it. -- 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]
