class atoti_plus.KerberosSecurity#

Manage Kerberos authentication on the session.


This requires KerberosConfig to be configured.

create_user(username, *, roles=())#

Add a user able to authenticate against the session using Kerberos.

Users without the role ROLE_USER will not have access to the application.

  • username (str) – The name of the user.

  • roles (Iterable[str]) – Roles of the user, can be changed at any time.

Return type


See also

create_user() for a similar usage example.

property default_roles: DefaultRoles#
property users: KerberosUsers#
class atoti_plus.KerberosUsers#

Manage Kerberos users.