On Tue, Dec 29, 2009 at 9:15 AM, Ben van Staveren <[email protected]> wrote: >> On 28 Dec 2009, at 09:16, Ben van Staveren wrote: >>> >>> Warning: I use this myself, it seems to work, but it's a hack. YMMV. >>> Standard disclaimer applies. >> >> I.e. It is very much relying on an implementation detail which I/we can >> and _will_ feel free to change at our leisure if needed. > > Correct :) Like I said it's something I use in one spot, and I'm fully aware > of the fact that it will break sooner or later, but for now it was the > "quick" way to get the result I wanted. > > > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ >
But if I had to choose between your hack and using $c->set_authenticated( $user, $realmname ) (given that it works, never tested it) Id go with the latter for at least its documented. -- David Schmidt | http://www.fm5.at _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
