Constable Authorization Engine 2.0 BETA

AuthorizationPolicy Members

AuthorizationPolicy overview

Public Instance Constructors

AuthorizationPolicy Overloaded. Initializes a new instance of the AuthorizationPolicy class.

Public Instance Properties

ActionRules Gets the collection of all the ActionRule objects defined for the instance.
Actions Gets the collection of all the Action objects defined for the instance.
CurrentPrincipal Sets or returns the IPrincipal implementation used to resolve role membership.
CurrentState Sets or returns the current state of the authorization policy.
Description (inherited from NamedObjectBase) Sets or returns the description of the object.
Id (inherited from NamedObjectBase) Sets or returns the unique Id of the object.
Name (inherited from NamedObjectBase) Sets or returns the name of the object.
Policy (inherited from ObjectBase) Gets a reference to the AuthorizationPolicy instance that contains this object.
Properties Gets the collection of all the Property objects defined for the instance.
PropertyRules Gets the collection of all the PropertyRule objects defined for the instance.
Roles Gets the collection of all the Role objects defined for the instance.
States Gets the collection of all the State objects defined for the instance.

Public Instance Methods

Clear Clears the whole authorization policy contained within this instance.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ExecuteActionOverloaded. Executes the Action associated with the given action authorization rule.
GetDefinedActionRules Returns all the ActionRule objects defined for the current authorization context.
GetDefinedPropertyRules Returns all PropertyRule objects defined for the current authorization context.
GetExecutableActionRules Returns all the ActionRule objects for actions that are executable in the current authorization context.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetChangeablePropertyRules Return all PropertyRule objects that are changeable in the current authorization context.
GetType (inherited from Object) Gets the Type of the current instance.
IsActionExecutableOverloaded. Returns a value specifying if the action associated with the given rule is executable in the current authorization context.
IsNewRuleValid This member supports the component' s implementation and is not intended to be used directly from your code.
IsPropertyChangeableOverloaded. Returns a value specifying if the Property associated with the given rule is changeable in the current authorization context.
RaiseAuthorizationContextChangedEventOverloaded. Raises the AuthorizationContextChanged event.
ToString (inherited from NamedObjectBase) Returns the value of the Id property.

Public Instance Events

ActionExecuted Occurs after an Action is executed as a result of calling one of the ExecuteAction overloaded methods.
ActionExecuting Occurs before an Action is executed as a result of calling one of the ExecuteAction overloaded methods.
AuthorizationContextChanged The event is raised whenever the authorization context of the policy is changed.
InstanceChanged The event is raised after a policy object has been changed.
InstanceChanging The event is raised before a policy object is changed.
ResolveRoleMembership The event is raised as part of the role resolution process.

Protected Instance Properties

OwnerInternal (inherited from ObjectBase) This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
PendingPropertyChangeEventArgs (inherited from ObjectBase) This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.

Protected Instance Methods

CreateAction This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateActionCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateActionCollectionUpdater This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateActionRule This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateActionRuleCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateActionRuleCollectionUpdater This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateProperty This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreatePropertyCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreatePropertyCollectionUpdater This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreatePropertyRule This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreatePropertyRuleCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreatePropertyRuleCollectionUpdater This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateRole This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateRoleCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateRoleCollectionUpdater This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateState This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateStateCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
CreateStateCollectionUpdater This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
EnsureActionCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
EnsureActionRuleCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
EnsureNewObjectPolicyOwnershipConsistency This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
EnsureNewRuleConsistency This member supports the component' s implementation and is not intended to be used directly from your code.
EnsurePropertyCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
EnsurePropertyRuleCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
EnsureRoleCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
EnsureStateCollection This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
ExecuteActionInternal This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetAuthorizedRules This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
GetDistinctProtectedObjects This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
GetExecutableActionRulesInternal This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
GetResolvedActionRules This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
GetResolvedPropertyRules This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
HasDistinctTargetStates This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
IsNewRuleObjectPolicyOwnershipValid This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
IsOwnedObject This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
IsRoleMember Determines if the given principal is member of the given role.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnActionExecuted Raises the ActionExecuted event.
OnActionExecuting Raises the ActionExecuting event.
OnInstanceChanged Raises the InstanceChanged event.
OnInstanceChanging Raises the InstanceChanging event.
OnPropertyChanged (inherited from ObjectBase) Called after a property of the object has been changed.
OnPropertyChanging (inherited from ObjectBase) Called when a property of the object is about to be changed.
PropagateChangedEvent This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
PropagateChangingEvent This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
RemoveRules This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
ResolveConflictingEnabledRules This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
ResolveExecutableActionRules Resolves the available authorization rules and fills the output resolvedRules with ActionRule objects associated with executable actions.
ResolveProtectedObjectRules This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
ResolveRulesRoleMembership This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.

See Also

AuthorizationPolicy Class | LaMarvin.Constable Namespace