Class SecurityFilter
Checks permissions before doing work
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Wave.Filters
Assembly: Azos.Wave.dll
Syntax
public sealed class SecurityFilter : WorkFilter, IDisposable, IApplicationComponent, INamed, IOrdered
Constructors
SecurityFilter(WorkDispatcher, IConfigSectionNode)
Declaration
public SecurityFilter(WorkDispatcher dispatcher, IConfigSectionNode confNode)
Parameters
Type | Name | Description |
---|---|---|
WorkDispatcher | dispatcher | |
IConfigSectionNode | confNode |
SecurityFilter(WorkDispatcher, String, Int32)
Declaration
public SecurityFilter(WorkDispatcher dispatcher, string name, int order)
Parameters
Type | Name | Description |
---|---|---|
WorkDispatcher | dispatcher | |
System.String | name | |
System.Int32 | order |
SecurityFilter(WorkHandler, IConfigSectionNode)
Declaration
public SecurityFilter(WorkHandler handler, IConfigSectionNode confNode)
Parameters
Type | Name | Description |
---|---|---|
WorkHandler | handler | |
IConfigSectionNode | confNode |
SecurityFilter(WorkHandler, String, Int32)
Declaration
public SecurityFilter(WorkHandler handler, string name, int order)
Parameters
Type | Name | Description |
---|---|---|
WorkHandler | handler | |
System.String | name | |
System.Int32 | order |
Fields
CONFIG_BYPASS_SECTION
Declaration
public const string CONFIG_BYPASS_SECTION = "bypass"
Field Value
Type | Description |
---|---|
System.String |
Properties
Permissions
Gets/sets permissions that get checked by this filter instance
Declaration
public IEnumerable<Permission> Permissions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Permission> |
Methods
DoFilterWork(WorkContext, IList<WorkFilter>, Int32)
Declaration
protected override void DoFilterWork(WorkContext work, IList<WorkFilter> filters, int thisFilterIndex)
Parameters
Type | Name | Description |
---|---|---|
WorkContext | work | |
System.Collections.Generic.IList<WorkFilter> | filters | |
System.Int32 | thisFilterIndex |
Overrides
Implements
System.IDisposable