Re: [cgiapp] CGI::Application::Plugin::Authentication

2011-11-01 Thread Nicholas Bamber
I think Cees may thiught about this at the least. I am also copying it to the mailing list. On 31/10/11 20:04, Cliff Green wrote: Hello, I've been struggling to understand how to build a token-based Store for this plugin and not getting much forward movement. Do you know if anyone has put

[cgiapp] CGI::Application::Plugin::Authentication - how to get at the CGI::Application object instance?

2009-03-06 Thread Terrence Brannon
Is there any way to access the CGI::Application object from a closure being used with the Generic driver? Because you configure the call to the closure at package-level, it is not obvious how to supply it to the closure: __PACKAGE__-authen-config( DRIVER = [ 'Generic', \check_password ],

Re: [cgiapp] CGI::Application::Plugin::Authentication - how to get at the CGI::Application object instance?

2009-03-06 Thread Cees Hek
On Fri, Mar 6, 2009 at 3:30 AM, Terrence Brannon tbran...@insuranceagents.com wrote: Is there any way to access the CGI::Application object from a closure being used with the Generic driver? Because you configure the call to the closure at package-level, it is not obvious how to supply it

[cgiapp] CGI::Application::Plugin::Authentication posthook

2009-02-26 Thread Terrence Brannon
Hello, I am using CGI::Application::Plugin::Authentication and contemplating using CGI::Application::Plugin::Authorization. I would like some way of adding some things to $app-authen-store() after authenticating the user, and before any runmode actually runs. Since these things are particular to

[cgiapp] CGI::Application::Plugin::Authentication --- Can't locate object method _cgiapp via package Aff

2009-01-14 Thread Terrence Brannon
Hello, I am using CGI::Application::Plugin::Authentication and my package starts out like this: package Aff; use CGI::Carp 'fatalsToBrowser' ; use base 'CGI::Application'; use CGI::Application::Plugin::Authentication; use CGI::Application::Plugin::Session; use Local::Seamstress;

Re: [cgiapp] CGI::Application::Plugin::Authentication --- Can't locate object method _cgiapp via package Aff

2009-01-14 Thread Stewart Heckenberg
goto CGI::Application::Plugin::Authentication::login_box Have you tried it without the above line? Perhaps just replace the above with: return login box goes here; Or something similar, just to test. My guess is the goto is causing the problem. Stew # CGI::Application community mailing

[cgiapp] CGI::Application::Plugin::Authentication Patch

2006-07-19 Thread Michael Petnuch
Cees: This is a patch that fixes the problems I brought up in my previous email.  I doubt this solution is optimal.  Take a look at it and let me know what you think. patch.diff Description: Binary data smime.p7s Description: S/MIME cryptographic signature

Re: [cgiapp] CGI::Application::Plugin::Authentication

2006-06-14 Thread Michael Petnuch
Thanks Cees, That fixed it right away. I have be to much more careful now with things in mod_perl. Michael On Jun 14, 2006, at 11:58 AM, Cees Hek wrote: On 6/14/06, Michael Petnuch [EMAIL PROTECTED] wrote: I am having a problem using CGI::Application::Plugin::Authentication

Re: [cgiapp] CGI::Application::Plugin::Authentication. How to log a user in after prerun?

2006-05-23 Thread Simon Rees
On Tuesday 23 May 2006 00:50, Giannis Economou wrote: I'm doing the following now, have you tried it? Inside the runmode I want the login to happen: sub another_runmode { ... $self-query-param( -name = 'auth_usr_uname', value = $uname); $self-query-param( -name =

[cgiapp] CGI::Application::Plugin::Authentication. How to log a user in after prerun?

2006-05-22 Thread Simon Rees
Hi I'm using CGI::Application::Plugin::Authentication in my web application and have found it useful but I'm stuck on a good way to implement some functionality I need. After a user has submitted their registration details I need to Authenticate them straight away. The registration form

Re: [cgiapp] CGI::Application::Plugin::Authentication. How to log a user in after prerun?

2006-05-22 Thread Cees Hek
On 5/22/06, Simon Rees [EMAIL PROTECTED] wrote: I'm using CGI::Application::Plugin::Authentication in my web application and have found it useful but I'm stuck on a good way to implement some functionality I need. After a user has submitted their registration details I need to Authenticate them

Re: [cgiapp] CGI::Application::Plugin::Authentication. How to log a user in after prerun?

2006-05-22 Thread Giannis Economou
I'm doing the following now, have you tried it? Inside the runmode I want the login to happen: sub another_runmode { ... $self-query-param( -name = 'auth_usr_uname', value = $uname); $self-query-param( -name = 'auth_usr_passwd', value = $passwd); $self-authen-initialize; ...

Re: [cgiapp] CGI-Application-Plugin-Authentication-0.04

2005-10-05 Thread Shawn Sorichetti
On Oct 4, 2005, at 5:18 PM, Cees Hek wrote: On 10/4/05, H S [EMAIL PROTECTED] wrote: Hi there, Any hints on what's missing when I tried to do 'make test' ? t/01_basic.NOK 3# Failed test 'instance dies when called passed non CGI::App module' # in t/01_basic.t at line 40. #

Re: [cgiapp] CGI-Application-Plugin-Authentication-0.04

2005-10-05 Thread H S
Thanks for the info, Shawn. I tried to install Test::Warn and for some reason I've got 'make test' error (again) Any suggestions? t/carped...NOK 2# Faile\ d test 'Warnings and Carpings mixed, asked only for like carpings' # in t/carped.t at line 38. # STDERR is: # ^[[30m^[[42m#

Re: [cgiapp] CGI-Application-Plugin-Authentication-0.04

2005-10-05 Thread Shawn Sorichetti
On Oct 5, 2005, at 11:24 AM, H S wrote: Thanks for the info, Shawn. I tried to install Test::Warn and for some reason I've got 'make test' error (again) Any suggestions? From what I've been reading on the perl-qa mailing list there have been some issues discovered with a recent

Re: [cgiapp] CGI-Application-Plugin-Authentication-0.04

2005-10-04 Thread H S
Hi there, Any hints on what's missing when I tried to do 'make test' ? t/01_basic.NOK 3# Failed test 'instance dies when called passed non CGI::App module' # in t/01_basic.t at line 40. # expecting: Regexp ((?-xism:CGI::Application::Plugin::Authentication-instance must be called

[cgiapp] CGI-Application-Plugin-Authentication-0.04

2005-09-30 Thread H S
Hi, anyone has problem untar the module v.0.04? any suggestions? I am using Solaris. gums2-sun% gunzip CGI-Application-Plugin-Authentication-0.04.tar.gz | tar xf - tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file tar: ././@LongLink: typeflag 'L' not recognized,

Re: [cgiapp] CGI-Application-Plugin-Authentication-0.04

2005-09-30 Thread Ron Savage
On Fri, 30 Sep 2005 14:07:17 -0400, H S wrote: Hi Isarin If you go here http://dev.mysql.com/downloads/mysql/4.1.html for example and search for Solaris you'll see there are known problems with Solaris' tar. Try GNU tar perhaps? -- Cheers Ron Savage, [EMAIL PROTECTED] on 1/10/2005

[cgiapp] CGI::Application::Plugin::Authentication developer release

2005-09-09 Thread Cees Hek
I have a first version of the Authentication plugin available if anyone is interested in having a look (particularly people that want to help out). There are still some things to do, but I am following the release early mantra. Most of the API is complete, although there may be some small