Re: rewrite trailing slash and 3.3.0 snapshot

Splash Forums PrettyFaces Users rewrite trailing slash and 3.3.0 snapshot Re: rewrite trailing slash and 3.3.0 snapshot

#20987

First, what is the problem you are still experiencing with chain?

Second, am I correct in assuming that you are using this mapping to try to secure your admin .xhtml files?

There are better ways of doing that then by using PrettyFaces, since we are not really designed to be a security tool at this point (PrettyFaces 4 will make such things much easier.)

Seam Security comes to mind, or something like that.

Also, if you just map your faces servlet to .xhtml, .xhtml files are automatically secured.

<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping>