-3

I would like to know can we integrate Spring security 4.2.X with JSF 2.0. I am facing issue with JSP pring security tags for role wise access. If yes please suggest.

1 Answers1

0

There's no problem with mixing JSF and Spring as long as you do things right, aka not mixing your beans.

Check in this post Spring JSF integration: how to inject a Spring component/service in JSF managed bean? , the answer from BalusC, it will probably help you.

Jorge.V
  • 1,329
  • 1
  • 13
  • 19
  • Better refer OP to his original post. – Kukeltje May 11 '18 at 06:24
  • I cant comment yet coz no 50 rep but wanted to help :/ – Jorge.V May 11 '18 at 06:32
  • Sorry, I always forget that. You can gain 50 rep quickly by editing/improving existing questions and/or answers. But can't you flag questions as duplicates either. Then you could have flagged it as a dup of the post refer to – Kukeltje May 11 '18 at 07:57
  • Thanks for your reply. I would like to integrate Spring Security with JSF using XML configuration. I am able to integrate Spring with JSF but my target is to integrate Spring Security also. The Versions i need are Spring 4.2.x and Spring Security 4.2.x – Praveen H May 11 '18 at 21:38