Forums Register Login

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

+Pie Number of slices to send: Send
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]
+Pie Number of slices to send: Send
"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 .
My honeysuckle is blooming this year! Now to fertilize this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2995 times.
Similar Threads
problem with spring security
RichFaces + Spring Security -- Problem Load RichFaces
spring security roles issue
Spring Security Filter Chain Proxy help
spring security 3.1 login not working.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 00:37:39.