[Catalyst] auth::DBIC & session problems

leonard.a.jaffe at jpmchase.com leonard.a.jaffe at jpmchase.com
Tue Aug 15 21:19:13 CEST 2006


On 08/15/2006, Matt S Trout <dbix-class at trout.me.uk> wrote: 

> leonard.a.jaffe at jpmchase.com wrote:
> > 
> > The default behavior of session and auth used together to the stick 
the 
> > user
> > in the session.
> > 
> >  From C::P::Authentication.pm:
> 
> save_user_in_session calls $user->for_session, which in 
Auth::Store::DBIC 
> returns $obj->id
> 

I saw that.  I also not that there is a __user_store being saved off, 
which contains 
a result_source, or something like it, including a debugfh attribute, 
which is defined
as a GLOB.

So, since user->for_session is similar between User::DBIC and User::Hash 
(which is used
for Authentication::Minimal) the offending contents would, by deductive 
reasoning be in
the __user_store of the DBIC user record.

My user record is as follows:
id int(11),
name varchar(64)
standardid varchar(8)

The DBIC-based sesison dump is attached.

Len.






-----------------------------------------
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law.  If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060815/bf0bcd9b/attachment-0001.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: session_dump.txt
Url: http://lists.rawmode.org/pipermail/catalyst/attachments/20060815/bf0bcd9b/attachment-0001.txt 


More information about the Catalyst mailing list