authelia/internal/suites
Clément Michaud cc6650dbcd
[BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687)
* [BUGFIX] Set username retrieved from authentication backend in session.

In some setups, binding is case insensitive but Authelia is case
sensitive and therefore need the actual username as stored in the
authentication backend in order for Authelia to work correctly.

Fixes #561.

* Use uid attribute as unique user identifier in suites.

* Fix the integration tests.

* Update config.template.yml

* Compute user filter based on username attribute and users_filter.

The filter provided in users_filter is now combined with a filter
based on the username attribute to perform the LDAP search query
finding a user object from the username.

* Fix LDAP based integration tests.

* Update `users_filter` reference examples
2020-03-15 18:10:25 +11:00
..
BypassAll [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
Docker [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
DuoPush [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
example [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
HAProxy [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
HighAvailability [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
LDAP [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
Mariadb [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
MySQL [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
NetworkACL [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
OneFactorOnly [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
Postgres [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
ShortTimeouts [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
Standalone [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
Traefik [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
Traefik2 [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
action_2fa_methods.go Fix DuoPush suite and do some clean up. 2019-12-05 11:05:24 +01:00
action_http.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_login.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
action_logout.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_mail.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_register.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_reset_password.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_totp.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_visit.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
constants.go [FEATURE] Add TLS support. (#677) 2020-03-03 18:18:25 +11:00
docker-compose.yml [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
docker.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
duo.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
environment.go [MISC] Adjust TLS log messages (#701) 2020-03-10 18:14:28 +11:00
http.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
kubernetes.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
README.md Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
registry.go [FEATURE] Add TLS support. (#677) 2020-03-03 18:18:25 +11:00
scenario_available_methods_test.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
scenario_backend_protection_test.go [FEATURE] Add TLS support. (#677) 2020-03-03 18:18:25 +11:00
scenario_bypass_policy_test.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
scenario_custom_headers_test.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
scenario_default_redirection_url_test.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
scenario_inactivity_test.go Disable inactivity timeout when user checked remember me. 2020-01-18 00:12:36 +01:00
scenario_one_factor_test.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
scenario_redirection_check_test.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
scenario_redirection_url_test.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
scenario_regulation_test.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
scenario_reset_password_test.go Misc Spelling Corrections 2020-01-21 12:16:00 +11:00
scenario_two_factor_test.go Allow administrator to provide a Google Analytics tracking ID. 2019-12-08 14:31:48 +01:00
scenario_user_preferences_test.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
suite_bypass_all_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_bypass_all.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_docker_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_docker.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_duo_push_test.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
suite_duo_push.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_haproxy_test.go Create a suite for HAProxy 2020-01-10 11:41:01 +01:00
suite_haproxy.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_high_availability_test.go Fix HighAvailability suite randomness. 2019-12-08 16:41:28 +01:00
suite_high_availability.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
suite_kubernetes_test.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
suite_kubernetes.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_ldap_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_ldap.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
suite_mariadb_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_mariadb.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_mysql_test.go [FEATURE] Support MySQL as a storage backend. (#678) 2020-03-05 10:25:52 +11:00
suite_mysql.go [FEATURE] Support MySQL as a storage backend. (#678) 2020-03-05 10:25:52 +11:00
suite_network_acl_test.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
suite_network_acl.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_one_factor_only_test.go [BUGFIX] Skip 2FA step if no ACL rule is two_factor (#684) 2020-03-06 11:31:09 +11:00
suite_one_factor_only.go [BUGFIX] Skip 2FA step if no ACL rule is two_factor (#684) 2020-03-06 11:31:09 +11:00
suite_postgres_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_postgres.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_short_timeouts_test.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
suite_short_timeouts.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_standalone_test.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
suite_standalone.go [FEATURE] Add TLS support. (#677) 2020-03-03 18:18:25 +11:00
suite_traefik_test.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
suite_traefik.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_traefik2_test.go Add Traefik2 suite and refactor Traefik suite (#562) 2020-01-19 11:06:37 +01:00
suite_traefik2.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suites.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_body_contains.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
verify_is_authenticated_page.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
verify_is_first_factor_page.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_is_home.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_is_second_factor_page.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_mail.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_notification.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_secret_authorized.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
verify_url_is.go Fix HighAvailability suite randomness. 2019-12-08 16:41:28 +01:00
webdriver.go [FEATURE] Support MySQL as a storage backend. (#678) 2020-03-05 10:25:52 +11:00

Authelia Suites

A suite is a kind of virtual environment for Authelia. Please read the related documentation here to get more details.