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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleClassPermission
(Realm realm, EClass eClass, String key, Access access) void
handleCommit
(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user) Called before the commit is security checked and passed to the repository.protected void
handlePackage
(Realm realm, EPackage ePackage) protected void
handlePackagePermission
(Realm realm, EPackage ePackage, String key, Access access) protected void
handlePackageUnits
(InternalSecurityManager securityManager, CDOPackageUnit[] packageUnits) protected void
handlePermission
(Realm realm, EModelElement modelElement, String key, Access access, EClass filterClass, EReference filterFeature) void
init
(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:
init
in interfaceInternalSecurityManager.CommitHandler
-
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:
-
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
-