Sample with JSF2 / PrimeFaces / PrettyFace / Spring / Spring Security (Remember me) / Spring JPA