Thanks, Taha, that really helped, I got it working. Ron
________________________________ From: Taha Hafeez <tawus.tapes...@gmail.com> To: Tapestry users <users@tapestry.apache.org> Sent: Wed, January 5, 2011 4:21:49 PM Subject: Re: questions regarding tapestry, shiro, tapestry-security and the hotel-booking-demo The configuration is in the AppModule particularly public static void contributeFactoryDefaults(MappedConfiguration<String, String> configuration) { configuration.override(SecuritySymbols.LOGIN_URL, "/signin"); configuration.override(SecuritySymbols.SUCCESS_URL, "/search"); configuration.override(SecuritySymbols.DEFAULTSIGNINPAGE, "/signin"); configuration.override(SecuritySymbols.SHOULD_LOAD_INI_FROM_CONFIG_PATH, "false"); } and public static void contributeWebSecurityManager(Configuration<Realm> configuration, @Inject AuthorizingRealm realm) { configuration.add(realm); } public static void contributeSecurityRequestFilter( OrderedConfiguration<FilterChainDefinition> configuration) { configuration.add("assets", new FilterChainDefinition(RequestConstants.ASSET_PATH_PREFIX + "**", "anon")); configuration.add("signin", new FilterChainDefinition("/signin**", "anon"), "after:assets"); configuration.add("signup", new FilterChainDefinition("/signup**", "anon"), "after:signin"); configuration.add("secured", new FilterChainDefinition("/**", "authc"), "after:signup"); } regards Taha On Wed, Jan 5, 2011 at 1:46 PM, Ronald Luke <ronald.l...@ymail.com> wrote: > Hello, guys, > > I am having a very hard time trying to figure out how to use shiro in > tapestry. > > Now I'm looking at the wonderful T5 hotel-booking-demo(using tynamo's > tapestry-security) code. If a visitor is not logged in , when she goes to > the > search page, she will be redirected to the signin page. Looking at the > Search.java, I don't understand how it works. Here's the code > http://ja.gs/Ce. I > don't see any service injected which can check if user logs in and > redirect. > > Please shed some light on this. > > Thanks much. > > Ron > > >