This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes tiles2 - access denied page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tiles2 - access denied page" Watch "tiles2 - access denied page" New topic

tiles2 - access denied page

vivi pendler

Joined: Jan 20, 2009
Posts: 1
i'm using spring 2.5, tile 2.0.6 and spring-security 2.0.3 (i can't get any answer from spring forum, but the question is about tiles)

i want to display a custom access denied page when an authenticated user tries to access a page without
the role needed,for now i get a white empty page.
org.apache.tiles.impl.BasicTilesContainer: - Render request recieved for definition 'EditProduct'
org.apache.tiles.impl.BasicTilesContainer: - Access to definition 'EditProduct' denied. User not in role '[ACT_TEST_ACCESS_DENIED]

which is great - but now i would like the custom accsess denied page to be displayed.
my configuration:



BasicTilesContainer checks permission, but returns when user in unautherized - what's the best way to change that

I agree. Here's the link:
subject: tiles2 - access denied page
Similar Threads
Spring MVC Integration of Tiles Complete Example
Problems while Configuring Tiles in Spring MVC
[SOLVED] Spring 2.5 and tiles2 : can't get files to render
Not able to render view in Spring 2.5 with Tiles2
Spring Tiles, Multiple Controllers