<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Many thanks, Tomas, just what I needed. Right now I'm still on 5.7 due
to an immediate release, but next week I'll go to 5.8, and then I'll be
happy to review and test a better solution. Credential::Remote looks
like what I didn't find. When I started working with this
authentication issue, I wouldn't even have understood
Credential::Remote type code, but by Monday I'll be better placed and
have time enough to give it a thorough test. <br>
<br>
All the best<br>
Stuart<br>
<br>
<br>
Tomas Doran wrote:
<blockquote cite="mid:4A26B5E5.2010605@bobtfish.net" type="cite">Stuart
Watt wrote:
  <br>
  <blockquote type="cite">I'm developing an app which uses IIS and
FastCGI as its back end. Also, we are expected by the client to use
Windows integrated authentication in the server -- this is an intranet
app, so no login screen should be expected.
    <br>
  </blockquote>
&lt;snip&gt;
  <br>
  <blockquote type="cite">trying to read the one already performed, so
I put together a Catalyst::Authentication::Credential::Environment
module, that simply </blockquote>
  <br>
Doh, you appear to have duplicated a chunk of effort:
  <br>
  <br>
<a class="moz-txt-link-freetext" href="http://dev.catalyst.perl.org/repos/Catalyst/branches/Catalyst-Plugin-Authentication/credential_remote/lib/Catalyst/Authentication/Credential/Remote.pm">http://dev.catalyst.perl.org/repos/Catalyst/branches/Catalyst-Plugin-Authentication/credential_remote/lib/Catalyst/Authentication/Credential/Remote.pm</a>
  <br>
  <br>
  <blockquote type="cite">Is there another simple but better way to
achieve this? Ideally one which avoids the deprecated
$c-&gt;request-&gt;user. I'm only starting to use Catalyst for
authentication stuff.
    <br>
  </blockquote>
  <br>
Not at the moment / in a released state.
  <br>
  <br>
The next Catalyst release will add $c-&gt;req-&gt;remote_user for this.
There is currently a failing test (for a bug which has been in Catalyst
forever) in trunk, and I'm hoping to get this fixed before we release
5.80005.
  <br>
  <br>
I'm also going to be reviewing / merging this branch of
Catalyst::Plugin::Authentication soonish (which I'm seriously late on
already)!
  <br>
  <br>
So to answer your actual question, yes, what you're doing is the right
thing to do, and will be present in 'officially released' software
within the next couple of weeks max hopefully.
  <br>
  <br>
If you fancy reviewing the code I linked about, and trying it out to
see if it works for you, and commenting on anything you think needs
work (including documentation!), then that would be a great help :)
  <br>
  <br>
Cheers
  <br>
t0m
  <br>
  <br>
  <br>
_______________________________________________
  <br>
List: <a class="moz-txt-link-abbreviated" href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a>
  <br>
Listinfo: <a class="moz-txt-link-freetext" href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a>
  <br>
Searchable archive:
<a class="moz-txt-link-freetext" href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a>
  <br>
Dev site: <a class="moz-txt-link-freetext" href="http://dev.catalyst.perl.org/">http://dev.catalyst.perl.org/</a>
  <br>
  <br>
--
  <br>
This message was scanned by ESVA and is believed to be clean.
  <br>
Click here to report this message as spam.
<a class="moz-txt-link-freetext" href="http://antispam.infobal.com/cgi-bin/learn-msg.cgi?id=8D20F27F14.90E6C">http://antispam.infobal.com/cgi-bin/learn-msg.cgi?id=8D20F27F14.90E6C</a>
  <br>
  <br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<span style="color: rgb(102, 0, 0);">Stuart Watt<br>
ARM Product Developer<br>
Information Balance</span></div>
</body>
</html>