public interface InternalSessionManager extends ISessionManager
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
getAuthenticator, setAuthenticator
getElements, isEmpty
addListener, getListeners, hasListeners, removeListener
InternalRepository getRepository()
getRepository
in interface ISessionManager
void setRepository(InternalRepository repository)
@Deprecated IUserManager getUserManager()
ISessionManager.getAuthenticator()
@Deprecated void setUserManager(IUserManager userManager)
ISessionManager.setAuthenticator(IAuthenticator)
DiffieHellman.Server getAuthenticationServer()
void setAuthenticationServer(DiffieHellman.Server authenticationServer)
void changeUserCredentials(IAuthenticationProtocol sessionProtocol, String userID)
void resetUserCredentials(IAuthenticationProtocol sessionProtocol, String userID)
userID
's credentials.String authenticateUser(IAuthenticationProtocol sessionProtocol) throws SecurityException
sessionProtocol
- the authenticatable session protocolnull
if the server does not require authentication for this connectionSecurityException
- on failure to authenticateIPermissionManager getPermissionManager()
void setPermissionManager(IPermissionManager permissionManager)
InternalSession[] getSessions()
getSessions
in interface ISessionManager
InternalSession getSession(int sessionID)
getSession
in interface ISessionManager
InternalSession openSession(ISessionProtocol sessionProtocol)
null
void sessionClosed(InternalSession session)
void openedOnClientSide(InternalSession session)
void sendRepositoryTypeNotification(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType)
@Deprecated void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState)
void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState, CDOID rootResourceID)
@Deprecated void sendBranchNotification(InternalSession sender, InternalCDOBranch branch)
#sendBranchNotification(InternalSession, InternalCDOBranch, ChangeKind)
.void sendBranchNotification(InternalSession sender, InternalCDOBranch branch, CDOBranchChangedEvent.ChangeKind changeKind)
@Deprecated void sendCommitNotification(InternalSession sender, CDOCommitInfo commitInfo)
sendCommitNotification(InternalSession, CDOCommitInfo, boolean)
.@Deprecated void sendCommitNotification(InternalSession sender, CDOCommitInfo commitInfo, boolean clearResourcePathCache)
#sendCommitNotification(ISessionProtocol.CommitNotificationInfo)
.void sendCommitNotification(CDOProtocol.CommitNotificationInfo info)
void sendLockNotification(InternalSession sender, CDOLockChangeInfo lockChangeInfo)
void sendRemoteSessionNotification(InternalSession sender, byte opcode)
List<Integer> sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message, int[] recipients)
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.