Package org.eclipse.emf.cdo.server
Interface IRepositoryProtector
- All Superinterfaces:
org.eclipse.net4j.util.container.IContainer<IRepositoryProtector.UserInfo>
,org.eclipse.net4j.util.container.IManagedContainerProvider
,org.eclipse.net4j.util.event.INotifier
public interface IRepositoryProtector
extends org.eclipse.net4j.util.container.IContainer<IRepositoryProtector.UserInfo>, org.eclipse.net4j.util.container.IManagedContainerProvider
Protects a
repository
by authenticating users and, optionally, authorizing read and write operations.- Since:
- 4.20
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
static class
static class
static class
static class
static final class
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
addSecondaryRepository
(IRepository repository) getUserInfo
(String userID) boolean
void
void
void
removeSecondaryRepository
(IRepository repository) void
setAuthorizationStrategy
(IRepositoryProtector.AuthorizationStrategy authorizationStrategy) void
setRepository
(IRepository repository) void
setUserAuthenticator
(IRepositoryProtector.UserAuthenticator userAuthenticator) Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Methods inherited from interface org.eclipse.net4j.util.container.IManagedContainerProvider
getContainer
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Field Details
-
PRODUCT_GROUP
- See Also:
-
DEFAULT_TYPE
- See Also:
-
-
Method Details
-
isFirstTime
boolean isFirstTime() -
getRepository
IRepository getRepository() -
setRepository
-
getSecondaryRepositories
IRepository[] getSecondaryRepositories() -
addSecondaryRepository
-
removeSecondaryRepository
-
getUserAuthenticator
IRepositoryProtector.UserAuthenticator getUserAuthenticator() -
setUserAuthenticator
-
getAuthorizationStrategy
IRepositoryProtector.AuthorizationStrategy getAuthorizationStrategy() -
setAuthorizationStrategy
-
getRevisionAuthorizers
IRepositoryProtector.RevisionAuthorizer[] getRevisionAuthorizers() -
addRevisionAuthorizer
-
removeRevisionAuthorizer
-
getCommitHandlers
IRepositoryProtector.CommitHandler[] getCommitHandlers() -
addCommitHandler
-
removeCommitHandler
-
getUserInfo
-