djangofloor.backends
¶
Miscelaneous backends¶
The provided authentication backend for django.contrib.auth
only overrides the default Django one
for remote users (users that are authenticated using a HTTP header like HTTP_REMOTE_USER).
It automatically add several groups to newly-created users.
Setting DF_DEFAULT_GROUPS is expected to be a list of group names.
-
class
djangofloor.backends.
DefaultGroupsRemoteUserBackend
[source]¶ Add groups to new users. Based on
django.contrib.auth.backends.RemoteUserBackend
. Only overrides the configure_user method to add the required groups.-
configure_user
(user)[source]¶ Configures a user after creation and returns the updated user.
By default, returns the user unmodified; only add it to the default group.
-
create_unknown_user
¶
-
ldap_backend
¶
-