On Wed, Dec 15, 2010 at 10:10 PM, Pavel A. Karoukin wrote:
Any idea where I should start with implementing authentication +
authorization with MongoDB as backend?
You mean, a backend for session storage?
http://search.cpan.org/perldoc?Catalyst::Plugin::Session::Store::MongoDB
--
Bogdan
/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
--
Bogdan Lucaciu
http://www.sinapticode.com
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
/forms/students/info$form_id));
Do you mean path_to instead of uri_for ?
--
Bogdan Lucaciu
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
___
List: Catalyst@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/
--
Bogdan Lucaciu
Operations Manager, Sinapticode
http
to your application. For instance all the View::TT config
could very well be defined in TT.pm and kept in your code repo, while
the Model::DB DSN should be in the config file.
--
Bogdan Lucaciu
http://www.sinapticode.com
___
List: Catalyst
, The Netherlands
___
List: Catalyst@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/
--
Bogdan
, works like a charm!
I noticed that the following also works:
$c-authenticate( { username = $username, password = $password_old },
'users');
Do they result in the same actions?
On Mon, 2010-02-01 at 18:25 +0200, Bogdan Lucaciu wrote:
I think you're best off using 'check_password' from
-perl-1.04/lib/LWPx/ParanoidAgent.pm
@@ -1,5 +1,6 @@
package LWPx::ParanoidAgent;
require LWP::UserAgent;
+require LWP::Debug;
Enjoy :)
--
Bogdan Lucaciu
Operations Manager, Sinapticode
http://www.sinapticode.com
___
List: Catalyst@lists.scsys.co.uk
now). Make sure you don't ignore any errors.
--
Bogdan Lucaciu
___
List: Catalyst@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
/Angerwhale/View/HTML.pm
enjoy
--
Bogdan Lucaciu
http://www.wiz.ro
___
List: Catalyst@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
DBI
### build a debian package of DBI and it's prerequisites and install them
cpan2dist --format CPANPLUS::Dist::Deb --buildprereq --install DBI
--
Bogdan Lucaciu
http://www.wiz.ro/
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
by
Credential::Password .
--
Bogdan Lucaciu
http://www.wiz.ro
___
List: Catalyst@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
want to pass the DSN), and has some
Config::General conf samples.
Quick peek at the conf samples:
http://dev.catalyst.perl.org/svnweb/Catalyst/revision/?rev=8253
--
Bogdan Lucaciu
http://www.wiz.ro
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
);
$c-res-headers-content_length( $stat-size );
$c-res-headers-last_modified( $stat-mtime );
..
my $fh = IO::File-new( $full_path, 'r' );
..
binmode $fh;
$c-res-body( $fh );
--
Bogdan Lucaciu
http://www.wiz.ro
___
List
/, [$artist_id, $image_id]);
You can read more about uri_for in the calendar article:
http://catalyst.perl.org/calendar/2007/13
--
Bogdan Lucaciu
http://www.wiz.ro
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman
to put some tuits on it if need be.
I would rather have this in the config.
Even some Views/Models can be just in the config, as the files on disk are
sometimes mostly empty.
--
Bogdan Lucaciu
http://www.wiz.ro
___
List: Catalyst@lists.scsys.co.uk
16 matches
Mail list logo