Have you ever run this example ?
Hi all ; I am trying to run Spring Security and Wicket-auth-roles example. Url : http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html I implemented what it writes step by step but it gives : java.lang.IllegalArgumentException: Argument [[ctx]] cannot be null at org.apache.wicket.spring.injection.annot.SpringComponentInjector.init(SpringComponentInjector.java:93) at com.example.web.Setup.setListeners(Setup.java:41) at com.exaple.web.Setup.init(Setup.java:32) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:696) . Any idea ? Or simple simple simple Spring Security and Wicket integration example. Note : I remember my old commodore - 64 days. I wrote hundreds of basic code and then it gives : syntax error :) opps urghh ! But still love wicket and its examples -- Altuğ.
Re: Have you ever run this example ?
I don't see any ctx variable in that web page. On Fri, Aug 28, 2009 at 10:37 PM, Altuğ B. Altıntaş alt...@gmail.comwrote: Hi all ; I am trying to run Spring Security and Wicket-auth-roles example. Url : http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html I implemented what it writes step by step but it gives : java.lang.IllegalArgumentException: Argument [[ctx]] cannot be null at org.apache.wicket.spring.injection.annot.SpringComponentInjector.init(SpringComponentInjector.java:93) at com.example.web.Setup.setListeners(Setup.java:41) at com.exaple.web.Setup.init(Setup.java:32) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:696) . Any idea ? Or simple simple simple Spring Security and Wicket integration example. Note : I remember my old commodore - 64 days. I wrote hundreds of basic code and then it gives : syntax error :) opps urghh ! But still love wicket and its examples -- Altuğ. -- -- ~Mia は 最高!~ --
Re: Have you ever run this example ?
How can i add ctx variable ? I am new in Spring Security Thanks... 2009/8/28 Anders innocentl...@gmail.com I don't see any ctx variable in that web page. On Fri, Aug 28, 2009 at 10:37 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: Hi all ; I am trying to run Spring Security and Wicket-auth-roles example. Url : http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html I implemented what it writes step by step but it gives : java.lang.IllegalArgumentException: Argument [[ctx]] cannot be null at org.apache.wicket.spring.injection.annot.SpringComponentInjector.init(SpringComponentInjector.java:93) at com.example.web.Setup.setListeners(Setup.java:41) at com.exaple.web.Setup.init(Setup.java:32) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:696) . Any idea ? Or simple simple simple Spring Security and Wicket integration example. Note : I remember my old commodore - 64 days. I wrote hundreds of basic code and then it gives : syntax error :) opps urghh ! But still love wicket and its examples -- Altuğ. -- -- ~Mia は 最高!~ -- -- Altuğ.
Re: Have you ever run this example ?
I'm new to Spring Security and Wicket, too. You said you implemented step by step, but no ctx variable in that web page. Can you recheck again? And do you succeed to implement http://cwiki.apache.org/WICKET/spring.html ? If you implemented Spring + Wicket, then you can implement Spring Security + Wicket easily. (I think) On Fri, Aug 28, 2009 at 11:33 PM, Altuğ B. Altıntaş alt...@gmail.comwrote: How can i add ctx variable ? I am new in Spring Security Thanks... 2009/8/28 Anders innocentl...@gmail.com I don't see any ctx variable in that web page. On Fri, Aug 28, 2009 at 10:37 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: Hi all ; I am trying to run Spring Security and Wicket-auth-roles example. Url : http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html I implemented what it writes step by step but it gives : java.lang.IllegalArgumentException: Argument [[ctx]] cannot be null at org.apache.wicket.spring.injection.annot.SpringComponentInjector.init(SpringComponentInjector.java:93) at com.example.web.Setup.setListeners(Setup.java:41) at com.exaple.web.Setup.init(Setup.java:32) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:696) . Any idea ? Or simple simple simple Spring Security and Wicket integration example. Note : I remember my old commodore - 64 days. I wrote hundreds of basic code and then it gives : syntax error :) opps urghh ! But still love wicket and its examples -- Altuğ. -- -- ~Mia は 最高!~ -- -- Altuğ. -- -- ~Mia は 最高!~ --
Re: Have you ever run this example ?
Altug, It sounds like there is no bean factory set on your servlet context. Did you add Spring's context listener in web.xml? Regards - Cemal jWeekend OO Java Technologies, Wicket Training and Development http://jWeekend.com Altuğ B. Altıntaş wrote: How can i add ctx variable ? I am new in Spring Security Thanks... 2009/8/28 Anders innocentl...@gmail.com I don't see any ctx variable in that web page. On Fri, Aug 28, 2009 at 10:37 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: Hi all ; I am trying to run Spring Security and Wicket-auth-roles example. Url : http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html I implemented what it writes step by step but it gives : java.lang.IllegalArgumentException: Argument [[ctx]] cannot be null at org.apache.wicket.spring.injection.annot.SpringComponentInjector.init(SpringComponentInjector.java:93) at com.example.web.Setup.setListeners(Setup.java:41) at com.exaple.web.Setup.init(Setup.java:32) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:696) . Any idea ? Or simple simple simple Spring Security and Wicket integration example. Note : I remember my old commodore - 64 days. I wrote hundreds of basic code and then it gives : syntax error :) opps urghh ! But still love wicket and its examples -- Altuğ. -- -- ~Mia は 最高!~ -- -- Altuğ. -- View this message in context: http://www.nabble.com/Have-you-ever-run-this-example---tp25191082p25193012.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Have you ever run this example ?
I solved the problem ! I added Spring context listener + cglib 2.2.jar I run my first Spring Security Framework + wicket application. Thanks everybody ! Some notes : - Wicket example page ( http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html) is not clear enough - I used apache Ki (new name is Apache Shiro) on my previous application, i can really say it is very very simple and powerful. But Apache Shiro is going quite slow, there is no alpha release yet but Apache Shiro is promising. Thanks. 2009/8/28 jWeekend jweekend_for...@cabouge.com Altug, It sounds like there is no bean factory set on your servlet context. Did you add Spring's context listener in web.xml? Regards - Cemal jWeekend OO Java Technologies, Wicket Training and Development http://jWeekend.com Altuğ B. Altıntaş wrote: How can i add ctx variable ? I am new in Spring Security Thanks... 2009/8/28 Anders innocentl...@gmail.com I don't see any ctx variable in that web page. On Fri, Aug 28, 2009 at 10:37 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: Hi all ; I am trying to run Spring Security and Wicket-auth-roles example. Url : http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html I implemented what it writes step by step but it gives : java.lang.IllegalArgumentException: Argument [[ctx]] cannot be null at org.apache.wicket.spring.injection.annot.SpringComponentInjector.init(SpringComponentInjector.java:93) at com.example.web.Setup.setListeners(Setup.java:41) at com.exaple.web.Setup.init(Setup.java:32) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:696) . Any idea ? Or simple simple simple Spring Security and Wicket integration example. Note : I remember my old commodore - 64 days. I wrote hundreds of basic code and then it gives : syntax error :) opps urghh ! But still love wicket and its examples -- Altuğ. -- -- ~Mia は 最高!~ -- -- Altuğ. -- View this message in context: http://www.nabble.com/Have-you-ever-run-this-example---tp25191082p25193012.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Altuğ.