Commit graph

7 commits

Author SHA1 Message Date
d7db0cac47 ldap.Auth: Fix commit 72d56d9
Commit 72d56d9 (Move type argument into config) swapped the order of
arguments in Auth.load(), but the ctor of ldap.Auth didn't follow the
change, fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-09-18 23:11:22 +02:00
72d56d9b63 auth.Auth.load(): Move type argument into config
Auth.load() takes a "tp" argument, specifying the Auth module name to
load. In case of jw-devops, this is part of the configuration, which
is also passed as an argument. Make taking 'type' from the config the
default. Note that this changes the prototype.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-09-12 08:25:16 +02:00
bc9fa57a2b ldap.Auth: Fix half-baked use of jwutils.ldap module
ldap.Auth lost a lot of code when jwutils.ldap was introduced, and
rightfully so, because jwutils.ldap contains most of it. OTOH, it was
used wrongly, fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-09-11 21:35:01 +02:00
1e43cdc715 jwutils.ldap: Add module
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-07-26 13:51:42 +02:00
8a316ead21 auth: Add LDAP support
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-06-05 20:48:14 +02:00
20f713e6f7 Fix errors reported by mypy
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-04-29 11:54:56 +02:00
9b1650b58f jwutils: Add Auth
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-14 14:29:30 +01:00