Using j_security_check in JSF2.0 (maybe even ICEFaces?)

  I'm creating kind of RIA using JSF2.0 (I'm using ICEFaces as well, but that's immaterial now). I want to stress that I never use full page refresh and I always use AJAX to update regions of page.
   Is there any way to implement  j_security_check that won't break my JSF life cycle and won't cause page refresh? ICEFaces answers are welcome but not required.
LVL 2
ffrreeaakkAsked:
Who is Participating?
 
ramazanyichCommented:
you can try approach which is described here http://www.javaworld.com/community/node/3675
0
 
Sathish David Kumar NArchitectCommented:
j_security_check is nothing but form security in Jsp it wont effect anything.

r u plan to use spring security??
0
 
ffrreeaakkAuthor Commented:
 
0
 
Sathish David Kumar NArchitectCommented:
@ffrreeaakk: is that correct answer your looking for ??????
 
0
 
ffrreeaakkAuthor Commented:
I was looking for a simple solution to implement security. I heard  j_security_check was  easy to implement, but it's not transparent to JSF. That's why I asked. Ramazanyich's solution was interesting but it was a hack. I considered Spring security but thet I discovered Servlet 3.0 methods login and logout.
These work great and fit JSF better than j_security_check and don't require any addtional libraries(like spring sec.).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.