3 use namespace::autoclean;
5 use Catalyst::Runtime 5.80;
11 Session::State::Cookie
12 Session::Store::FastMmap
17 our $VERSION = '0.01';
19 # Configure the application.
21 # Note that settings in test_ldap_web.conf (or other external
22 # configuration file that you set up manually) take precedence
23 # over this when using ConfigLoader. Thus configuration
24 # details given here can function as a default configuration,
25 # with an external configuration file acting as an override for
29 # Disable deprecated behavior needed by old applications
30 disable_component_resolution_regex_fallback => 1,
33 default_realm => "ldap",
38 "class" => "Password",
39 "password_field" => "password",
40 "password_type" => "self_check",
41 "password_hash_type" => "crypt",
45 "binddn" => "anonymous",
46 "bindpw" => "dontcare",
48 "ldap_server" => "ldap.test.no",
49 "ldap_server_options" => {
54 "role_basedn" => "ou=stavanger,o=test,c=no",
56 "role_filter" => "(&(objectClass=groupOfNames)(member=%s))",
57 "user_scope" => "one",
58 "user_search_options" => {