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.
Metadata
Release files for wcs.adminauth 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wcs_adminauth-2.0.0.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wcs_adminauth-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.0 kB
Release files / wcs_adminauth-2.0.0.tar.gz
| Download URL | wcs_adminauth-2.0.0.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80176201866c3ca845e9198f232d0717a1075254e3758e58b0fc3c3d1409d5e1
|
|
BLAKE2b-256 checksum How to use checksums |
2face14d2dfc02a547a167e32d249edfca858bbd840052996307cc7e51c81009
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Release files / wcs_adminauth-2.0.0-py3-none-any.whl
| Download URL | wcs_adminauth-2.0.0-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7da4af8f9b03ef5d9bb0e8b0f5fadf39ff0b1f35f08c92c388950d1e85575a2
|
|
BLAKE2b-256 checksum How to use checksums |
ac4dba88bf6d64dca27d52a790f593647fada121c5b8839fdf8d2a975bfe3fc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|