This content has been marked as final.
Show 4 replies
-
1. Re: Integrating JSFUnit with Spring Security
ssilvert Nov 10, 2009 9:56 PM (in response to shuklarajesh)Hi,
Can you post the stack trace you are getting?
There was a thread about Spring Security awhile back. I'm not sure if your problem is the same or similar:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=147491
Perhaps the stack trace will tell the story.
Stan -
2. Re: Integrating JSFUnit with Spring Security
shuklarajesh Nov 12, 2009 10:48 AM (in response to shuklarajesh)It is the similar problem. Only issue using the OverrideSessionFilter approach is with the JSFUnitHttpSession constructor, It seems JSFUnit has a default constructor which is invisible from other packages
-
3. Re: Integrating JSFUnit with Spring Security
ssilvert Nov 17, 2009 1:30 PM (in response to shuklarajesh)"shuklarajesh" wrote:
It is the similar problem. Only issue using the OverrideSessionFilter approach is with the JSFUnitHttpSession constructor, It seems JSFUnit has a default constructor which is invisible from other packages
Hi,
Sorry I missed your latest post. Any chance you can rebuild JSFUnit with the constructor changed to public? I don't have any way to test Spring. If you can verify that the filter approach will work then I can add something to JSFUnit to make this work for you and all the others who are having trouble.
Thanks,
Stan -
4. Re: Integrating JSFUnit with Spring Security
shuklarajesh Nov 18, 2009 12:36 PM (in response to shuklarajesh)Thx Stan, I already rebuild the JSFUnit with the constructor changed to public and it seems to be working fine. But now i am seeing the managed bean as null which i have mentioned in the other thread