Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Authentic2 Auth Kerberos

Project Description

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.


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.


  • 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.



  • use a2_just_logged_out to authorize automatic login and hide login tab
  • add LDAP backend


  • initial release

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(8.9 kB) Copy SHA256 Hash SHA256
Source Mar 8, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting