Package org.eclipse.emf.cdo.server

# Schnittstelle IRepositoryProtector

Alle Superschnittstellen:
  `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.

Seit:
  4.20
Autor:
  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.

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Schnittstelle
Beschreibung
`static class`
`IRepositoryProtector.AuthorizationStrategy`
`static class`
`IRepositoryProtector.CommitHandler`
`static class`
`IRepositoryProtector.Element`
`static class`
`IRepositoryProtector.RevisionAuthorizer`
`static class`
`IRepositoryProtector.UserAuthenticator`
`static class`
`IRepositoryProtector.UserInfo`
`static final class`
`IRepositoryProtector.UserInfoChangedEvent`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.container.IContainer

`org.eclipse.net4j.util.container.IContainer.Modifiable<E>, org.eclipse.net4j.util.container.IContainer.Persistable<E>, org.eclipse.net4j.util.container.IContainer.Persistence<E>`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier

`org.eclipse.net4j.util.event.INotifier.INotifier2`

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`static final String`
`DEFAULT_TYPE`
`static final String`
`PRODUCT_GROUP`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`void`
`addCommitHandler(IRepositoryProtector.CommitHandler handler)`
`void`
`addRevisionAuthorizer(IRepositoryProtector.RevisionAuthorizer authorizer)`
`void`
`addSecondaryRepository(IRepository repository)`
`IRepositoryProtector.AuthorizationStrategy`
`getAuthorizationStrategy()`
`IRepositoryProtector.CommitHandler[]`
`getCommitHandlers()`
`IRepository`
`getRepository()`
`IRepositoryProtector.RevisionAuthorizer[]`
`getRevisionAuthorizers()`
`IRepository[]`
`getSecondaryRepositories()`
`IRepositoryProtector.UserAuthenticator`
`getUserAuthenticator()`
`IRepositoryProtector.UserInfo`
`getUserInfo(String userID)`
`boolean`
`isFirstTime()`
`void`
`removeCommitHandler(IRepositoryProtector.CommitHandler handler)`
`void`
`removeRevisionAuthorizer(IRepositoryProtector.RevisionAuthorizer authorizer)`
`void`
`removeSecondaryRepository(IRepository repository)`
`void`
`setAuthorizationStrategy(IRepositoryProtector.AuthorizationStrategy authorizationStrategy)`
`void`
`setRepository(IRepository repository)`
`void`
`setUserAuthenticator(IRepositoryProtector.UserAuthenticator userAuthenticator)`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.container.IContainer

`getElements, isEmpty`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.container.IManagedContainerProvider

`getContainer`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier

`addListener, getListeners, hasListeners, removeListener`

## Felddetails

### PRODUCT_GROUP

static final String PRODUCT_GROUP

Siehe auch:
  - Konstantenfeldwerte

### DEFAULT_TYPE

static final String DEFAULT_TYPE

Siehe auch:
  - Konstantenfeldwerte

## Methodendetails

### isFirstTime

boolean isFirstTime()

### getRepository

IRepository getRepository()

### setRepository

void setRepository(IRepository repository)

### getSecondaryRepositories

IRepository[] getSecondaryRepositories()

### addSecondaryRepository

void addSecondaryRepository(IRepository repository)

### removeSecondaryRepository

void removeSecondaryRepository(IRepository repository)

### getUserAuthenticator

IRepositoryProtector.UserAuthenticator getUserAuthenticator()

### setUserAuthenticator

void setUserAuthenticator(IRepositoryProtector.UserAuthenticator userAuthenticator)

### getAuthorizationStrategy

IRepositoryProtector.AuthorizationStrategy getAuthorizationStrategy()

### setAuthorizationStrategy

void setAuthorizationStrategy(IRepositoryProtector.AuthorizationStrategy authorizationStrategy)

### getRevisionAuthorizers

IRepositoryProtector.RevisionAuthorizer[] getRevisionAuthorizers()

### addRevisionAuthorizer

void addRevisionAuthorizer(IRepositoryProtector.RevisionAuthorizer authorizer)

### removeRevisionAuthorizer

void removeRevisionAuthorizer(IRepositoryProtector.RevisionAuthorizer authorizer)

### getCommitHandlers

IRepositoryProtector.CommitHandler[] getCommitHandlers()

### addCommitHandler

void addCommitHandler(IRepositoryProtector.CommitHandler handler)

### removeCommitHandler

void removeCommitHandler(IRepositoryProtector.CommitHandler handler)

### getUserInfo

IRepositoryProtector.UserInfo getUserInfo(String userID)