@Override
    public String[] resolveFrom(final JoinPoint joinPoint, final Exception ex) {
        val auditFormat = AuditTrailManager.AuditFormats.valueOf(properties.getAuditFormat().name());
        val service = (Service) AopUtils.unWrapJoinPoint(joinPoint).getArgs()[1];
        return new String[]{auditFormat.serialize(getServiceId(service))};
    }
Extracts the resource as a CAS service for the audit.

@author Scott Battaglia
@since 3.1.2
core/cas-server-core-audit-api/src/main/java/org/apereo/cas/audit/spi/resource/ServiceAuditResourceResolver.java