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 *username*:
+ Can take one of the following values, defaults to "username":
- 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.
+ "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