Re: Tapestry 5 with Spring Security - problem with unit tests.

2008-12-26 Thread Michał Jedynak
vocation is an interface and I >>> don't know how to initialize properly ComponentInvocationImpl. >>> Anyone care to help? >>> >>> >>> >>> >>> >>> -- >>> Michał Jedyn

Re: Tapestry 5 with Spring Security - problem with unit tests.

2008-12-26 Thread Mark Horn
; PageTester tester = new PageTester(appPackage, appName, >> "src/main/webapp"); >> Object[] context = new Object[]{ "abc", 123 }; >> Document doc = tester.invoke(new ComponentInvocation(new >> PageLinkTarget("MyPage"), context)); >> >> Howeve

Re: Tapestry 5 with Spring Security - problem with unit tests.

2008-12-22 Thread SergeEby
); > > However this doesn't work, ComponentInvocation is an interface and I > don't know how to initialize properly ComponentInvocationImpl. > Anyone care to help? > > > > > > -- > Michał Jedynak > >

Tapestry 5 with Spring Security - problem with unit tests.

2008-12-22 Thread Michał Jedynak
Hi there, I've integrated spring security to my sample tapestry5 application (I'm using version 5.0.18) based on tapestry-spring-security (http://www.localhost.nu/java/tapestry-spring-security), but now my unit tests that use PageTester don't work, because there is no Authentication object in Secu