<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><html>On Feb 27, 2008, at 7:30 AM, Richardson, Matthew wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite"><div> <div><font face="Arial" color="#000000" size="2">Hello,</font></div> <div><font face="Arial" size="2"></font> </div> <div><font face="Arial" size="2">I am trying to following the documentation from CPAN on this, but I am confused. In MyApp.pm I have the following:</font></div> <div> </div> <div><font face="Courier New" size="2">use Catalyst qw/-Debug ConfigLoader Static::Simple<br> Session<br> Session::State::Cookie<br> Session::Store::FastMmap<br> Authentication<br> Authentication::Store::LDAP<br> Authentication::Credential::Password/;</font></div> <div><font face="Courier New"></font> </div> <div><font face="Arial" size="2">However when I start the Catalyst server with <font face="Courier New">myapp_server.pl -r -d -k</font> the following is ouput:</font></div> <div><font size="2"></font> </div> <div><font face="Courier New" size="2">...</font></div> <div><font face="Courier New" size="2">[debug] Loaded plugins:<br>.----------------------------------------------------------------------------.<br>| Catalyst::Plugin::Authentication 0.10005 |<br>| Catalyst::Plugin::Authentication::Credential::Password |<br>| Catalyst::Plugin::Authentication::Store::LDAP 0.0601 |<br>| Catalyst::Plugin::ConfigLoader 0.14 |<br>| Catalyst::Plugin::Session 0.19 |<br>| Catalyst::Plugin::Session::State::Cookie 0.09 |<br>| Catalyst::Plugin::Session::Store::FastMmap 0.05 |<br>| Catalyst::Plugin::Static::Simple 0.19 |<br>'----------------------------------------------------------------------------'<br></font><font face="Courier New" size="2">...</font></div> <div><font face="Courier New" size="2"></font> </div> <div><font face="Courier New" size="2">I don't understand why Catalyst::Plugin::Authentication::Store::LDAP (deprecated) is being loaded. My expectation is that Catalyst::Authentication::Store::LDAP would be loaded. Where is the ::Plugin:: coming from? Do I need to load the Catalyst::Authentication::Store::LDAP differently?</font></div> <div><font face="Courier New" size="2"></font> </div></div></blockquote><div><br class="webkit-block-placeholder"></div>Its beeing loading, because you tell Catalyst to load it. The new Catalyst::Plugin::Authentication preferes to load its own stores and credential-modules, so removing them from the Plugin list is a good idea.</div><div><br class="webkit-block-placeholder"></div><div>(</div><div>use Catalyst qw/Debug ConfigLoader Static::Simple<br> Session<br> Session::State::Cookie<br> Session::Store::FastMmap<br> Authentication/;</div><div><br class="webkit-block-placeholder"></div><div>might be what you are looking for)</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>- andreas</div><div><br class="webkit-block-placeholder"></div></body></html>