g-Eclipse
Release 1.0.0

eu.geclipse.core.accesscontrol
Interface IACLCapability


public interface IACLCapability

A capability to be used in the ACL entries. A capability is a permission or role to be granted or denied to an actor (IACLActor) on the protected resource. The supported capabilities are determined by the implementation and are also often resource specific (for instance, folders might support two different capabilities "addFiles" and "removeFiles", while files support simply "write").

Also known as 'target-action' in the XACML standard.


Method Summary
 java.lang.String getDescription()
          Returns a user friendly description of this capability, for instance to be used in tool-tips.
 java.lang.String getName()
          Returns the name of this capability, for instance "Write".
 

Method Detail

getName

java.lang.String getName()
Returns the name of this capability, for instance "Write".

Returns:
a user friendly string. Must be non empty.

getDescription

java.lang.String getDescription()
Returns a user friendly description of this capability, for instance to be used in tool-tips.

Returns:
a string explaining the capability.

g-Eclipse
Release 1.0.0