@Override
    public String resolveFrom(final JoinPoint auditTarget, final Exception exception) {
        if (argumentPosition >= 0
            && argumentPosition > auditTarget.getArgs().length - 1
            && auditTarget.getArgs()[argumentPosition].getClass().equals(argumentType)) {
            return resolveFrom((T) auditTarget.getArgs()[argumentPosition], auditTarget, exception);
        }
        return null;
    }
This is {@link BaseJoinPointArgumentAuditPrincipalIdProvider}.

@author Misagh Moayyed
@since 1.0
core/cas-server-core-audit-api/src/main/java/org/apereo/inspektr/common/spi/BaseJoinPointArgumentAuditPrincipalIdProvider.java