Giter Site home page Giter Site logo

eca-auth-data's Introduction

Educloud Alliance Auth Data service

The Auth Data service is an abstraction of actual data store, or multiple datastores, which contain user identity and role information.

Part of Educloud Alliance reference implementation.

Contribution

See http://docs.educloudalliance.org for more information.

Documentation

Documentation can be rendered to HTML with Sphinx:

pip install -r sphinx.txt
sphinx-build -b html doc _html

eca-auth-data's People

Contributors

derega avatar tkharju avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

haltu

eca-auth-data's Issues

LDAP support

Auth Data can use LDAP as external data source.

Better organisation of certificate files

Currently LDAP certificate files are expected to be found from the project root: https://github.com/haltu/eca-auth-data/blob/db14f4b2acbe09068c5262311e35cd99dddf487c/authdata/external_sources.py#L254

These files are set in place with salt and never committed to this repository. It would be better to save these files outside the project directory. This will require changes to this repository and to the salt configuration.

DoD: Organize certificate files better. They should be outside of project root.

Change module name to "authdata"

Proviously this service was named "roledb". The role of the service was changed and now it contains more than just role information. Also the new naming is in line with the documentation.

Attributes are not automatically created

When a user adds an authentication method an Attribute with the given name ('google', 'dreamschool', etc) must already exist in Auth Data db. This could also be solved in Auth Connector by calling the Attribute REST endpoint and creating the Attribute if it does not exist.

Dream Platform support

Dreamschool is based on Dream Platform. Dream UserDB should be added as external data source.

Services can store attributes in the database

Wehn Service queries the database it should get only attributes it should know about. As comprehensive permission handling is huge task this can be implemented by allowing only attributes written by the Service to be queried by the Service.

Auth Proxy service is only exception. It can always receive all attributes.

External Data concept

The concept of Auth Data service should be changed slightly.

Before it behaved like a cache for data. The cache could be updated with an API and changes were always made from outside. This is still the case but now Auth Data can also act as a proxy for external data sources. In this case Auth Data can redirect API query to external service if the query is made with parameters which are attached to external sources. This attachment is known as External Data Mapping. There is runtime config which defines the mapping between municipalities and external data sources.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.