Domain model and ports of the authorization server. Plain Java: no Spring and no dependency on any outer module.