authelia/internal/configuration/validator
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
..
authentication.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
authentication_test.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
configuration.go [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
configuration_test.go [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
notifier.go Add validation for notifier configuration. 2020-01-22 10:15:25 +11:00
notifier_test.go Add validation for notifier configuration. 2020-01-22 10:15:25 +11:00
session.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
session_test.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
storage.go [FIX] Prevent crash when storage config is nil (#623) 2020-02-06 13:53:02 +11:00
storage_test.go [FIX] Prevent crash when storage config is nil (#623) 2020-02-06 13:53:02 +11:00
totp.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
totp_test.go Introduce viper in order to read secrets from env variables. 2020-01-22 10:15:25 +11:00