A simple java framework for authentication and authorization