Skip to content

Commit 79eff97

Browse files
committed
New authentication handling
1 parent a5e0f4d commit 79eff97

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

MDX2JSON/AbstractREST.cls.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,16 @@ Called for a REST page in the event of a login being required</Description>
229229
Return $$$OK
230230
}
231231
232-
Quit ##super(skipheader)
232+
#; Don't want the session token
233+
Set %response.OutputSessionToken=0
234+
235+
#; We want Basic authentication
236+
//Do %response.SetHeader("WWW-Authenticate","Basic")
237+
238+
#; We need to manually write out the headers here because PAGE has not been called
239+
Do %response.WriteHTTPHeader()
240+
241+
Return $$$OK
233242
]]></Implementation>
234243
</Method>
235244

0 commit comments

Comments
 (0)