C# Class Dev2.Runtime.Security.ServerAuthorizationService

Inheritance: Dev2.Services.Security.AuthorizationServiceBase
显示文件 Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
IsAuthorized ( System.Security.Claims.AuthorizationContext context, string resource ) : bool
IsAuthorized ( IAuthorizationRequest request ) : bool

Protected Methods

Method Description
OnDisposed ( ) : void
RaisePermissionsChanged ( ) : void
ServerAuthorizationService ( ISecurityService securityService ) : System

Private Methods

Method Description
GetNameStartIndex ( string absolutePath ) : int?
GetResource ( IAuthorizationRequest request ) : string
GetWebBookmarkName ( string absolutePath ) : string
GetWebExecuteName ( string absolutePath ) : string
IsAuthorizedImpl ( IAuthorizationRequest request ) : bool
IsWebInvokeServiceSave ( string absolutePath ) : bool

Method Details

IsAuthorized() public method

public IsAuthorized ( System.Security.Claims.AuthorizationContext context, string resource ) : bool
context System.Security.Claims.AuthorizationContext
resource string
return bool

IsAuthorized() public method

public IsAuthorized ( IAuthorizationRequest request ) : bool
request IAuthorizationRequest
return bool

OnDisposed() protected method

protected OnDisposed ( ) : void
return void

RaisePermissionsChanged() protected method

protected RaisePermissionsChanged ( ) : void
return void

ServerAuthorizationService() protected method

protected ServerAuthorizationService ( ISecurityService securityService ) : System
securityService ISecurityService
return System