identifier for the user.
user_search_options
- This takes a hashref. It will append it's values to the call to
+ This takes a hashref. It will append its values to the call to
Net::LDAP's "search" method during the initial user lookup. See
Net::LDAP for valid options.
role_filter. If this is set to "dn", we will use the User Objects DN.
role_search_options
- This takes a hashref. It will append it's values to the call to
+ This takes a hashref. It will append its values to the call to
Net::LDAP's "search" method during the user's role lookup. See Net::LDAP
for valid options.
instead be performed when bound as the user you authenticated as.
persist_in_session
- Can take one of the following values, defaults to undefined:
+ Can take one of the following values, defaults to "username":
- undefined
- Only store the username in the session and lookup the user and its roles
- on every request. That was how the module worked until version 1.015 and
- is also the default for backwards compatibility.
+ "username"
+ Only store the username in the session and lookup the user and its
+ roles on every request. That was how the module worked until version
+ 1.015 and is also the default for backwards compatibility.
- all
- Store the user object and its roles in the session and never look it up
- in the store after login.
+ "all"
+ Store the user object and its roles in the session and never look it
+ up in the store after login.
- NOTE: It's recommended to limit the user attributes fetched from LDAP
- using user_search_options / attrs to not exhaust the session store..
+ NOTE: It's recommended to limit the user attributes fetched from
+ LDAP using "user_search_options" / "attrs" to not exhaust the
+ session store.
entry_class
The name of the class of LDAP entries returned. This class should exist
Catalyst::Plugin::Authentication with this object.
AUTHORS
- Adam Jacob <holoway@cpan.org>
+ Adam Jacob <holoway@cpan.org> Peter Karman <karman@cpan.org> Alexander
+ Hartmaier <abraxxa@cpan.org>
Some parts stolen shamelessly and entirely from
Catalyst::Plugin::Authentication::Store::Htpasswd.
- Currently maintained by Peter Karman <karman@cpan.org>.
+ Currently maintained by Dagfinn Ilmari Mannsåker <ilmari@cpan.org>.
THANKS
To nothingmuch, ghenry, castaway and the rest of #catalyst for the help.