Skip Menu |

This queue is for tickets about the Crypt-OpenToken CPAN distribution.

Report information
The Basics
Id: 72377
Status: new
Priority: 0/
Queue: Crypt-OpenToken

People
Owner: Nobody in particular
Requestors: dan [...] buildingonline.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Crypt::OpenToken
Date: Fri, 11 Nov 2011 18:25:44 -0700
To: bug-Crypt-OpenToken [...] rt.cpan.org
From: Dan Busarow <dan [...] buildingonline.com>
Hi, I'm trying to use Crypt::OpenToken to handle logins from a ping federated server. My app is die ing inside of Moose with this error Single parameters to new() must be a HASH ref at /opt/perl/lib/site_perl/5.14.2/i686-linux/Moose/Object.pm line 34 Moose::Object::BUILDARGS('Crypt::OpenToken', 'JElsZW50Mg==') called at /opt/perl/lib/site_perl/5.14.2/i686/linux/Moose/Object.pm line 26 Moose::Object::new('Crypt::OpenToken', 'JElsZW50Mg==') called at /usr/websites/dev.hardielink/hardielink.pl line 109 and my code, reduced as far as I can is #!/opt/perl/bin/perl use CGI; use Crypt::OpenToken; if($cgi->param('SAMLResponse')) { logerr("got param SAMLResponse"); $factory = Crypt::OpenToken->new("JElsZW50Mg=="); logerr("got the opentoken factory"); .. } I have no experience using opentoken or pingidentity at all. Can you offer any suggestions? perl 5.14.2 Moose 2.0205 Crypt::OpenToken 0/06 DateTime 0.70 Digest::SHA1 2.13 Crypt::Rijndael 1.09 Date::Parse 2.30 Digest::HMAC_SHA1 1.03 Test::Differences 0.61 Any help, suggestions whatever gladly accepted! Thanks, Dan -- Dan Busarow dan@buildingonline.com 949 496 6648 x218