org.eclipse.emf.cdo.server.spi.security
Class AnnotationHandler
java.lang.Object
org.eclipse.emf.cdo.server.spi.security.AnnotationHandler
- All Implemented Interfaces:
- InternalSecurityManager.CommitHandler
- public class AnnotationHandler
- extends Object
- implements InternalSecurityManager.CommitHandler
Method Summary |
protected void |
handleClassPermission(Realm realm,
EClass eClass,
String key,
Access access)
|
void |
handleCommit(InternalSecurityManager securityManager,
IStoreAccessor.CommitContext commitContext,
User user)
|
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 permissionClass,
EReference permissionFeature)
|
void |
init(InternalSecurityManager securityManager,
boolean firstTime)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCE_URI
public static final String SOURCE_URI
- See Also:
- Constant Field Values
READ_KEY
public static final String READ_KEY
- See Also:
- Constant Field Values
WRITE_KEY
public static final String WRITE_KEY
- See Also:
- Constant Field Values
DELIMITERS
public static final String DELIMITERS
- See Also:
- Constant Field Values
AnnotationHandler
public AnnotationHandler()
init
public void init(InternalSecurityManager securityManager,
boolean firstTime)
- Specified by:
init
in interface InternalSecurityManager.CommitHandler
handleCommit
public void handleCommit(InternalSecurityManager securityManager,
IStoreAccessor.CommitContext commitContext,
User user)
- Specified by:
handleCommit
in interface InternalSecurityManager.CommitHandler
handlePackageUnits
protected void handlePackageUnits(InternalSecurityManager securityManager,
CDOPackageUnit[] packageUnits)
handlePackage
protected void handlePackage(Realm realm,
EPackage ePackage)
handlePackagePermission
protected void handlePackagePermission(Realm realm,
EPackage ePackage,
String key,
Access access)
handleClassPermission
protected void handleClassPermission(Realm realm,
EClass eClass,
String key,
Access access)
handlePermission
protected void handlePermission(Realm realm,
EModelElement modelElement,
String key,
Access access,
EClass permissionClass,
EReference permissionFeature)
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.