Jun 26, 2013; 19:38
Steve Piercy - Web Site Builder
Re: Auth_Custom Auth_Prompt
I don't think it is possible to do all you want in 8, if I read
the Language Guide p. 289 correctly:
In order to support digest authentication Lasso must have
the password
for each user in the security_user table stored in plain
text. In prior
versions of Lasso all passwords were stored as MD5 hashes. Digest
authentication will only work for users created or modified
with Lasso
Professional 8 so the plaintext password is stored
properly. Lasso will
fall back on basic authentication for users who do not have
a plaintext
password.
The [Client_Authorization] tag can be used to see what type of
authentication is being used for the current site visitor.
In 9, syntax is pretty much the same, but I don't quite grok how
one would store u/p and how to call auth_user with the proper
parameters. It's probably the same as 8, except in 8 there was
a -digest=boolean flag.
http://lassoguide.com/operations/authentication.html
http://www.lassosoft.com/lassoDocs/languageReference/obj/auth_user
I'll defer to others. I never use digest auth in Lasso.
--steve
On 6/26/13 at 7:11 PM, upton@chromix.com (Steve Upton) pronounced:
>Hi All,
>
>Lasso 8.5 (for the time being, a solution that will work in 9.x
>would be great as well)
>
>We're developing a RESTful interface and I'm working on authentication.
>
>At some point I think I'd like to support OAuth but for the
>time being I just want digest-based authentication to work.
>
>All the Lasso tags seem to want to access the Lasso user and
>group stuff, we don't want that.
>
>We want to be able to use normal http auth stuff, ask the user
>for their u/n and password (or have it passed by the app),
>search our DB & respond accordingly.
>
>Should I be using the Auth_Custom or Auth_Prompt tags or
>something else. Both of them keep prompting the user rather
>than returning control back to our code...
>
>thanks,
>
>Steve Upton
>
>
>
>#############################################################
>
>Attend the Lasso Developer Conference 2013!
>Sept 12-14, 2013 in Niagara Falls, Canada
>http://www.lassosoft.com/LDC-niagara-falls-2013
>
>#############################################################
>This message is sent to you because you are subscribed to
>the mailing list Lasso
>Lasso@lists.lassosoft.com
>To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
>Send administrative queries to <Lasso-request@lists.lassosoft.com>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy Web Site Builder
Soquel, CA
<web@StevePiercy.com> <http://www.StevePiercy.com/>
#############################################################
Attend the Lasso Developer Conference 2013!
Sept 12-14, 2013 in Niagara Falls, Canada
http://www.lassosoft.com/LDC-niagara-falls-2013
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>