Grokbase
Topics Posts Groups | in
x
[ help ]

Andrew Peebles (pe...@cortina-systems.com)

Profile | Posts (2)

User Information

Display Name:Andrew Peebles
Partial Email Address:pe...@cortina-systems.com
Posts:
2 total
2 in Catalyst Framework

5 Most Recent

1) Andrew Peebles [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP
| +1 vote
Yeah, makes sense. Esp. if C::P::A::S::LDAP is one of those modules that itself has not been...
catalyst@lists.scsys.co.uk
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Yeah, makes sense.  Esp. if C::P::A::S::LDAP is one of those modules 
that itself has not been converted to the new name space.
a


Jay K wrote:
> Hi all,
>
> I can shed some light here.
>
> As of Catalyst::Plugin::Authentication version 0.10003 - the default
> naming for stores and credentials is
>
> Catalyst::Authentication::Store::XYZ
>
> and
>
> Catalyst::Authentication::Credential::XYZ
>
> The Store and Credential modules that have been updated to work with
> realms are not loaded as Catalyst Plugins, and the fact that the
> namespace indicated plugin was confusing people. As of 0.10003 - the
> default action is to look for modules using the correct namespace, and
> if not found, fall back to the old namespace. That is all the debug
> message is saying, that it fell back to the old-style of naming. It's
> not an error and will not break anything.
>
> The debug message is there in case you are intending to load a
> Catalyst::Authentication::XYZ module and your app is not finding it...
> which could cause problems if an older module is being found and
> loaded instead.
>
> If the debug message really bothers you, you can specify the full
> module name (prefixed with +) instead of just 'Password' or
> 'Store::LDAP'.
>
> Hope that clears things up,
>
> Jay
>
>
>
>
> On Jan 24, 2008, at 1:49 PM, Andrew Peebles wrote:
>
>> rahed wrote:
>>>
>>> On 1/24/08, Peter Karman <peter@peknet.com> wrote:
>>>
>>>
>>>> you did not miss anything. There are tests for this timeout issue
>>>> in svn already but I am
>>>> waiting on some other issues before making a new release
>>>> of ::Store::LDAP.
>>>>
>>>> The tests try and access openldap.org and timeout if they can't
>>>> reach it. So you can
>>>> safely ignore those test failures for now.
>>>>
>>> Thank you, I will gladly be ignorant.
>>>
>>>
>> What's this about?
>>
>> [warn] Store class "Catalyst::Authentication::Store::LDAP" not
>> found, trying deprecated ::Plugin:: style naming.
>>
>> This is a clean install of Cat (yesterday) ...
>>
>> perl -MCPAN -e 'install Catalyst::Authentication::Store::LDAP'
>> CPAN: Storable loaded ok
>> Going to read /root/.cpan/Metadata
>> Database was generated on Wed, 23 Jan 2008 23:30:57 GMT
>> Warning: Cannot install Catalyst::Authentication::Store::LDAP, don't
>> know what it is.
>> Try the command
>>
>> ??
>>
>> _______________________________________________
>> List: [email protected: Cat...@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/
>
> ---
> America will never be destroyed from the outside. If we falter and
> lose our freedoms, it will be because we destroyed ourselves. --
> Abraham Lincoln
>
>
>
> _______________________________________________
> List: [email protected: Cat...@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/
2) Andrew Peebles Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP
| +1 vote
Yeah, makes sense. Esp. if C::P::A::S::LDAP is one of those modules that itself has not been...
catalyst@lists.scsys.co.uk
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Yeah, makes sense.  Esp. if C::P::A::S::LDAP is one of those modules 
that itself has not been converted to the new name space.
a


Jay K wrote:
> Hi all,
>
> I can shed some light here.
>
> As of Catalyst::Plugin::Authentication version 0.10003 - the default
> naming for stores and credentials is
>
> Catalyst::Authentication::Store::XYZ
>
> and
>
> Catalyst::Authentication::Credential::XYZ
>
> The Store and Credential modules that have been updated to work with
> realms are not loaded as Catalyst Plugins, and the fact that the
> namespace indicated plugin was confusing people. As of 0.10003 - the
> default action is to look for modules using the correct namespace, and
> if not found, fall back to the old namespace. That is all the debug
> message is saying, that it fell back to the old-style of naming. It's
> not an error and will not break anything.
>
> The debug message is there in case you are intending to load a
> Catalyst::Authentication::XYZ module and your app is not finding it...
> which could cause problems if an older module is being found and
> loaded instead.
>
> If the debug message really bothers you, you can specify the full
> module name (prefixed with +) instead of just 'Password' or
> 'Store::LDAP'.
>
> Hope that clears things up,
>
> Jay
>
>
>
>
> On Jan 24, 2008, at 1:49 PM, Andrew Peebles wrote:
>
>> rahed wrote:
>>>
>>> On 1/24/08, Peter Karman <peter@peknet.com> wrote:
>>>
>>>
>>>> you did not miss anything. There are tests for this timeout issue
>>>> in svn already but I am
>>>> waiting on some other issues before making a new release
>>>> of ::Store::LDAP.
>>>>
>>>> The tests try and access openldap.org and timeout if they can't
>>>> reach it. So you can
>>>> safely ignore those test failures for now.
>>>>
>>> Thank you, I will gladly be ignorant.
>>>
>>>
>> What's this about?
>>
>> [warn] Store class "Catalyst::Authentication::Store::LDAP" not
>> found, trying deprecated ::Plugin:: style naming.
>>
>> This is a clean install of Cat (yesterday) ...
>>
>> perl -MCPAN -e 'install Catalyst::Authentication::Store::LDAP'
>> CPAN: Storable loaded ok
>> Going to read /root/.cpan/Metadata
>> Database was generated on Wed, 23 Jan 2008 23:30:57 GMT
>> Warning: Cannot install Catalyst::Authentication::Store::LDAP, don't
>> know what it is.
>> Try the command
>>
>> ??
>>
>> _______________________________________________
>> List: [email protected: Cat...@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/
>
> ---
> America will never be destroyed from the outside. If we falter and
> lose our freedoms, it will be because we destroyed ourselves. --
> Abraham Lincoln
>
>
>
> _______________________________________________
> List: [email protected: Cat...@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/


_______________________________________________
List: [email protected: Cat...@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/
3) Andrew Peebles [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP
| +1 vote
An HTML attachment was scrubbed... URL:...
catalyst@lists.scsys.co.uk
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
4) Andrew Peebles Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP
| +1 vote
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta...
catalyst@lists.scsys.co.uk
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Peter Karman wrote:
<blockquote cite="mid47990F0C.8080300@peknet.com" type="cite">
  <pre wrap="">
On 01/24/2008 03:45 PM, Andrew Peebles wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Peter Karman wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">On 01/24/2008 02:49 PM, Andrew Peebles wrote:

  
      </pre>
      <blockquote type="cite">
<pre wrap="">perl -MCPAN -e 'install Catalyst::Authentication::Store::LDAP'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Wed, 23 Jan 2008 23:30:57 GMT
Warning: Cannot install Catalyst::Authentication::Store::LDAP, don't
know what it is.
    
        </pre>
      </blockquote>
      <pre wrap="">you forgot the ::Plugin part

  
      </pre>
    </blockquote>
<pre wrap="">My original email stated the error message coming from Catalyst, I just
cut-n-pasted it:

[warn] Store class "Catalyst::Authentication::Store::LDAP" not found,
trying deprecated ::Plugin:: style naming.

Then I tried to install the package listed in the warning ... ???

    </pre>
  </blockquote>
  <pre wrap=""><!---->
what does your config and 'use Catalyst qw( ... )' look like?

The default Authentication plugin will try and load the Store and Credential plugins from
the config, IIRC.

  </pre>
</blockquote>
use Catalyst qw/<br>
    -Debug <br>
    ConfigLoader <br>
    Static::Simple<br>
    StackTrace<br>
    Authentication<br>
    Authentication::Store::LDAP<br>
    Authentication::Credential::Password<br>
    Authorization::Roles<br>
    Authorization::ACL<br>
    Session<br>
    Session::Store::FastMmap<br>
    Session::State::Cookie<br>
    /;<br>
<br>
<br>
Config in the yml file, pretty much cut-n-paste from the new doc ... <br>
<br>
    class: Password for credentials and<br>
    class: LDAP for store<br>
<br>
a<br>
<br>
</body>
</html> _______________________________________________
List: [email protected: Cat...@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/
5) Andrew Peebles [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP
| +1 vote
An HTML attachment was scrubbed... URL:...
catalyst@lists.scsys.co.uk
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]

spacer
Profile | Posts (2)
Home > People > Andrew Peebles