[Catalyst] Problems with authentication (LDAP and Minimal)

user01 user01 at kyberwelt.de
Thu Jun 6 16:48:46 GMT 2013


Hi Robert

On Wed, 5 Jun 2013 10:38:46 -0500
Robert Wohlfarth <rbwohlfarth at gmail.com> wrote:

As it seems, my example hand-typed into this mail was OK. 

> On Tue, Jun 4, 2013 at 7:37 AM, user01 <user01 at kyberwelt.de> wrote:
<SNIP>
> > __PACKAGE__->config(
> >   'authentication' => {
> >      default_realm => "ldap",
> >      realms => {
> >        ldap => {
> >          credential => {
> >            class => "Password",
<SNAP>

and i had to read your example

<SNIP> 
> I've used this configuration successfully in a couple of apps.
> 
> <Plugin::Authentication>
> <default>
> <credential>
> class NoPassword
> </credential>
> <store>
<SNAP>

to spot my typo in the real configs i have been using:
__PACKAGE__->config(
    'Plugin::Authentication' => {
        default_realm => "ldap",
        realms => {
             ldap => {
                 credentials => {
                     class => "Password",
...

"credentials" vs. "credential". Such a silly typo ;)

Thanks a lot for your time
regards
virtual



More information about the Catalyst mailing list