Interface ScimObserver


@ThreadSafe public interface ScimObserver
Fixed redacted events for SCIM operations. Hooks must be fast, deterministic and thread-safe. The facade contains ordinary hook failures and restores interruption; fatal VM errors escape. Events never carry request bodies, filters, identifiers, credentials or arbitrary exceptions.
Since:
1.0.0
  • Method Details

    • disabledInstance

      @CheckReturnValue static @NonNull ScimObserver disabledInstance()
      Returns the shared observer whose hooks do nothing.
      Returns:
      the disabled observer
      Since:
      1.0.0
    • willProcess

      default void willProcess(@NonNull ScimObserver.Operation operation)
      Called once before a public processing operation.
      Parameters:
      operation - the fixed operation kind
      Since:
      1.0.0
    • didProcess

      Called once for checked completion, including an expected rejection, of a public processing operation. An unexpected processing fault instead calls didFailToProcess, even when a fixed error result is returned to the caller.
      Parameters:
      operation - the fixed operation kind
      outcome - the fixed result classification
      Since:
      1.0.0
    • didFailToProcess

      Called once when an unexpected processing fault is contained as a fixed internalError result. This replaces didProcess for that operation; the caller still receives its fixed error outcome. Events disclose no fault payload. Interruption is preserved, and fatal VM errors escape.
      Parameters:
      operation - the fixed operation kind
      Since:
      1.0.0
    • didUseCompatibilityFeature

      Called once per feature actually used during a public operation.
      Parameters:
      feature - the explicitly configured fixed feature
      Since:
      1.0.0