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
Modifier and TypeClassDescriptionstatic class
CreatesInternalSecurityManager.CommitHandler
instances.Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.spi.security.InternalSecurityManager.CommitHandler2
InternalSecurityManager.CommitHandler2.WithUser
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleCommit
(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user) Called before the commit is security checked and passed to the repository.void
handleCommitted
(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext) Called after the commit has succeeded.protected void
handleUser
(CDOTransaction transaction, Realm realm, Role role, User user) protected void
handleUsers
(InternalSecurityManager securityManager, List<String> userIDs, boolean init) void
init
(InternalSecurityManager securityManager, boolean firstTime) protected void
void
setExecutorService
(ExecutorService executorService) toString()
-
Field Details
-
DEFAULT_HOME_FOLDER
- See Also:
-
-
Constructor Details
-
HomeFolderHandler
-
HomeFolderHandler
public HomeFolderHandler()
-
-
Method Details
-
getHomeFolder
-
getExecutorService
- Specified by:
getExecutorService
in interfaceorg.eclipse.net4j.util.concurrent.IExecutorServiceProvider
-
setExecutorService
-
init
- Specified by:
init
in interfaceInternalSecurityManager.CommitHandler
-
initRole
-
handleCommit
public void handleCommit(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user) Description copied from interface:InternalSecurityManager.CommitHandler
Called before the commit is security checked and passed to the repository.- Specified by:
handleCommit
in interfaceInternalSecurityManager.CommitHandler
user
- the committing user ornull
if this commit istriggered
by the system.- See Also:
-
handleCommitted
public void handleCommitted(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext) Description copied from interface:InternalSecurityManager.CommitHandler2
Called after the commit has succeeded.- Specified by:
handleCommitted
in 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
-