Spring-security implementation using xml.
Hooking security context into custom user service, and creating user domain classes
adding team controller with preAuthorize annotations.
Handling the not authorized error from Spring Security