modify primaryPrincipalResolver's attributeRepository