Package org.eclipse.emf.cdo.spi.server
Schnittstelle InternalSessionManager
- Alle Superschnittstellen:
org.eclipse.net4j.util.container.IContainer<ISession>
,org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
,org.eclipse.net4j.util.event.INotifier
,ISessionManager
public interface InternalSessionManager
extends ISessionManager, org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
If the meaning of this type isn't clear, there really should be more of a description here...
- Seit:
- 3.0
- 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
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
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungauthenticateUser
(IAuthenticationProtocol sessionProtocol) Challenges the connected user to authenticate the connection.void
changeUserCredentials
(IAuthenticationProtocol sessionProtocol, String userID) Initiates the change-credentials protocol with the client and processes the client response to update the user's credentials.byte[]
org.eclipse.net4j.util.security.DiffieHellman.Server
getSession
(int sessionID) org.eclipse.net4j.util.security.IUserManager
Veraltet.void
openedOnClientSide
(InternalSession session) openSession
(ISessionProtocol sessionProtocol) openSession
(ISessionProtocol protocol, int sessionID) openSession
(ISessionProtocol protocol, int sessionID, Consumer<InternalSession> sessionInitializer) openSession
(ISessionProtocol protocol, int sessionID, Consumer<InternalSession> sessionInitializer, byte[] oneTimeLoginToken) void
resetUserCredentials
(IAuthenticationProtocol sessionProtocol, String userID) Initiates the administrative reset-credentials protocol with the client and processes the client response to reset the specifieduserID
's credentials.void
sendBranchNotification
(InternalSession sender, CDOBranchChangedEvent.ChangeKind changeKind, CDOBranch... branches) void
sendBranchNotification
(InternalSession sender, InternalCDOBranch branch) Veraltet.void
sendBranchNotification
(InternalSession sender, InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind) Veraltet.void
void
sendCommitNotification
(InternalSession sender, CDOCommitInfo commitInfo) Veraltet.void
sendCommitNotification
(InternalSession sender, CDOCommitInfo commitInfo, boolean clearResourcePathCache) Veraltet.void
sendLockNotification
(InternalSession sender, CDOLockChangeInfo lockChangeInfo) void
sendLockOwnerRemappedNotification
(InternalSession sender, CDOBranch branch, CDOLockOwner oldOwner, CDOLockOwner newOwner) sendRemoteMessageNotification
(InternalSession sender, CDORemoteSessionMessage message, int[] recipients) sendRemoteMessageNotification
(InternalSession sender, CDORemoteSessionMessage message, InternalTopic topic) void
sendRemoteSessionNotification
(InternalSession sender, byte opcode) void
sendRemoteSessionNotification
(InternalSession sender, Collection<InternalSession> recipients, InternalTopic topic, byte opcode) void
sendRepositoryStateNotification
(CDOCommonRepository.State oldState, CDOCommonRepository.State newState) void
sendRepositoryStateNotification
(CDOCommonRepository.State oldState, CDOCommonRepository.State newState, CDOID rootResourceID) void
sendRepositoryTypeNotification
(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType) void
sendTagNotification
(InternalSession sender, int modCount, String oldName, String newName, CDOBranchPoint branchPoint) void
sessionClosed
(InternalSession session) void
setAuthenticationServer
(org.eclipse.net4j.util.security.DiffieHellman.Server authenticationServer) void
setPermissionManager
(IPermissionManager permissionManager) void
setRepository
(InternalRepository repository) void
setUserManager
(org.eclipse.net4j.util.security.IUserManager userManager) Veraltet.As of 4.2 useISessionManager.setAuthenticator(IAuthenticator)
Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
getExecutorService
Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.server.ISessionManager
getAuthenticator, setAuthenticator
-
Methodendetails
-
getRepository
InternalRepository getRepository()- Angegeben von:
getRepository
in SchnittstelleISessionManager
-
setRepository
-
getTopicManager
InternalTopicManager getTopicManager()- Angegeben von:
getTopicManager
in SchnittstelleISessionManager
- Seit:
- 4.17
-
getUserManager
Veraltet.As of 4.2 useISessionManager.getAuthenticator()
- Seit:
- 4.1
-
setUserManager
Veraltet.As of 4.2 useISessionManager.setAuthenticator(IAuthenticator)
-
getAuthenticationServer
org.eclipse.net4j.util.security.DiffieHellman.Server getAuthenticationServer()- Seit:
- 4.2
-
setAuthenticationServer
void setAuthenticationServer(org.eclipse.net4j.util.security.DiffieHellman.Server authenticationServer) - Seit:
- 4.2
-
changeUserCredentials
Initiates the change-credentials protocol with the client and processes the client response to update the user's credentials.- Seit:
- 4.3
-
resetUserCredentials
Initiates the administrative reset-credentials protocol with the client and processes the client response to reset the specifieduserID
's credentials.- Seit:
- 4.3
-
authenticateUser
Challenges the connected user to authenticate the connection.- Parameter:
sessionProtocol
- the authenticatable session protocol- Gibt zurück:
- the user ID with which the user authenticated herself, or
null
if the server does not require authentication for this connection - Löst aus:
SecurityException
- on failure to authenticate- Seit:
- 4.3
-
getPermissionManager
IPermissionManager getPermissionManager()- Seit:
- 4.1
-
setPermissionManager
- Seit:
- 4.1
-
getSessions
InternalSession[] getSessions()- Angegeben von:
getSessions
in SchnittstelleISessionManager
-
getSession
- Angegeben von:
getSession
in SchnittstelleISessionManager
-
openSession
- Gibt zurück:
- Never
null
-
openSession
- Gibt zurück:
- Never
null
- Seit:
- 4.14
-
openSession
InternalSession openSession(ISessionProtocol protocol, int sessionID, Consumer<InternalSession> sessionInitializer) - Gibt zurück:
- Never
null
- Seit:
- 4.23
-
openSession
InternalSession openSession(ISessionProtocol protocol, int sessionID, Consumer<InternalSession> sessionInitializer, byte[] oneTimeLoginToken) - Gibt zurück:
- Never
null
- Seit:
- 4.23
-
generateOneTimeLoginToken
byte[] generateOneTimeLoginToken()- Seit:
- 4.23
-
sessionClosed
-
openedOnClientSide
- Seit:
- 4.5
-
sendRepositoryTypeNotification
void sendRepositoryTypeNotification(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType) -
sendRepositoryStateNotification
@Deprecated void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState) -
sendRepositoryStateNotification
void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState, CDOID rootResourceID) - Seit:
- 4.1
-
sendBranchNotification
Veraltet. -
sendBranchNotification
@Deprecated void sendBranchNotification(InternalSession sender, InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind) Veraltet.- Seit:
- 4.3
-
sendBranchNotification
void sendBranchNotification(InternalSession sender, CDOBranchChangedEvent.ChangeKind changeKind, CDOBranch... branches) - Seit:
- 4.15
-
sendTagNotification
void sendTagNotification(InternalSession sender, int modCount, String oldName, String newName, CDOBranchPoint branchPoint) - Seit:
- 4.10
-
sendCommitNotification
Veraltet. -
sendCommitNotification
@Deprecated void sendCommitNotification(InternalSession sender, CDOCommitInfo commitInfo, boolean clearResourcePathCache) Veraltet.- Seit:
- 4.2
-
sendCommitNotification
- Seit:
- 4.3
-
sendLockNotification
- Seit:
- 4.1
-
sendLockOwnerRemappedNotification
void sendLockOwnerRemappedNotification(InternalSession sender, CDOBranch branch, CDOLockOwner oldOwner, CDOLockOwner newOwner) - Seit:
- 4.19
-
sendRemoteSessionNotification
-
sendRemoteSessionNotification
void sendRemoteSessionNotification(InternalSession sender, Collection<InternalSession> recipients, InternalTopic topic, byte opcode) - Seit:
- 4.17
-
sendRemoteMessageNotification
List<Integer> sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message, int[] recipients) -
sendRemoteMessageNotification
List<Integer> sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message, InternalTopic topic) - Seit:
- 4.17
-
ISessionManager.getAuthenticator()