C# 클래스 GSF.Security.SecurityProviderCache

A helper class that manages the caching of ISecurityProviders.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
ReauthenticateCurrentPrincipal ( ) : bool

Attempts to reauthenticate the current thread principal after their provider has been removed from the cache.

TryGetCachedProvider ( string username, ISecurityProvider &provider ) : bool

Attempts to get cached ISecurityProvider for the given username.

비공개 메소드들

메소드 설명
CacheMonitorTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
SecurityProviderCache ( ) : System
SetupPrincipal ( ISecurityProvider provider, bool restore ) : ISecurityProvider
ValidateCurrentProvider ( string username = null ) : void

메소드 상세

ReauthenticateCurrentPrincipal() 공개 정적인 메소드

Attempts to reauthenticate the current thread principal after their provider has been removed from the cache.
public static ReauthenticateCurrentPrincipal ( ) : bool
리턴 bool

TryGetCachedProvider() 공개 정적인 메소드

Attempts to get cached ISecurityProvider for the given username.
public static TryGetCachedProvider ( string username, ISecurityProvider &provider ) : bool
username string Name of the user.
provider ISecurityProvider Security provider to return.
리턴 bool