Package org.eclipse.emf.cdo.spi.server
Interface InternalSessionManager
- 
- All Superinterfaces:
- 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...- Since:
- 3.0
- 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- 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainerorg.eclipse.net4j.util.container.IContainer.Modifiable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends java.lang.Object>
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringauthenticateUser(IAuthenticationProtocol sessionProtocol)Challenges the connected user to authenticate the connection.voidchangeUserCredentials(IAuthenticationProtocol sessionProtocol, java.lang.String userID)Initiates the change-credentials protocol with the client and processes the client response to update the user's credentials.org.eclipse.net4j.util.security.DiffieHellman.ServergetAuthenticationServer()IPermissionManagergetPermissionManager()InternalRepositorygetRepository()InternalSessiongetSession(int sessionID)InternalSession[]getSessions()org.eclipse.net4j.util.security.IUserManagergetUserManager()Deprecated.As of 4.2 useISessionManager.getAuthenticator()voidopenedOnClientSide(InternalSession session)InternalSessionopenSession(ISessionProtocol sessionProtocol)InternalSessionopenSession(ISessionProtocol protocol, int sessionID)voidresetUserCredentials(IAuthenticationProtocol sessionProtocol, java.lang.String userID)Initiates the administrative reset-credentials protocol with the client and processes the client response to reset the specifieduserID's credentials.voidsendBranchNotification(InternalSession sender, CDOBranchChangedEvent.ChangeKind changeKind, CDOBranch... branches)voidsendBranchNotification(InternalSession sender, InternalCDOBranch branch)Deprecated.voidsendBranchNotification(InternalSession sender, InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind)Deprecated.voidsendCommitNotification(CDOProtocol.CommitNotificationInfo info)voidsendCommitNotification(InternalSession sender, CDOCommitInfo commitInfo)Deprecated.voidsendCommitNotification(InternalSession sender, CDOCommitInfo commitInfo, boolean clearResourcePathCache)Deprecated.voidsendLockNotification(InternalSession sender, CDOLockChangeInfo lockChangeInfo)java.util.List<java.lang.Integer>sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message, int[] recipients)voidsendRemoteSessionNotification(InternalSession sender, byte opcode)voidsendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState)voidsendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState, CDOID rootResourceID)voidsendRepositoryTypeNotification(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType)voidsendTagNotification(InternalSession sender, int modCount, java.lang.String oldName, java.lang.String newName, CDOBranchPoint branchPoint)voidsessionClosed(InternalSession session)voidsetAuthenticationServer(org.eclipse.net4j.util.security.DiffieHellman.Server authenticationServer)voidsetPermissionManager(IPermissionManager permissionManager)voidsetRepository(InternalRepository repository)voidsetUserManager(org.eclipse.net4j.util.security.IUserManager userManager)Deprecated.As of 4.2 useISessionManager.setAuthenticator(IAuthenticator)- 
Methods inherited from interface org.eclipse.net4j.util.concurrent.IExecutorServiceProvidergetExecutorService
 - 
Methods inherited from interface org.eclipse.net4j.util.event.INotifieraddListener, getListeners, hasListeners, removeListener
 - 
Methods inherited from interface org.eclipse.emf.cdo.server.ISessionManagergetAuthenticator, setAuthenticator
 
- 
 
- 
- 
- 
Method Detail- 
getRepositoryInternalRepository getRepository() - Specified by:
- getRepositoryin interface- ISessionManager
 
 - 
setRepositoryvoid setRepository(InternalRepository repository) 
 - 
getUserManager@Deprecated org.eclipse.net4j.util.security.IUserManager getUserManager() Deprecated.As of 4.2 useISessionManager.getAuthenticator()- Since:
- 4.1
 
 - 
setUserManager@Deprecated void setUserManager(org.eclipse.net4j.util.security.IUserManager userManager) Deprecated.As of 4.2 useISessionManager.setAuthenticator(IAuthenticator)
 - 
getAuthenticationServerorg.eclipse.net4j.util.security.DiffieHellman.Server getAuthenticationServer() - Since:
- 4.2
 
 - 
