This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Benjamin Dauvergne 6a48422c5b Add 'debian/' from commit '4ec317e87754fe2513d2adc16f502fcce9c33964'
git-subtree-dir: debian
git-subtree-mainline: 5527a4c9a6
git-subtree-split: 4ec317e877
2015-04-02 19:24:31 +02:00
authentic2_idp_ltpa views,middleware: do not ever cache responses containing an LTPA cookie 2014-04-22 16:24:18 +02:00
debian Add 'debian/' from commit '4ec317e87754fe2513d2adc16f502fcce9c33964' 2015-04-02 19:24:31 +02:00
AUTHORS add copyright notices 2014-03-10 15:33:54 +01:00
COPYING COPYING: fix package name 2014-03-10 15:36:35 +01:00
README.txt adapter: add an AttributeAdapter to use an LDAP attribute to fill the LTPA token user field 2014-03-14 17:43:11 +01:00
middleware.py middleware: add middleware to set LTPA cookie on all authenticated requests 2014-04-11 07:42:00 +02:00
setup.py setup.py: use get_version 2014-03-13 13:33:39 +01:00

README.txt

IDP for IBM Domino. It can generate LTPA tokens.

Install
=======

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

Settings
========

A2_LTPA_TOKEN_SECRET

    Secret to sign tokens, can be plain string, base64 encode with the 'b64:'
    prefix or hex encoded with the 'hex:' prefix. It's mandatory.

A2_LTPA_TOKEN_DURATION

    Lifetime of a token as seconds, default is 3600 (1 hour).

A2_LTPA_COOKIE_NAME

    Name of the cookie to set.

A2_LTPA_COOKIE_DOMAIN

    Domain to set the cookie for cross-domain usage.

A2_LTPA_COOKIE_HTTP_ONLY

    Should the cookie be only sent with HTTP request, default is true.

A2_LTPA_ADAPTER

    Class to adapt username for the LTPA idp, default is
    'authentic2_idp_ltpa.adapter.UserAdapter'

A2_LTPA_TOKEN_USERNAME_ATTRIBUTE:

    Use an attribute from the user to fill the user field of the LTPA token.