I’m messing about with the OData support in my Delphi server but I can’t seem to get the authentication to work.
The old documentation wiki says this for the HttpAuthLoginServiceName:
When it’s set, the name used should be the name of a SimpleLoginService descendant with a Login method implementation.
I don’t understand this as the Login method isn’t virtual so how can I override it in a descendant class. If I try then, sure enough, the Login method of my descendant service, specified in the above property, is never called. When I test with LINQPad, I just keep getting 401 Unauthorized errors.
Can anyone give me any pointers?