SecurityContextProviderDefaultProvider Property Apache log4net™ SDK Documentation
Gets or sets the default SecurityContextProvider

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public static SecurityContextProvider DefaultProvider { get; set; }

Property Value

Type: SecurityContextProvider
The default SecurityContextProvider
Remarks

The default provider is used by configured components that require a SecurityContext and have not had one given to them.

By default this is an instance of SecurityContextProvider that returns NullSecurityContext objects.

The default provider can be set programmatically by setting the value of this property to a sub class of SecurityContextProvider that has the desired behavior.

See Also

Reference