Administrative login for Plone sites using CAS.
Project description
Introduction
This product provides administrative login functionality for Plone sites using a central authentication server (CAS).
It’s goal is to make locally stored passwords for administrative accounts obsolete and instead authenticate users with their personal, centrally managed account when logging in with an administrative account to a Plone site.
This is helpful when running a lot of Plone sites and having multiple people that need administrative access as there’s no need to share and manage administrative passwords.
Compatibility
Plone 6.1
Python 3.12, 3.13
Session authentication plugin
A session authentication PAS plugin is automatically installed in the Zope root user folder (acl_users) if needed as the root user folder does not provide any session-based authentication on default installations. The plugin is based on plone.session.
After installation of the session plugin the password of the user defined in ADMIN_AUTH_USERID is reset to a random value to disable password-based login.
Installation
Add wcs.adminauth to your package dependencies or install it with pip:
pip install wcs.adminauth
Usage
Open the @@adminauth view in your browser and you will get authenticated as the adminuser user.
You can specify a different userid by providing it as an url parameter: e.g. @@adminauth?userid=john.
CAS Server URL
The CAS Server URL options has to be provided via environment variables.
Example:
ADMIN_AUTH_CAS_SERVER_URL=https://cas.example.com/
Admin users id
You need to define what user the plugin should use as central admin user (default is admin).
Example:
ADMIN_AUTH_USERID=admin
Copyright
The package is based on ftw.zopemaster (GNU General Public License, version 2)
wcs.adminauth is licensed under GNU General Public License, version 2.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wcs_adminauth-2.0.0.tar.gz.
File metadata
- Download URL: wcs_adminauth-2.0.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80176201866c3ca845e9198f232d0717a1075254e3758e58b0fc3c3d1409d5e1
|
|
| MD5 |
ba24eb3b34bdc0b28d250be5dcb07632
|
|
| BLAKE2b-256 |
2face14d2dfc02a547a167e32d249edfca858bbd840052996307cc7e51c81009
|
File details
Details for the file wcs_adminauth-2.0.0-py3-none-any.whl.
File metadata
- Download URL: wcs_adminauth-2.0.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7da4af8f9b03ef5d9bb0e8b0f5fadf39ff0b1f35f08c92c388950d1e85575a2
|
|
| MD5 |
731b65edd9c3ec11febab56c572d04c9
|
|
| BLAKE2b-256 |
ac4dba88bf6d64dca27d52a790f593647fada121c5b8839fdf8d2a975bfe3fc9
|