C# Class Zetetic.Chain.Security.RbacProvider

Mostrar archivo Open project: skradel/Zetetic.Chain

Public Methods

Method Description
OperationPermitted ( PamContext context, IPrincipal principal, string operation, object target, bool allowIfNoRule ) : bool
RbacProvider ( ) : System
RbacProvider ( ICatalog catalog ) : System
RbacProvider ( string catalogPath ) : System

Protected Methods

Method Description
OnResult ( PamContext context, string operation, bool result, bool isNoActionResult ) : void

Method Details

OnResult() protected method

protected OnResult ( PamContext context, string operation, bool result, bool isNoActionResult ) : void
context PamContext
operation string
result bool
isNoActionResult bool
return void

OperationPermitted() public method

public OperationPermitted ( PamContext context, IPrincipal principal, string operation, object target, bool allowIfNoRule ) : bool
context PamContext
principal IPrincipal
operation string
target object
allowIfNoRule bool
return bool

RbacProvider() public method

public RbacProvider ( ) : System
return System

RbacProvider() public method

public RbacProvider ( ICatalog catalog ) : System
catalog ICatalog
return System

RbacProvider() public method

public RbacProvider ( string catalogPath ) : System
catalogPath string
return System