Skip to main content

Introduction

This product provides a PAS plugin for authentication of users in Plone against a CAS (Central Autentication Server).

It currently supports CAS 2.0 and CAS 3.0 protocols.

Installation

Add ftw.casauth to the list of eggs in your buildout, run buildout and restart your instance.

In the ZMI navigate to your acl_users folder and add a CAS Authentication Plugin. You must provide the url of your CAS server, e.g. https://cas.server.net. Then activate the Challenge, Extraction and Authentication functionality.

Changelog

1.7.1 (2024-07-30)

  • Fix getting internal CAS server url if plugin was installed with version < 1.7.0. [buchi]

1.7.0 (2024-04-19)

  • Allow to configure the CAS server url with the environment variable FTW_CASAUTH_CAS_SERVER_URL. [buchi]

  • Add and use internal CAS server url for ticket validation. [buchi]

1.6.1 (2023-09-18)

  • Fix again login with invalid ticket using REST API, which could lead to authenticate the wrong user. Bug was reintroduced in 1.6.0. [buchi]

1.6.0 (2023-08-15)

  • Lookup users by username (login) instead of userid. [buchi]

1.5.0 (2023-01-23)

  • Add Support for Python 3 and Plone 5.2. [lgraf]

1.4.2 (2021-09-13)

  • Raise a 401 if the user to log in does not exist. [elioschmutz]

1.4.1 (2021-06-14)

  • Fix login with invalid ticket, which could lead to authenticate the wrong user. [buchi]

1.4.0 (2021-05-27)

  • Add support for cookie based authentication when using REST API. [buchi]

  • Drop support for Python < 2.7.9. [buchi]

  • Use Python’s built-in HTTPS handler which enables support for TLS 1.2 and uses CA certificates provided by the OS. [buchi]

1.3.1 (2021-02-05)

  • Preserve multi-valued QS params when stripping ticket from service URL. [lgraf]

1.3.0 (2020-06-02)

  • Handle login similar to PlonePAS (fire login events, expire clipboard, create member area and set login times) in @caslogin endpoint. [tinagerber]

1.2.0 (2018-07-17)

  • Add plone.restapi endpoint for login. [buchi]

  • Add Plone 5 compatibility. [phgross]

1.1.0 (2016-10-13)

  • Handle login similar to PlonePAS (fire login events, expire clipboard, create member area and set login times). [phgross]

  • Avoid having the ticket param end up in the browser address bar by stripping it from the service_url, and redirecting to the service_url after extracting credentials (i.e., a ticket) from the request. [lgraf]

1.0.0 (2015-11-25)

  • Initial release. [buchi]

Release files for ftw.casauth 1.7.1

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

Source distribution (sdist)

Source distribution for ftw.casauth 1.7.1
File Size Uploaded
ftw.casauth-1.7.1.tar.gz 21.4 kB Details

Release files / ftw.casauth-1.7.1.tar.gz

Download URL ftw.casauth-1.7.1.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
929bd93b9bcf0903bcb07c0bcdf4c58d3d5b10cf1d59ef3649685c0a12ecde5c
BLAKE2b-256 checksum
How to use checksums
78cfdbd5642e2556234571aa538d22c3646a79437c0049386cd8f13b920d9e5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

1.7.1 This release

1 release file

1.7.0

1 release file

1.6.1

1 release file

1.6.0

1 release file

1.5.0

1 release file

1.4.2

1 release file

1.4.1

1 release file

1.4.0

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

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