Class SecurityManagerUtil
java.lang.Object
org.eclipse.emf.cdo.server.security.SecurityManagerUtil
Static factory methods for creating
security managers
.- Author:
- Eike Stepper
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addResourcePermissions
(Role role, String resourcePath, boolean writable) static Role
addResourceRole
(Realm realm, String roleName, String resourcePath, boolean writable) static ISecurityManager
createSecurityManager
(String realmPath) static ISecurityManager
createSecurityManager
(String realmPath, org.eclipse.net4j.util.container.IManagedContainer container) static ISecurityManager
getSecurityManager
(IRepository repository) static void
prepareContainer
(org.eclipse.net4j.util.container.IManagedContainer container)
-
Method Details
-
getSecurityManager
- Since:
- 4.3
-
createSecurityManager
-
createSecurityManager
public static ISecurityManager createSecurityManager(String realmPath, org.eclipse.net4j.util.container.IManagedContainer container) -
addResourceRole
public static Role addResourceRole(Realm realm, String roleName, String resourcePath, boolean writable) - Since:
- 4.10
-
addResourcePermissions
- Since:
- 4.10
-
prepareContainer
public static void prepareContainer(org.eclipse.net4j.util.container.IManagedContainer container)
-