This class represents a permission.
Inheritance Hierarchy
org.opendof.core.oal.securityDOFPermission
More...
Namespace: org.opendof.core.oal.security
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
[SerializableAttribute] public abstract class DOFPermission : DOFImmutable
The DOFPermission type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DOFPermission | Initializes a new instance of the DOFPermission class |
Methods
Name | Description | |
---|---|---|
![]() ![]() | addFactory |
Add a new DOFPermissionFactory that can be used to create permissions
from serialized form.
|
![]() ![]() | create(Byte) | Creates and returns a Permission object of the correct type from a byte array of data.
|
![]() ![]() | create(DOFMarshalContext, DOFPacket) |
Creates and returns a Permission object of the correct type by
removing it from the front of a BufferedPacket.
|
![]() | Equals | (Overrides ObjectEquals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | getBytes | Get the serialized bytes of the permission. |
![]() | getComplement | Return the complement permission for this permission. |
![]() | GetHashCode | (Overrides ObjectGetHashCode.) |
![]() | getPermissionType | Returns the type of the permission. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | isAllowedBy(DOFPermission) |
Returns whether or not this Permission is a subset of the permissions
allowed by the specified Permission.
|
![]() | isAllowedBy(DOFPermissionSet) |
Returns whether or not this permission is a subset of the permissions
allowed by the specified permission set.
|
![]() | isExplicit | Returns whether or not this permission is considered explicit. |
![]() | isIntersection | Returns whether or not this permission has an intersection with the specified permission.
|
![]() | isTerminal | Returns whether or not this permission is a terminal permission. |
![]() | marshal |
This method is not used for custom permissions.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | normalize | Normalize this permission. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | ACT_AS |
The "I am" permission is implemented in
ActAs
.
|
![]() ![]() | BINDING |
The binding permission is implemented in
Binding
.
|
![]() ![]() | DEFINE |
The define permission is implemented in
Define
.
|
![]() ![]() | I_AM |
The "I am" permission is implemented in
IAm
.
|
![]() ![]() | PROVIDER |
The provider permission is implemented in
Provider
.
|
![]() ![]() | REQUESTOR |
The requestor permission is implemented in
Requestor
.
|
![]() ![]() | TUNNEL_DOMAIN |
The tunnel domain permission is implemented in
TunnelDomain
.
|
Remarks
See Also
Reference
Inheritance Hierarchy
org.opendof.core.oal.securityDOFPermission
org.opendof.core.oal.securityDOFPermissionActAs
org.opendof.core.oal.securityDOFPermissionActAsAny
org.opendof.core.oal.securityDOFPermissionBinding
org.opendof.core.oal.securityDOFPermissionDefine
org.opendof.core.oal.securityDOFPermissionIAm
org.opendof.core.oal.securityDOFPermissionProvider
org.opendof.core.oal.securityDOFPermissionRequestor
org.opendof.core.oal.securityDOFPermissionTunnelDomain
org.opendof.core.oal.securityDOFPermissionUnknown