SecurityContextProviderCreateSecurityContext Method Apache log4net™ SDK Documentation
Create a SecurityContext for a consumer

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

public virtual SecurityContext CreateSecurityContext(
	Object consumer
)

Parameters

consumer
Type: SystemObject
The consumer requesting the SecurityContext

Return Value

Type: SecurityContext
An impersonation context
Remarks

The default implementation is to return a NullSecurityContext.

Subclasses should override this method to provide their own behavior.

See Also

Reference