
July 24th, 2009 by

Lincoln Baxter III
If you are manipulating any FacesContext when doing any kind of Sevlet Forwards – such as
from a filter – you MUST release() any FacesContext you’ve created. The consequences of forgetting this are potentially dire.

July 23rd, 2009 by

Lincoln Baxter III
So you’ve got Spring Security up and running. Great! Now you’ve got a login page, and you just added a form on the global page menu to allow users to Login from any public page. There’s just one problem. When they log-in from a public page, they’re redirected to the default-login-url! Your users will have to re-navigate to the page they were already viewing when they logged in, or maybe they’ll just use the much dreaded “Back” button. That’s not a good interaction, but we have a solution.