{ "info": { "author": "Chau Nguyen", "author_email": "chau@etri.re.kr", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Python :: 2.7" ], "description": ".. You should enable this project on travis-ci.org and coveralls.io to make\n these badges work. The necessary Travis and Coverage config files have been\n generated for you.\n\n.. .. image:: https://travis-ci.org/etri-sodas/ckanext-keycloak.svg?branch=master\n :target: https://travis-ci.org/etri-sodas/ckanext-keycloak\n\n.. .. image:: https://coveralls.io/repos/etri-sodas/ckanext-keycloak/badge.svg\n :target: https://coveralls.io/r/etri-sodas/ckanext-keycloak\n\n.. .. image:: https://pypip.in/download/ckanext-keycloak/badge.svg\n :target: https://pypi.python.org/pypi/etri-sodas/ckanext-keycloak/\n :alt: Downloads\n\n.. .. image:: https://pypip.in/version/ckanext-keycloak/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-keycloak/\n :alt: Latest Version\n\n.. .. image:: https://pypip.in/py_versions/ckanext-keycloak/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-keycloak/\n :alt: Supported Python versions\n\n.. .. image:: https://pypip.in/status/ckanext-keycloak/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-keycloak/\n :alt: Development Status\n\n.. .. image:: https://pypip.in/license/ckanext-keycloak/badge.svg\n :target: https://pypi.python.org/pypi/ckanext-keycloak/\n :alt: License\n\n===========================================================\nckanext-keycloak - Keycloak authentication extension\n===========================================================\n\n.. Put a description of your extension here:\n What does it do? What features does it have?\n Consider including some screenshots or embedding a video!\n\nCkanext-keycloak is a extension for enalbing the user authentication with Keycloak, an open source software product to allow single sign-on with Identity Management and Access Management aimed at modern applications and services.\n\nThis extension provides an ability to let users use access-token from Keycloak server to access CKAN functions via CKAN REST Api.\n\nNotes:\n\n* A new user will be created automatically in ckan database for the corresponding keycloak user if it does not exist.\n* Original ckan authentication still works normally with this extension.\n\n------------\nRequirements\n------------\n\nThis extension was developed and tested under CKAN-2.7.3 and Keycloak-2.5.5\n\n------------\nInstallation\n------------\n\n.. Add any additional install steps to the list below.\n For example installing any non-Python dependencies or adding any required\n config settings.\n\nTo install ckanext-keycloak:\n\n1. Activate your CKAN virtual environment, for example::\n\n . /usr/lib/ckan/default/bin/activate\n\n2. Install the ckanext-keycloak Python package into your virtual environment::\n\n pip install ckanext-keycloak\n\n3. Add ``keycloak`` setting in your CKAN config file (by default the config file is located at ``/etc/ckan/default/production.ini``) as follows::\n\n ckan.plugins = keycloak \n ckan.keycloak.authorization_endpoint = http://localhost/auth\n ckan.keycloak.realm = master\n ckan.keycloak.client_id = client_id\n ckan.keycloak.client_secret = client_secret\n ckan.keycloak.sysadmin_group_name = admin\n ckan.keycloak.profile_group_field = group\n ckan.keycloak.profile_username_field = preferred_username\n ckan.keycloak.profile_email_field = email\n ckan.keycloak.profile_fullname_field = name\n\n4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::\n\n sudo service apache2 reload\n\n\n------------------------\nDevelopment Installation\n------------------------\n\nTo install ckanext-keycloak for development, activate your CKAN virtualenv and\ndo::\n\n git clone https://github.com/etri-odp/ckanext-keycloak.git\n cd ckanext-keycloak\n python setup.py develop\n pip install -r dev-requirements.txt\n\n\n-----------------\nRunning the Tests\n-----------------\n\nTo run the tests, do::\n\n nosetests --nologcapture --with-pylons=test.ini\n\nTo run the tests and produce a coverage report, first make sure you have\ncoverage installed in your virtualenv (``pip install coverage``) then run::\n\n nosetests --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.keycloak --cover-inclusive --cover-erase --cover-tests\n\n\n----------------------------------------------\nRegistering ckanext-keycloak on PyPI\n----------------------------------------------\n\nckanext-keycloak should be availabe on PyPI as\nhttps://pypi.python.org/pypi/ckanext-keycloak. If that link doesn't work, then\nyou can register the project on PyPI for the first time by following these\nsteps:\n\n1. Create a source distribution of the project::\n\n python setup.py sdist\n\n2. Register the project::\n\n python setup.py register\n\n3. Upload the source distribution to PyPI::\n\n python setup.py sdist upload\n\n4. Tag the first release of the project on GitHub with the version number from\n the ``setup.py`` file. For example if the version number in ``setup.py`` is\n 0.0.1 then do::\n\n git tag 0.0.1\n git push --tags\n\n================\nAcknowledgements\n================\n\nThis work was supported by Institute for Information & communications Technology Promotion (IITP) grant funded by the Korea government (MSIT) (No.2017-00253, Development of an Advanced Open Data Distribution Platform based on International Standards) \n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/etri-sodas/ckanext-keycloak", "keywords": "CKAN", "license": "AGPL", "maintainer": "", "maintainer_email": "", "name": "ckanext-keycloak", "package_url": "https://pypi.org/project/ckanext-keycloak/", "platform": "", "project_url": "https://pypi.org/project/ckanext-keycloak/", "project_urls": { "Homepage": "https://github.com/etri-sodas/ckanext-keycloak" }, "release_url": "https://pypi.org/project/ckanext-keycloak/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "An extension for authentication with Keycloak", "version": "0.0.1" }, "last_serial": 4564359, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b5ef80224496564429de94b156fedce3", "sha256": "acbe0a9d046d0d8e39712f7d969d4f7f4d920a5983840d73a29abde21efafd5d" }, "downloads": -1, "filename": "ckanext_keycloak-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "b5ef80224496564429de94b156fedce3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 18316, "upload_time": "2018-12-05T15:49:31", "url": "https://files.pythonhosted.org/packages/1a/bd/05f70a19c027fe203a3bdb0619daae67a34d88609bd5408035fc594957fe/ckanext_keycloak-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1e2b8a0810ea84e98c51fe7442b9c2c9", "sha256": "5fea92fb7284202721fd7f39531ecf82fc390b5f2dacb192d3cd3aa4dd7d164b" }, "downloads": -1, "filename": "ckanext-keycloak-0.0.1.tar.gz", "has_sig": false, "md5_digest": "1e2b8a0810ea84e98c51fe7442b9c2c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20067, "upload_time": "2018-12-05T15:49:33", "url": "https://files.pythonhosted.org/packages/ce/44/9190eece43312111680cd189ea296eb96d23d26a7361dc3d7c88943056f3/ckanext-keycloak-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b5ef80224496564429de94b156fedce3", "sha256": "acbe0a9d046d0d8e39712f7d969d4f7f4d920a5983840d73a29abde21efafd5d" }, "downloads": -1, "filename": "ckanext_keycloak-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "b5ef80224496564429de94b156fedce3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 18316, "upload_time": "2018-12-05T15:49:31", "url": "https://files.pythonhosted.org/packages/1a/bd/05f70a19c027fe203a3bdb0619daae67a34d88609bd5408035fc594957fe/ckanext_keycloak-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1e2b8a0810ea84e98c51fe7442b9c2c9", "sha256": "5fea92fb7284202721fd7f39531ecf82fc390b5f2dacb192d3cd3aa4dd7d164b" }, "downloads": -1, "filename": "ckanext-keycloak-0.0.1.tar.gz", "has_sig": false, "md5_digest": "1e2b8a0810ea84e98c51fe7442b9c2c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20067, "upload_time": "2018-12-05T15:49:33", "url": "https://files.pythonhosted.org/packages/ce/44/9190eece43312111680cd189ea296eb96d23d26a7361dc3d7c88943056f3/ckanext-keycloak-0.0.1.tar.gz" } ] }