Repost: Using JAAS with JSF