Index: APPS/TBXWeb/LoginBypass/TandemboxUrlBepaler.cls.xml =================================================================== diff -u --- APPS/TBXWeb/LoginBypass/TandemboxUrlBepaler.cls.xml (revision 0) +++ APPS/TBXWeb/LoginBypass/TandemboxUrlBepaler.cls.xml (revision 770) @@ -0,0 +1,61 @@ + + + +TECH.RegisteredObject +0 + + +DOM.enu.Taal +1 + + + +Taal:DOM.enu.Taal="" +1 +1 +%Status +1 + + + + +GebruikerNaam:%String,Wachtwoord:%String,IpAdres:%String +%String + + + + +GebruikerNaam:%String,Wachtwoord:%String,IpAdres:%String +1 +%String + + + + +OorspronkelijkeUrl:%String +1 +%String + + + + Index: APPS/TBXWeb/LoginBypass/dto/Result.cls.xml =================================================================== diff -u --- APPS/TBXWeb/LoginBypass/dto/Result.cls.xml (revision 0) +++ APPS/TBXWeb/LoginBypass/dto/Result.cls.xml (revision 770) @@ -0,0 +1,25 @@ + + + +TECH.RegisteredObject +0 + + +%Boolean +0 + + + +%Boolean +0 + + + +%String + + + +%String + + + Index: APPS/TBXWeb/LoginBypass/UrlBepaler.cls.xml =================================================================== diff -u --- APPS/TBXWeb/LoginBypass/UrlBepaler.cls.xml (revision 0) +++ APPS/TBXWeb/LoginBypass/UrlBepaler.cls.xml (revision 770) @@ -0,0 +1,36 @@ + + + +TECH.RegisteredObject +0 + + +DOM.enu.Taal +1 + + + +Taal:DOM.enu.Taal="" +1 +1 +%Status +1 + + + + +GebruikersNaam:%String,Wachtwoord:%String,IpAdres:%String +%String + + + + Index: APPS/TBXWeb/LoginBypass/LogonRequestVerwerker.cls.xml =================================================================== diff -u --- APPS/TBXWeb/LoginBypass/LogonRequestVerwerker.cls.xml (revision 0) +++ APPS/TBXWeb/LoginBypass/LogonRequestVerwerker.cls.xml (revision 770) @@ -0,0 +1,58 @@ + + + +TECH.RegisteredObject +0 + + +DOM.enu.Taal +1 + + + +Taal:DOM.enu.Taal="" +1 +1 +%Status +1 + + + + +CspRequest:%CSP.Request,IpAdres:%String +APPS.TBXWeb.LoginBypass.dto.Result + 0) + + If ($$$UCase(RqSubmit) = "LOGIN") { + Set RqUsername = $G(CspRequest.Data("USERNAME",1)) + Set RqPassword = $G(CspRequest.Data("PSW",1)) + + Set UrlBepaler = ##class(APPS.TBXWeb.LoginBypass.TandemboxUrlBepaler).%New(..Taal) + Set TandemboxUrl = UrlBepaler.GeefTandemboxUrl(RqUsername,RqPassword,IpAdres) + + If $L(TandemboxUrl) > 0 { + Set LogonResult.IsLoginAccepted = $$$True + Set LogonResult.TandemboxUrl = TandemboxUrl + } + Else { + Set LogonResult.IsLoginAccepted = $$$False + Set LogonResult.TandemboxUrl = "" + Set LogonResult.ErrorMessage = "Fout bij inloggen. Probeer opnieuw." + } + } + + Quit LogonResult +]]> + + +