-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for logging out of the local CAS session #5
Conversation
… similar systems. These files are derived from the mod_auth_cas package for EPEL 6
- Added docker container for easy development. - Rewrite documentation with Markdown. - Add some more build files to .gitignore
Previously, there was no way to force the local session to terminate except for the timeout expiring on it's own. This allows the specification of an endpoint that will terminate the user's session, and, optionally, log them out of the CAS service itself. - Updated `getCASService` to require specifying the service URL as either a relative or absolute URL. For the latter, we ensure that it's a URL on the current host/port. - Add `CASLogoutUseReferer` to allow the logout redirect to be pulled from the referer header, off by default. - Moved to using `SetHandler` rather than `CASLogoutHandlerURL`. - Implement a logout handler that trashes the cache file of the user's cookie and redirects them to SSO logout if specified, including a custom redirect URI if specified, or just to a custom redirect URI. - Add `etc` to .gitignore to support the Docker container. - Moved to using `SetHandler` rather than `CASLogoutHandlerURL`. - Removed and ignored autoconf generated files that cause breakages building on some systems. Instead, have users run the more involved incantation. - Added support for Travis autobuilding and deployments to Bintray and Github releases. - Created Dockerfiles for development and RPM building. - Merged in klausdieterkrannich#1, adding a Red Hat spec file to easily build RPMs. Note that the included patch was removed as it doesn't seem to be relevant anymore. - Bumped version to 1.1.1.
If the non-functional changes are a bit much, I can likely rip out just the code changes create a PR for those. |
We are very close to merging dhawes:v1.1 with jasig:master and probably won't have time to accept this pull request before then. That said, I look forward to reviewing your changes and appreciate the work. When we do merge to jasig:master, it will probably make more sense to make this merge request there so we can continue evaluation and discussion on the official repository. |
I noticed that today, I'll close this for now and try making it against mainline once this one is accepted. |
Previously, there was no way to force the local session to terminate except for the timeout expiring on it's own. This allows the specification of an endpoint that will terminate the user's session, and, optionally, log them out of the CAS service itself.
In addition, to make development and deployment a bit easier, this cleans up some build artifacts, adds a Dockerfile to generate a development container, and includes Travis building and Bintray & Github deployment support.