I use tapestry-spring-security in my Tapestry app.

I added @Secured("ROLE_SYSADMIN") in one of my pages and also in my
AppModule I added:

public static void contributeApplicationDefaults(MappedConfiguration<String,
String> configuration)
        {
                configuration.add("spring-security.accessDenied.url", 
"/accessdenied");
        }

When I go to the page without the needed rights, I just get to see a
Tapestry error page with: 
org.springframework.security.access.AccessDeniedException
Access is denied

So it is working, but not showing me the custom made AccessDenied page. Am I
missing something that needs to be done?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Spring-security-access-denied-redirect-tp5710658.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to