C# 클래스 Dev2.Services.Security.AuthorizationServiceBase

상속: System.DisposableObject, IAuthorizationService
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf

공개 프로퍼티들

프로퍼티 타입 설명
AreAdministratorsMembersOfWarewolfAdministrators Func

보호된 프로퍼티들

프로퍼티 타입 설명
_securityService ISecurityService

공개 메소드들

메소드 설명
DumpPermissionsOnError ( IPrincipal principal ) : void
FindGroup ( SecurityIdentifier searchSid ) : string
GetPermissions ( IPrincipal user ) : List
GetResourcePermissions ( System.Guid resourceId ) : Permissions
IsAuthorized ( System.Security.Claims.AuthorizationContext context, string resource ) : bool
IsAuthorized ( IAuthorizationRequest request ) : bool
IsAuthorized ( IPrincipal principal, System.Security.Claims.AuthorizationContext context, string resource ) : bool
JsonPermissions ( ) : string
Remove ( System.Guid resourceId ) : void

보호된 메소드들

메소드 설명
AuthorizationServiceBase ( ISecurityService securityService, bool isLocalConnection ) : System
GetGroupPermissions ( IPrincipal principal, string resource ) : IEnumerable
IsAuthorizedToConnect ( IPrincipal principal ) : bool
IsInRole ( IPrincipal principal, WindowsGroupPermission p ) : bool
OnPermissionsModified ( PermissionsModifiedEventArgs e ) : void
RaisePermissionsChanged ( ) : void

비공개 메소드들

메소드 설명
DoFallBackCheck ( IPrincipal principal ) : bool
FilterAdminGroupForRemote ( List groupPermissions ) : void
GetGroupPermissions ( IPrincipal principal ) : IEnumerable
IsAuthorized ( System.Security.Claims.AuthorizationContext context, Func getGroupPermissions ) : bool

메소드 상세

AuthorizationServiceBase() 보호된 메소드

protected AuthorizationServiceBase ( ISecurityService securityService, bool isLocalConnection ) : System
securityService ISecurityService
isLocalConnection bool
리턴 System

DumpPermissionsOnError() 공개 메소드

public DumpPermissionsOnError ( IPrincipal principal ) : void
principal IPrincipal
리턴 void

FindGroup() 공개 정적인 메소드

public static FindGroup ( SecurityIdentifier searchSid ) : string
searchSid SecurityIdentifier
리턴 string

GetGroupPermissions() 보호된 메소드

protected GetGroupPermissions ( IPrincipal principal, string resource ) : IEnumerable
principal IPrincipal
resource string
리턴 IEnumerable

GetPermissions() 공개 메소드

public GetPermissions ( IPrincipal user ) : List
user IPrincipal
리턴 List

GetResourcePermissions() 공개 메소드

public GetResourcePermissions ( System.Guid resourceId ) : Permissions
resourceId System.Guid
리턴 Permissions

IsAuthorized() 공개 추상적인 메소드

public abstract IsAuthorized ( System.Security.Claims.AuthorizationContext context, string resource ) : bool
context System.Security.Claims.AuthorizationContext
resource string
리턴 bool

IsAuthorized() 공개 추상적인 메소드

public abstract IsAuthorized ( IAuthorizationRequest request ) : bool
request IAuthorizationRequest
리턴 bool

IsAuthorized() 공개 메소드

public IsAuthorized ( IPrincipal principal, System.Security.Claims.AuthorizationContext context, string resource ) : bool
principal IPrincipal
context System.Security.Claims.AuthorizationContext
resource string
리턴 bool

IsAuthorizedToConnect() 보호된 메소드

protected IsAuthorizedToConnect ( IPrincipal principal ) : bool
principal IPrincipal
리턴 bool

IsInRole() 보호된 메소드

protected IsInRole ( IPrincipal principal, WindowsGroupPermission p ) : bool
principal IPrincipal
p WindowsGroupPermission
리턴 bool

JsonPermissions() 공개 메소드

public JsonPermissions ( ) : string
리턴 string

OnPermissionsModified() 보호된 메소드

protected OnPermissionsModified ( PermissionsModifiedEventArgs e ) : void
e PermissionsModifiedEventArgs
리턴 void

RaisePermissionsChanged() 보호된 메소드

protected RaisePermissionsChanged ( ) : void
리턴 void

Remove() 공개 메소드

public Remove ( System.Guid resourceId ) : void
resourceId System.Guid
리턴 void

프로퍼티 상세

AreAdministratorsMembersOfWarewolfAdministrators 공개적으로 프로퍼티

public Func AreAdministratorsMembersOfWarewolfAdministrators
리턴 Func

_securityService 보호되어 있는 프로퍼티

protected ISecurityService _securityService
리턴 ISecurityService