Skip to end of metadata
Go to start of metadata

According to the OrientDB's website:

OrientDB is a new Open Source NoSQL DBMS born with the best features of all the others. It's written in Java and it's amazing fast: can store up to 150,000 records per second on common hardware. Even if it's Document based database the relationships are managed as in Graph Databases with direct connections among records. You can travere entire or part of trees and graphs of records in few milliseconds. Supports schema-less, schema-full and schema-mixed modes. Has a strong security profiling system based on user and roles and support the SQL between the query languages. Thank to the SQL layer it's straightforward to use it for people skilled in Relational world.

Download

The Gitorious repository is hosted here. You can clone it with

Installation

  1. Compile the source with:
  2. Extract all the jars archived in the lib folder of the newly created target/orientdb-connector-<version>-bin.zip into the Shibboleth IdP source lib directory.
  3. Re-install the IdP using the install script to build and deploy a new idp.war

Configuration

Enable the connector in $IDP_CONFIG_DIR/attribute-resolver.xml by doing the following:

  1. Add those namespace and xsd schema to the root element:
    to make it look something like:
  2. Configure the connector. Its attributes are:
    orientDbHost: The host where the OrientDB is running
    orientDbPort: The port on the host where the OrientDB is running
    orientDbName: The database containing the users' table
    username: The username to use to connect to the database
    password: The password to use to connect to the database
    The connector also has a mandadory QueryTemplate element to specify how to query the database to retrieve attributes and optional AttributeMap elements.
    Here are some example configurations:
    Example 1 (without attribute mapping)
    Example 2 (with attribute mapping)
  3. Configure all the <resolver:AttributeDefinition ...> elements to make them use the OrientDB connector by making sure their <resolver:Dependency ...> element point to the correct connector. For instance:

Logging

To enable logging, add the following in $IDP_CONFIG_DIR/logging.xml

Bugs, questions and feedback

Contact jonathan.tellier@gmail.com

  • No labels