Show how to hook in Spring Security for web authentication.