[dancer-users] Basic authentication and Dancer
wyml at etr-usa.com
Fri Feb 12 22:10:29 GMT 2016
On Feb 12, 2016, at 2:56 PM, Warren Young <wyml at etr-usa.com> wrote:
> On Feb 12, 2016, at 2:54 PM, Nikos Vaggalis <nikos.vaggalis at gmail.com> wrote:
>> those variables get filled with the values you enter in the Authentication dialogue
> I think he’s asking how you get those values from *Dancer* rather than from Plack. Or at least, how you get at Plack stuff underneath Dancer, say, from a route handler.
To clarify, the OP couched this issue in terms of HTTP Basic Authentication, but it’s broader than that. The same question would apply if you used, say, Microsoft’s SSPI mechanism to allow single-sign-on to your web app:
Once the user is logged in, you still need the user name provided by the browser to tag database records for ownership by that user, to look up prior actions by that user, etc.
More information about the dancer-users