[Catalyst] Behaviour of Catalyst::Plugin::Authentication

Jay K jayk at ion0.com
Wed Mar 19 20:53:51 GMT 2008


Sorry all.  Mail client went crazy.

If you try to call authenticate with no valid fields from the user
class - it will throw an exception - as of the next release.

Jay

On Mar 19, 2008, at 2:44 PM, Jay K wrote:

> Upon consideration - I've decided to throw an exception if you try to
> always going to be an error and better to fail loudly than silently
> pass auth, even if it is unlikely that the passwords will match.
> I'll put this in the next release.
>
> You can still accomplish an empty search if you really want to by
> using the searchargs parameter...
>
> Jay
>
>
> On Mar 19, 2008, at 2:08 PM, Jochen Luig wrote:
>
>> Hi Alex,
>>
>>>
>>> It is A Feature. You've messed with parameters, username in
>>> userinfo,
>>> login in credential. my $userinfo = { login => $login, password =>
>>> $password} will cure.
>>
>> Yes, I know. I found this out just as I was beginning to complain on
>> #catalyst. I just wanted to know if I interpreted the behaviour (the
>> primary key part) correctly and if my suggestion to issue a warning
>> in
>> such a case is off-base.
>>
>> Best regards,
>>
>> Jochen
>>
>>
>> _______________________________________________
>> List: Catalyst at lists.scsys.co.uk
>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
>> Dev site: http://dev.catalyst.perl.org/
>
> ---
> America will never be destroyed from the outside. If we falter and
> lose our freedoms, it will be because we destroyed ourselves. --
> Abraham Lincoln
>
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/

---
For most things, throwing yourself at the wall over and over is a
better way to improve than thinking hard about the wall and taking
pictures of it.  -- D.Litwack





More information about the Catalyst mailing list