Index: WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder.cls.xml =================================================================== diff -u -r49903 -r49969 --- WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder.cls.xml (.../Decrypteerder.cls.xml) (revision 49903) +++ WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder.cls.xml (.../Decrypteerder.cls.xml) (revision 49969) @@ -95,10 +95,13 @@ #dim Resultaat As %Boolean = $$$False If (##class(TECH.StringUtils).Contains(##class(TECH.StringUtils).ToLower(DecrypteerRequest.Hostname),"daro")) { - Set ..Response.PersonalityId = ##class(DOM.common.enu.Personality).Daro() - } - - If (##class(TECH.StringUtils).Contains(##class(TECH.StringUtils).ToLower(DecrypteerRequest.Hostname),"hein","seefelder")) && (DecrypteerRequest.Ref = "") && ((DecrypteerRequest.DataOpt = "")){ + Set ..Response.PersonalityId = ##class(DOM.common.enu.Personality).Daro() + Set ..Response.Taal = ##class(DOM.enu.Taal).Engels() + + If ((DecrypteerRequest.Ref = "") || (DecrypteerRequest.DataOpt = "")) { + Set ..Response.IsGeldig = $$$False + } + } ElseIf (##class(TECH.StringUtils).Contains(##class(TECH.StringUtils).ToLower(DecrypteerRequest.Hostname),"hein","seefelder")) && (DecrypteerRequest.Ref = "") && ((DecrypteerRequest.DataOpt = "")){ If ##class(TECH.StringUtils).ToLower(DecrypteerRequest.Hostname) [ "hein" { Set ..Response.PersonalityId = ##class(DOM.common.enu.Personality).Hein() Set ..Response.IsLoginFormulierNodig = 1 Index: vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder/Test/Daro.cls.xml =================================================================== diff -u --- vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder/Test/Daro.cls.xml (revision 0) +++ vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder/Test/Daro.cls.xml (revision 49969) @@ -0,0 +1,52 @@ + + + +vhUnitTest.TestCase + + + + + + + + + + + + + + + +