atoti_plus.user_service_client.kerberos.security module#

class atoti_plus.KerberosSecurity#

Manage Kerberos authentication on the session.

Note

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.

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

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

Return type

User

See also

create_user() for a similar usage example.

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

Manage Kerberos users.