setAuthenticationServervoid setAuthenticationServer(org.eclipse.net4j.util.security.DiffieHellman.Server authenticationServer) - Since:
- 4.2
 
 - 
changeUserCredentialsvoid changeUserCredentials(IAuthenticationProtocol sessionProtocol, java.lang.String userID) Initiates the change-credentials protocol with the client and processes the client response to update the user's credentials.- Since:
- 4.3
 
 - 
resetUserCredentialsvoid resetUserCredentials(IAuthenticationProtocol sessionProtocol, java.lang.String userID) Initiates the administrative reset-credentials protocol with the client and processes the client response to reset the specifieduserID's credentials.- Since:
- 4.3
 
 - 
authenticateUserjava.lang.String authenticateUser(IAuthenticationProtocol sessionProtocol) throws java.lang.SecurityException Challenges the connected user to authenticate the connection.- Parameters:
- sessionProtocol- the authenticatable session protocol
- Returns:
- the user ID with which the user authenticated herself, or nullif the server does not require authentication for this connection
- Throws:
- java.lang.SecurityException- on failure to authenticate
- Since:
- 4.3
 
 - 
getPermissionManagerIPermissionManager getPermissionManager() - Since:
- 4.1
 
 - 
setPermissionManagervoid setPermissionManager(IPermissionManager permissionManager) - Since:
- 4.1
 
 - 
getSessionsInternalSession[] getSessions() - Specified by:
- getSessionsin interface- ISessionManager
 
 - 
getSessionInternalSession getSession(int sessionID) - Specified by:
- getSessionin interface- ISessionManager
 
 - 
openSessionInternalSession openSession(ISessionProtocol sessionProtocol) - Returns:
- Never null
 
 - 
openSessionInternalSession openSession(ISessionProtocol protocol, int sessionID) - Returns:
- Never null
- Since:
- 4.14
 
 - 
sessionClosedvoid sessionClosed(InternalSession session) 
 - 
openedOnClientSidevoid openedOnClientSide(InternalSession session) - Since:
- 4.5
 
 - 
sendRepositoryTypeNotificationvoid sendRepositoryTypeNotification(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType) 
 - 
sendRepositoryStateNotification@Deprecated void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState) 
 - 
sendRepositoryStateNotificationvoid sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState, CDOID rootResourceID) - Since:
- 4.1
 
 - 
sendBranchNotification@Deprecated void sendBranchNotification(InternalSession sender, InternalCDOBranch branch) Deprecated.
 - 
sendBranchNotification@Deprecated void sendBranchNotification(InternalSession sender, InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind) Deprecated.- Since:
- 4.3
 
 - 
sendBranchNotificationvoid sendBranchNotification(InternalSession sender, CDOBranchChangedEvent.ChangeKind changeKind, CDOBranch... branches) - Since:
- 4.15
 
 - 
sendTagNotificationvoid sendTagNotification(InternalSession sender, int modCount, java.lang.String oldName, java.lang.String newName, CDOBranchPoint branchPoint) - Since:
- 4.10
 
 - 
sendCommitNotification@Deprecated void sendCommitNotification(InternalSession sender, CDOCommitInfo commitInfo) Deprecated.
 - 
sendCommitNotification@Deprecated void sendCommitNotification(InternalSession sender, CDOCommitInfo commitInfo, boolean clearResourcePathCache) Deprecated.- Since:
- 4.2
 
 - 
sendCommitNotificationvoid sendCommitNotification(CDOProtocol.CommitNotificationInfo info) - Since:
- 4.3
 
 - 
sendLockNotificationvoid sendLockNotification(InternalSession sender, CDOLockChangeInfo lockChangeInfo) - Since:
- 4.1
 
 - 
sendRemoteSessionNotificationvoid sendRemoteSessionNotification(InternalSession sender, byte opcode) 
 - 
sendRemoteMessageNotificationjava.util.List<java.lang.Integer> sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message, int[] recipients) 
 
- 
 
-