Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

CASAuthentication - Added support for database storage of proxy-granting-tickets.#64

Open
adamfranco wants to merge 4 commits intomodolabs:masterfrom
adamfranco:CASAuth_DB_PGT_storage
Open

CASAuthentication - Added support for database storage of proxy-granting-tickets.#64
adamfranco wants to merge 4 commits intomodolabs:masterfrom
adamfranco:CASAuth_DB_PGT_storage

Conversation

@adamfranco
Copy link
Copy Markdown
Contributor

Storing proxy-granting-tickets (PGTs) in a shared database facilitates serving Kurogo from a cluster of web-hosts. Since the end-user and the CAS server may each make requests to different hosts in the cluster, the PGTs provided by the CAS server must be placed in a shared location available to all other hosts.

This facility is provided by the underlying phpCAS library. This patch simply allows its configuration via the Kurogo ini files.

Also included in this pull request is the ability to configure phpCAS to write its debug log.

This addition allows optional troubleshooting of issues by looking at
phpCAS's detailed debug log.
…ing-tickets.

Storing proxy-granting-tickets (PGTs) in a shared database facilitates serving Kurogo
from a cluster of web-hosts. Since the end-user and the CAS server may each make
requests to different hosts in the cluster the PGTs provided by the CAS server
must be placed in a shared location available to all other hosts.

This facility is provided by the underlying phpCAS library. This patch simply
allows its configuration via the Kurogo ini files.
…PGTStorageFile()

phpCAS 1.3+ no longer takes a 'format' argument for phpCAS::setPGTStorageFile().
This change allows proxy-ticket storage to work with all versions of phpCAS.
Conflicts:
	lib/Authentication/CASAuthentication.php

I'm including merging in this fix to the CASAuth_DB_PGT_storage feature branch
since it is a relatively minor fix and automatic merging with this feature
won't work due to the proximity of the changes.
@akinspe
Copy link
Copy Markdown
Contributor

akinspe commented Mar 25, 2013

This will be implemented as part of our next release

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants