@Override
    public String[] resolveFrom(final JoinPoint auditableTarget, final Object returnValue) {
        if (returnValue instanceof final ResponseEntity entity) {
            return getAuditResourceFromResponseEntity(entity);
        }
        return ArrayUtils.EMPTY_STRING_ARRAY;
    }
This is {@link RestResponseEntityAuditResourceResolver}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-rest-api/src/main/java/org/apereo/cas/rest/audit/RestResponseEntityAuditResourceResolver.java