@Override
    public boolean supports(final JoinPoint auditTarget, final Authentication authentication,
                            final Object resultValue, final Exception exception) {
        return authentication != null;
    }
This is {@link DefaultAuditPrincipalIdProvider}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-audit-api/src/main/java/org/apereo/cas/audit/spi/principal/DefaultAuditPrincipalIdProvider.java