log4net SDK Reference

SecurityContextProvider.DefaultProvider Property

Gets or sets the default SecurityContextProvider

[Visual Basic]
Public Shared Property DefaultProvider As SecurityContextProvider
[C#]
public static SecurityContextProvider DefaultProvider {get; set;}

Property Value

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

SecurityContextProvider Class | log4net.Core Namespace