MongoDB is an open source, high-performance, schema-free, document-oriented database written in the C++ programming language.
Installation and configuration
Build from source
Configure mongodb data connector
$IDP_CONFIG_DIR/attribute-resolver.xml, add namespace and xsd schema to the root element:
$IDP_CONFIG_DIR/attribute-resolver.xml, add the mongodb connector
Next configure the
<resolver:AttributeDefinition...> to depend on the new connector by
adding <resolver:Dependency ref="myMongo" />
(Optional) Configure mongodb persistent ID connector mode
To use mongodb connector for both attribute release and computing persistent ID's two <resolver:DataConnector/>'s are required, one for each mode.
The mongodb persistent ID connector is compatible with computedID and storedID computed ID's.
$IDP_CONFIG_DIR/attribute-resolver.xml, add the mongodb persistent ID connector
$IDP_CONFIG_DIR/attribute-resolver.xml, add an attribute definition for persistentID
Optional settings for the mongodb connector
cacheResults - Whether to use attribute cache. Accepted values are true or false. Defaults to false.
mongoUser - Username used to authenticate against a specific database.
mongoPassword - Password used to authenticate against a specific database.
$IDP_CONFIG_DIR/logging.xml, add logging configuration for the mongodb connector :
Backup your IdP configuration before re-deploying the IdP web app
Currently only support one level deep embedded documents.
Bugs and comments
Send bugs and comments to email@example.com.