@Override
    public String[] resolveFrom(final JoinPoint joinPoint, final Object returnValue) {
        val resolvers = (Collection<? extends MetadataResolver>) returnValue;
        val values = new HashMap<>();
        values.put("resolvers", resolvers.stream().map(MetadataResolver::getId).collect(Collectors.joining(",")));

        if ("method-execution".equals(joinPoint.getStaticPart().getKind())) {
            val jp = (MethodInvocationProceedingJoinPoint) joinPoint;
            val service = (SamlRegisteredService) jp.getArgs()[0];
            values.put("name", service.getName());
            values.put("metadataLocation", service.getMetadataLocation());
        }
        return new String[]{auditFormat.serialize(values)};
    }
This is {@link SamlMetadataResolverAuditResourceResolver}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-saml-idp-web/src/main/java/org/apereo/cas/support/saml/web/idp/audit/SamlMetadataResolverAuditResourceResolver.java