docs: @EventListener
      public void handleCasAuthenticationTransactionFailureEvent(final CasAuthenticationTransactionFailureEvent event) {
          if (this.casEventRepository != null) {
              val dto = prepareCasEvent(event);
              dto.setPrincipalId(event.getCredential().getId());
              dto.putEventId(CasAuthenticationPolicyFailureEvent.class.getSimpleName());
              this.casEventRepository.save(dto);
          }
      }