Skip to main content

Authentic2 Auth Kerberos

It provides basic implementation of the HTTP Negotiate authentication mechanism and autologin support using Javascript and a cookie.

The django-kerberos project is used as a basis for this plugin.

Install

You just have to install the package in your virtualenv and relaunch, it will be automatically loaded by authentic2.

You must define the KRB5_KTNAME environment to the path of a keytab file containing the key for your service principal. See django-kerberos documentation for details.

Settings

  • A2_AUTH_KERBEROS_ENABLED: enable the authentication module, default is True.

  • A2_AUTH_KERBEROS_CREATE_USER: whether to create users for Kerberos

    principals, default is True.

  • A2_AUTH_KERBEROS_REALM: default reaml to attribute to user, default is None.

    If not None, the Kerberos realm is replaced by this one. It’s incompatible with support for multiple realms.

  • LDAP_AUTH_SETTINGS: same settings than for other usages in Authentic2, the Kerberos backend introduce a new key ‘principal_filter’ which is a str.format() template receiving two keyword arguments, username (the local part of the principal) and realm.

Changelog

1.1.0

  • use a2_just_logged_out to authorize automatic login and hide login tab

  • add LDAP backend

1.0.0

  • initial release

Release files for authentic2-auth-kerberos 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for authentic2-auth-kerberos 1.1.0
File Size Uploaded
authentic2-auth-kerberos-1.1.0.tar.gz 8.9 kB Details

Release files / authentic2-auth-kerberos-1.1.0.tar.gz

Download URL authentic2-auth-kerberos-1.1.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a35c9fc89cb9ab0ed8e1731266b6d3ffedabd9a4d0f6094c60de5a19f197ff4d
BLAKE2b-256 checksum
How to use checksums
1011244e946f7605ae1dfcba1c5c577f5d4ff5205d23c36ee2e0967eb03f0dec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page