@Override
    public void registerAuditPrincipalResolver(final String key, final PrincipalResolver resolver) {
        if (BeanSupplier.isNotProxy(resolver)) {
            this.auditPrincipalResolvers.putIfAbsent(key, resolver);
        }
    }
This is {@link DefaultAuditTrailRecordResolutionPlan}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-audit-api/src/main/java/org/apereo/cas/audit/spi/plan/DefaultAuditTrailRecordResolutionPlan.java