Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ManagedBean is not accessible, using JSF2.2, Spring 4.0 and SpringSecurity 3.2  RSS feed

 
Imran-Ahmed Wah
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I am developing a Dynamic Web Application, using JSF 2.2, Spring Framework 4.0 and Spring Security 3.2. I, first, integrated JSF and Spring framework (JSF Page => ManagedBean => Service => DAO). It was working fine. But when I introduced Spring Security, I am unable to access ManagedBean in JSF page and getting no error at all. ManagedBean is not even invoked (even constructor is not called). I have been surfing for this issue for 2 days now, but couldn’t find any resolution.

My config files are as following:

faces-config.xml




Web.xml



applicationconContext.xml



securityConfig.xml



first-jsf-page.xhtml




ManagedBean



MyService



MyServiceImpl





If I remove "DelegatingFilterProxy" from Web.xml, everything works fine. Kindly help me out here.

I am using Eclipse and tomcat server.[/color]
 
Tim Holloway
Bartender
Posts: 18709
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"iaweb webwork",

Welcome to the JavaRanch!

We don't have many rules here at the JavaRanch, but we do insist that you use your Real Name and not some sort of "handle" or obvious alias. If you're not sure about this, see
http://www.javaranch.com/name.jsp .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!