authelia/internal/authentication
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
..
const.go [FEATURE] Support Argon2id password hasing and improved entropy (#679) 2020-03-06 12:38:02 +11:00
file_user_provider.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
file_user_provider_test.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
ldap_connection_factory.go Add support for LDAP over TLS. 2019-12-06 21:33:47 +01:00
ldap_connection_factory_mock.go Add support for LDAP over TLS. 2019-12-06 21:33:47 +01:00
ldap_user_provider.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
ldap_user_provider_test.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
password_hash.go [FEATURE] Support Argon2id password hasing and improved entropy (#679) 2020-03-06 12:38:02 +11:00
password_hash_test.go [FEATURE] Support Argon2id password hasing and improved entropy (#679) 2020-03-06 12:38:02 +11:00
types.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
user_provider.go Move source code into internal directory to follow standard project layout. 2019-11-17 16:30:33 +01:00