C# 클래스 RDSFactor.Handlers.RDSHandler

파일 보기 프로젝트 열기: oskarb/RDSFactor

공개 메소드들

메소드 설명
Cleanup ( ) : void
HasValidLaunchWindow ( string username ) : bool
HasValidSession ( string username ) : bool
ProcessAccessRequest ( ) : void
ProcessAppLaunchRequest ( ) : void

Process the RDS specific App Launch request. These requests are sent when an app is clicked in RD Web. It's checked whether the session is still valid.In which case, a window is opened for the user, where we allow the user to connect through the gateway, an Accept-Access is returned and the RD Web launches the RDP client. NOTE: Requests contain the session GUID in the password attribute of the packet.

ProcessGatewayRequest ( ) : void

Process the request from the Network Policy Server in the RDS Gateway. These are sent when an RDP client tries to connect through the Gateway. Accept-Access is returned when the user has a * valid session; and a * valid app launch window The launch window is closed after this request.

ProcessRequest ( ) : void
RDSHandler ( RADIUSPacket packet ) : System

비공개 메소드들

메소드 설명
Accept ( ) : void
Authenticate ( ) : SearchResult
CleanUsername ( string userName ) : string
LdapGetEmail ( SearchResult result ) : string
LdapGetNumberCleaned ( SearchResult result ) : string
ProcessChallengeResponse ( ) : void
TwoFactorChallenge ( SearchResult ldapResult ) : void

메소드 상세

Cleanup() 공개 정적인 메소드

public static Cleanup ( ) : void
리턴 void

HasValidLaunchWindow() 공개 정적인 메소드

public static HasValidLaunchWindow ( string username ) : bool
username string
리턴 bool

HasValidSession() 공개 정적인 메소드

public static HasValidSession ( string username ) : bool
username string
리턴 bool

ProcessAccessRequest() 공개 메소드

public ProcessAccessRequest ( ) : void
리턴 void

ProcessAppLaunchRequest() 공개 메소드

Process the RDS specific App Launch request. These requests are sent when an app is clicked in RD Web. It's checked whether the session is still valid.In which case, a window is opened for the user, where we allow the user to connect through the gateway, an Accept-Access is returned and the RD Web launches the RDP client. NOTE: Requests contain the session GUID in the password attribute of the packet.
public ProcessAppLaunchRequest ( ) : void
리턴 void

ProcessGatewayRequest() 공개 메소드

Process the request from the Network Policy Server in the RDS Gateway. These are sent when an RDP client tries to connect through the Gateway. Accept-Access is returned when the user has a * valid session; and a * valid app launch window The launch window is closed after this request.
public ProcessGatewayRequest ( ) : void
리턴 void

ProcessRequest() 공개 메소드

public ProcessRequest ( ) : void
리턴 void

RDSHandler() 공개 메소드

public RDSHandler ( RADIUSPacket packet ) : System
packet RADIUSPacket
리턴 System