I have a big problem , i have a web application (using spring, hibernate, JSF, Icefaces, and spring-security), the problème is : to use IceFaces library we have to use xhtml web pages only, and it is not compatible with spring-security ( which work only with jsp files), my question is how to use jsp files with IceFaces component so i can use spring-security tags also
I haven't done that much with Spring Security, but I'm doubtful that it really has trouble with xhtml (facelets) JSF pages. Spring is too good at keeping on top of things.
One thing that JSF in general - Facelets or otherwise - does require that traditional J2EE doesn't is the use of the "redirect" navigation element to ensure that the rules are being checked properly. That's because the container security checks URLs, not resource filenames, and the redirect indicator ensures that references to secure resources (such as xhtml pages) aren't made using insecure URLs.
An IDE is no substitute for an Intelligent Developer.
Joined: Sep 09, 2008
First Thank you for your reply.
the problem is resolved, what we done is adding a new library called facelets-jsf-spring-taglib and in xhtml files we have to add the namespace xmlns:security="http://www.springframework.org/security/facelets/tags"