Re: Seam security and pretty faces

Splash Forums PrettyFaces Users Seam security and pretty faces Re: Seam security and pretty faces

#21852

The injectParameters() method isn’t important in your case. Let me explain what PrettyFaces SHOULD do:

  • PrettyFilter should intercept requests like /events/123
  • PrettyFaces parses the URL and extracts the path parameters (i.e. the event ID)
  • PrettyFaces wraps the HttpServletResponse using PrettyFacesWrappedResponse class
  • PrettyFacesWrappedResponse now will return the values of the path parameters for calls to get getParameter()

What is really strange is that you are getting a 404 for the mapped page. Did you manually configure PrettyFaces in the web.xml? Could you post your web.xml?