Hi, i also want to suggest tynamo tapestry-security.
As a quickstart is missing, i recommend this post: http://comments.gmane.org/gmane.comp.java.tynamo.user/287 With the instructions given there, you can quickly setup tapestry-security and use this as a starting point. With kind regards David Am 06.08.2013 16:46, schrieb Lenny Primak: > Wy don't you use the wonderful tynamo tapestry-security library. > It works great out of the box and easy to integrate. > > On Aug 6, 2013, at 3:10 AM, "Will N." <llcool_wil...@yahoo.fr> wrote: > >> Hi, >> I am trying secure some pages of my application as shown in this tutorial. >> http://tapestryjava.blogspot.co.uk/search/label/security >> But I am having following error message when I start the application. >> Since the RequiresLoginFilte class implements the ComponentRequestFilter >> interface, I am confused about the coertion error! >> >> >> [ERROR] ioc.Registry Error invoking service contribution method >> com.example.pms.services.PmsModule.contributeComponentRequestHandler(OrderedConfiguration): >> Could not find a coercion from type >> com.example.pms.services.RequiresLoginFilter to type >> org.apache.tapestry5.services.ComponentRequestFilter. >> [ERROR] ioc.Registry Operations trace: >> [ERROR] ioc.Registry [ 1] Realizing service ComponentRequestHandler >> [ERROR] ioc.Registry [ 2] Instantiating service ComponentRequestHandler >> implementation via >> org.apache.tapestry5.services.TapestryModule.buildComponentRequestHandler(List, >> ComponentRequestHandlerTerminator, Logger) (at TapestryModule.java:2690) >> [ERROR] ioc.Registry [ 3] Creating plan to invoke public >> org.apache.tapestry5.services.ComponentRequestHandler >> org.apache.tapestry5.services.TapestryModule.buildComponentRequestHandler(java.util.List,org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator,org.slf4j.Logger) >> [ERROR] ioc.Registry [ 4] Determining injection value for parameter #1 >> (java.util.List) >> [ERROR] ioc.Registry [ 5] Collecting ordered configuration for service >> ComponentRequestHandler >> [ERROR] ioc.Registry [ 6] Invoking >> com.example.pms.services.PmsModule.contributeComponentRequestHandler(OrderedConfiguration) >> (at PmsModule.java:146) >> [ERROR] TapestryModule.ComponentRequestHandler Construction of service >> ComponentRequestHandler failed: Error invoking service contribution method >> com.example.pms.services.PmsModule.contributeComponentRequestHandler(OrderedConfiguration): >> Could not find a coercion from type >> com.example.pms.services.RequiresLoginFilter to type >> org.apache.tapestry5.services.ComponentRequestFilter. >> org.apache.tapestry5.ioc.internal.OperationException: Error invoking service >> contribution method >> com.example.pms.services.PmsModule.contributeComponentRequestHandler(OrderedConfiguration): >> Could not find a coercion from type >> com.example.pms.services.RequiresLoginFilter to type >> org.apache.tapestry5.services.ComponentRequestFilter. >> at >> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:121) >> at >> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:88) >> at >> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:47) >> at >> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:76) >> at >> org.apache.tapestry5.ioc.internal.RegistryImpl.addToOrderedConfiguration(RegistryImpl.java:629) >> at >> org.apache.tapestry5.ioc.internal.RegistryImpl.getOrderedConfiguration(RegistryImpl.java:483) >> at >> org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$2.invoke(ServiceResourcesImpl.java:110)... >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org