Coder Social home page Coder Social logo

gru-plugin-identitystore's Introduction

Plugin Identity Store

Introduction

This plugin stores identities. An identity is composed of attributes. Each attribute can be read, written or certified by the application calling the service.

REST API

The plugin provides a REST API to manage identities. Several versions of the API can be called:

  • Version 1 : the URL to use is /identity/rest/identitystore/v1/identity . This version uses the objects of the packages fr.paris.lutece.plugins.identitystore.v1.* of the library-identitystore .
  • Version 2 : the URL to use is /identity/rest/identitystore/v2/identity . This version uses the objects of the packages fr.paris.lutece.plugins.identitystore.v2.* of the library-identitystore .

The API can be called without version in the URL : /identity/rest/identitystore/identity . The used version is then the one configured with the key identitystore.version of the configuration file identitystore.properties . Warning: As the different versions of the API do not use the same objects, be sure the correct version is set in configuration.

Encryption of identities

The plugin can use identities with encrypted ids. This mechanism permits to have a specific id for each service provider. Thus, the id is not shared.

To use encryption, the site has to contain a class implementing the interface fr.paris.lutece.plugins.identitystore.service.encryption.IIdentityEncryptionService from the library gru-library-identitystore . For example, add the plugin gru-plugin-grukeydiversification in the pom.xml of the site. The encryption is then enabled.

Configuration

The bean names identitystore.identityInfoExternalProvider must be defined using Spring configuration. The bean must implement the Java interface fr.paris.lutece.plugins.identitystore.service.external.IIdentityInfoExternalProvider . It is used to create an identity from an external source when a connection id is provided in the web method create .

Usage

The plugins exposes web methods to manage identities. Check /jsp/site/Portal.jsp?page=swaggerui page for more details about these methods.

Deletion of the identity

The deletion of an identity from the web service does not really delete it but flags it as 'deleted'. The attributes are deleted. Updating or retrieving an identity flagged 'deleted ' from the web service generates an exception.

Deleting an identity from the GUI completely deletes the identity from the BDD.

Maven documentation and reports

generated by xdoc2md - do not edit directly.

gru-plugin-identitystore's People

Contributors

alexandreclose avatar atos-nty avatar cmoire avatar fcoue avatar fgandemer avatar francoisericmerlin avatar gregorylt avatar jonenst avatar lobtx avatar pierrelevy avatar pplouy avatar ryahiaoui avatar seboo avatar thomasdumont avatar traine avatar

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.