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
Open
CASAuthentication - Added support for database storage of proxy-granting-tickets.#64adamfranco wants to merge 4 commits intomodolabs:masterfrom
adamfranco wants to merge 4 commits intomodolabs:masterfrom
Conversation
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.
Contributor
|
This will be implemented as part of our next release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.