@Override
    public String[] resolveFrom(final JoinPoint target, final Exception exception) {
        val values = new HashMap<String, Object>();
        values.put("target", target.getTarget().toString());
        values.put("exception", exception.getMessage());
        return new String[]{toResourceString(values)};
    }
This is {@link MultifactorAuthenticationProviderBypassAuditResourceResolver}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-authentication-mfa-api/src/main/java/org/apereo/cas/authentication/bypass/audit/MultifactorAuthenticationProviderBypassAuditResourceResolver.java