Extension Cas


Extension Basics

Title
Cas
Name
ckanext-cas
Type
Public extension
Description
CAS (Central Authentication Service) client extension for CKAN
CKAN versions
Download-Url (zip)
Last commit
4 years ago (2021-04-05 14:43:13)
Url to repo
Category
Authentication & Security


Background Infos

Description (long)
Show details

.. You should enable this project on travis-ci.org and coveralls.io to make these badges work. The necessary Travis and Coverage config files have been generated for you.

.. image:: https://travis-ci.org/polarp/ckanext-cas.svg?branch=master :target: https://travis-ci.org/polarp/ckanext-cas

.. image:: https://coveralls.io/repos/polarp/ckanext-cas/badge.svg :target: https://coveralls.io/r/polarp/ckanext-cas

=============

ckanext-cas

.. Put a description of your extension here: What does it do? What features does it have? Consider including some screenshots or embedding a video!


Special Thanks

Special thanks to Neogeo Technologies <http://www.neogeo-online.net>_ for their contribution in making of this plugin.


Requirements

This extension works with CKAN version 2.6 and above.


Installation

.. Add any additional install steps to the list below. For example installing any non-Python dependencies or adding any required config settings.

To install ckanext-cas:

  1. Activate your CKAN virtual environment, for example::

    . /usr/lib/ckan/default/bin/activate

  2. Install the ckanext-cas Python package into your virtual environment::

    pip install ckanext-cas pip install -r ckanext-cas/requirements.txt

  3. Add cas to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

  4. Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu::

    sudo service apache2 reload


Config Settings

In order to configure CKAN to use CAS you must setup the following configuration options::

# User attributes mapping (required)
# ``email`` and ``user`` mappings are required
ckanext.cas.user_mapping = email~email user~username fullname~full_name sysadmin~is_superuser

# If you need to combine attributes (
Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
cas
CKAN Settings (ckan.ini)
# ckanext.cas.user_mapping = email~email user~username fullname~full_name sysadmin~is_superuser
# ckanext.cas.user_mapping = email~email user~username fullname~first_name+last_name sysadmin~is_superuser
# ckanext.cas.login_url = http://mamacas.django.com/login
# ckanext.cas.logout_url = http://mamacas.django.com/logout
# ckanext.cas.application_url = https://ckan-demo.com
# ckanext.cas.single_sign_out = true
# ckanext.cas.service_validation_url = http://mamacas.django.com/serviceValidate
# ckanext.cas.saml_validation_url = http://mamacas.django.com/samlValidate
# ckanext.cas.register_url = http://register.django.com
# ckanext.cas.login_checkup_time = 600
DB migration to be executed
(not set)
<< back to Extensions