Interface CDORestRepositoryProvider

All Superinterfaces:
IRepositoryProvider

public interface CDORestRepositoryProvider extends IRepositoryProvider
Provides repository-specific REST authentication and identity-retention settings in addition to repository lookup.

A service can still use a plain IRepositoryProvider; such providers have no repository-specific authenticator and use the default retention timeout. Implementations of this extension should return stable settings for each configured alias while the corresponding repository exposure is active.

Author:
Eike Stepper
  • Method Details

    • getAuthenticator

      CDORestAuthenticator getAuthenticator(String alias)
      Returns the authenticator configured for one exposed repository alias.
      Parameters:
      alias - the REST lookup alias
      Returns:
      the authenticator, or null when the exposure is anonymous
    • getUserIDRetentionTimeout

      long getUserIDRetentionTimeout(String alias)
      Returns the inactivity retention timeout for security identities used through one repository alias.
      Parameters:
      alias - the REST lookup alias
      Returns:
      milliseconds, where -1 retains until repository-context deactivation and 0 releases after the last active request