Interface CDORestRepositoryProvider
- All Superinterfaces:
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 Summary
Modifier and TypeMethodDescriptiongetAuthenticator(String alias) Returns the authenticator configured for one exposed repository alias.longgetUserIDRetentionTimeout(String alias) Returns the inactivity retention timeout for security identities used through one repository alias.Methods inherited from interface IRepositoryProvider
getRepository, getRepositoryNames
-
Method Details
-
getAuthenticator
Returns the authenticator configured for one exposed repository alias.- Parameters:
alias- the REST lookup alias- Returns:
- the authenticator, or
nullwhen the exposure is anonymous
-
getUserIDRetentionTimeout
Returns the inactivity retention timeout for security identities used through one repository alias.- Parameters:
alias- the REST lookup alias- Returns:
- milliseconds, where
-1retains until repository-context deactivation and0releases after the last active request
-