[sldev] Re: [VWR] Web login without llmozlib
Tess Chu
tess at lindenlab.com
Tue Dec 18 13:35:36 PST 2007
Thanks Robin!
It looks like the code uses curl to post the credentials and parses the
response for the web login key. Patching this into llstartup for
building without llmozlib will require a few more steps to work, namely
putting back the interface for which the credentials are entered, or
adding in command line options. Can this replace the web service we
discussed in prior email threads?
The tricky part here is what to do when login fails. Now that
authentication is web based, when clients built with llmozlib sees a
failure, the web code will do the logic to redirect to a different page
asking for more information. i.e. when your password is wrong, it
redirects back to the original splash page with an error message.
Without llmozlib, the only valid response would be to error, message,
and reset or exit. Please realize that maintaining the version of the
client without llmozlib will incur more work if we add additional
arguments to the prompt such as a SecureID, or if we implement more
rigorous fraud detection, which will cause higher failure rates that
will need a browser to see the error. Consolidating authentication to
web was supposed to reduce the amount of viewer maintenance work.
Tess
Robin Cornelius wrote:
> On Dec 18, 2007 12:29 PM, Robin Cornelius <robin.cornelius at gmail.com> wrote:
>
>
>> I have the code working in a standalone app and I am planning to
>> integrate directly into llstartup. I think its a useful fallback for
>> non mozlib cases? Any thoughts? I can post it if anyone wants it, its
>> *very* dirty ATM but its quite easy to integrate into llstartup.cpp if
>> anyone wants to.
>>
>
> http://www.byteme.org.uk/uploads/curltest.c
>
> Its quick and dirty but you get the key.
>
> Robin
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
>
More information about the SLDev
mailing list