Class CaldavManagedRefusalListener

java.lang.Object
org.exoplatform.caldav.listener.CaldavManagedRefusalListener

@Component public class CaldavManagedRefusalListener extends Object
Hands a change of a server's authentication to CaldavRelayService.forgetManagedRefusalsOn(long).

After the commit, with fallbackExecution: the refusals are forgotten once the change is stored, and a server edit may run without a Spring transaction. Run that way, the handler is called inline by the administrator's save, which has already stored the change: a failure to forget is logged, and never fails the save. The refusals left are retried by each user's next login.

  • Constructor Details

    • CaldavManagedRefusalListener

      public CaldavManagedRefusalListener()
  • Method Details

    • handleAuthenticationChanged

      @TransactionalEventListener(phase=AFTER_COMMIT, fallbackExecution=true) public void handleAuthenticationChanged(CaldavServerAuthenticationChangedEvent event)