Reply To: rewrite dynamic rule

Splash Forums Rewrite Users rewrite dynamic rule Reply To: rewrite dynamic rule


Well, JSF Session Scoped Beans should be available in any Request. Only ConversationScoped beans have issues with filters (because they are implemented with a filter, but if FacesContext is null, that could be an issue…

If you are CDI, I would recommend injecting the SessionScoped bean directly into your rewrite configuration. To do this, you will likely need to include rewrite-integration-cdi:

Or for spring: