Heng Ha Security is lightweight security solution like Spring Security, support REST web service and realm privilege control.