Create Java Rest Api Authentication Types In Api