The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Jifty::Plugin::AuthLDAPOnly

DESCRIPTION

MUST NOT BE USED WITH Login PLUGIN

Provide authentication: only for users in your ldap.

If you need external users see Jifty::Plugin::AuthLDAPLogin

CONFIG

in etc/config.yml Plugins: - AuthLDAPOnly: LDAPhost: ldap1.univ-metz.fr # ldap host LDAPbase: ou=people, ou=... # ldap base LDAPuid: uid # optional

in your user model use base qw/Jifty::Plugin::AuthLDAPOnly::Model::LDAPUser/;

in your application use /ldaplogin and /ldaplogout

SEE ALSO

Net::LDAP