Class HomeFolderHandler
java.lang.Object
org.eclipse.emf.cdo.server.spi.security.HomeFolderHandler
- All Implemented Interfaces:
InternalSecurityManager.CommitHandler,InternalSecurityManager.CommitHandler2,org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
public class HomeFolderHandler
extends Object
implements InternalSecurityManager.CommitHandler2, 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:
- 4.3
- Author:
- Eike Stepper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCreatesInternalSecurityManager.CommitHandlerinstances.Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.spi.security.InternalSecurityManager.CommitHandler2
InternalSecurityManager.CommitHandler2.WithUser -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleCommit(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user) Called before the commit is security checked and passed to the repository.voidhandleCommitted(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext) Called after the commit has succeeded.protected voidhandleUser(CDOTransaction transaction, Realm realm, Role role, User user) protected voidhandleUsers(InternalSecurityManager securityManager, List<String> userIDs, boolean init) voidinit(InternalSecurityManager securityManager, boolean firstTime) protected voidvoidsetExecutorService(ExecutorService executorService) toString()
-
Field Details
-
DEFAULT_HOME_FOLDER
- See Also:
-
-
Constructor Details
-
HomeFolderHandler
-
HomeFolderHandler
public HomeFolderHandler()
-
-
Method Details
-
getHomeFolder
-
getExecutorService
- Specified by:
getExecutorServicein interfaceorg.eclipse.net4j.util.concurrent.IExecutorServiceProvider
-
setExecutorService
-
init
- Specified by:
initin interfaceInternalSecurityManager.CommitHandler
-
initRole
-
handleCommit
public void handleCommit(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user) Description copied from interface:InternalSecurityManager.CommitHandlerCalled before the commit is security checked and passed to the repository.- Specified by:
handleCommitin interfaceInternalSecurityManager.CommitHandleruser- the committing user ornullif this commit istriggeredby the system.- See Also:
-
handleCommitted
public void handleCommitted(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext) Description copied from interface:InternalSecurityManager.CommitHandler2Called after the commit has succeeded.- Specified by:
handleCommittedin interfaceInternalSecurityManager.CommitHandler2
-
handleUsers
protected void handleUsers(InternalSecurityManager securityManager, List<String> userIDs, boolean init) -
handleUser
protected void handleUser(CDOTransaction transaction, Realm realm, Role role, User user) throws Exception - Throws:
Exception
-
toString
-