Class AnnotationHandler
java.lang.Object
org.eclipse.emf.cdo.server.spi.security.AnnotationHandler
- All Implemented Interfaces:
InternalSecurityManager.CommitHandler
If the meaning of this type isn't clear, there really should be more of a description here...
- Author:
- Eike Stepper
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleClassPermission(Realm realm, EClass eClass, String key, Access access) voidhandleCommit(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user) Called before the commit is security checked and passed to the repository.protected voidhandlePackage(Realm realm, EPackage ePackage) protected voidhandlePackagePermission(Realm realm, EPackage ePackage, String key, Access access) protected voidhandlePackageUnits(InternalSecurityManager securityManager, CDOPackageUnit[] packageUnits) protected voidhandlePermission(Realm realm, EModelElement modelElement, String key, Access access, EClass filterClass, EReference filterFeature) voidinit(InternalSecurityManager securityManager, boolean firstTime) toString()
-
Field Details
-
SOURCE_URI
- See Also:
-
READ_KEY
- See Also:
-
WRITE_KEY
- See Also:
-
DELIMITERS
- See Also:
-
-
Constructor Details
-
AnnotationHandler
public AnnotationHandler()
-
-
Method Details
-
init
- Specified by:
initin interfaceInternalSecurityManager.CommitHandler
-
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:
-
handlePackageUnits
protected void handlePackageUnits(InternalSecurityManager securityManager, CDOPackageUnit[] packageUnits) -
handlePackage
-
handlePackagePermission
-
handleClassPermission
-
handlePermission
protected void handlePermission(Realm realm, EModelElement modelElement, String key, Access access, EClass filterClass, EReference filterFeature) -
toString
-