SecurityContextProvider CreateSecurityContext Method Apache log4net™ SDK Documentation
Create a SecurityContext for a consumer

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public virtual SecurityContext CreateSecurityContext(
	Object consumer
)

Parameters

consumer
Type: OnlineSystem Object
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