Jun 27, 2013; 09:57
Bil Corry
Re: Auth_Custom Auth_Prompt
Use [auth_custom] with the -authTag param. I don't have a simple example
handy, but Marc Vos said he uses it like this:
auth_custom(-AuthTag='zz_auth_check',
-AuthTagParams=array(-group='zz_sys'), -realm='GDTG Logistics');
(from
http://lasso.2283332.n4.nabble.com/Set-realm-username-password-tp3697659p3698444.html
)
- Bil
On Thu, Jun 27, 2013 at 4:38 AM, Steve Piercy - Web Site Builder <
Web@stevepiercy.com> wrote:
> 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://lassoguide.com/operations/authentication.html>
> http://www.lassosoft.com/**lassoDocs/languageReference/**obj/auth_user<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<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<Lasso-unsubscribe@lists.lassosoft.com>
>> >
>> Send administrative queries to <Lasso-request@lists.**lassosoft.com<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<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<Lasso-unsubscribe@lists.lassosoft.com>
> >
> Send administrative queries to <Lasso-request@lists.**lassosoft.com<Lasso-request@lists.lassosoft.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>
Jun 27, 2013; 10:24
Marc Vos
Re: Auth_Custom Auth_Prompt
Jun 27, 2013; 16:13
Steve Upton
=?windows-1252?Q?Re=3A_Auth_Custom=2C_Auth_Prompt_or=85=2E=2E?=