Skip to content
Snippets Groups Projects
Commit 066cd3da authored by Tyler Antonio's avatar Tyler Antonio
Browse files

Updated metadata.sources comments to include information about the PDO metadata store

parent 1c5ca6c5
No related branches found
No related tags found
No related merge requests found
...@@ -571,6 +571,15 @@ $config = array( ...@@ -571,6 +571,15 @@ $config = array(
* - 'cachelength': Maximum time metadata cah be cached, in seconds. Default to 24 * - 'cachelength': Maximum time metadata cah be cached, in seconds. Default to 24
* hours (86400 seconds). Optional. * hours (86400 seconds). Optional.
* *
* PDO metadata handler:
* This metadata handler looks up for the metadata of an entity stored in a database.
* The PDO metadata handler defines the following options:
* - 'type': This is always 'pdo'.
* - 'dsn': The database connection string. Mandatory.
* - 'username': Database username
* - 'cachedir': Database password
* - 'usePersistentConnection': Enable/Disable persistent database connection. Default is false.
*
* *
* Examples: * Examples:
* *
...@@ -593,6 +602,11 @@ $config = array( ...@@ -593,6 +602,11 @@ $config = array(
* array('type' => 'mdx', server => 'http://mdx.server.com:8080', 'cachedir' => '/var/simplesamlphp/mdx-cache', 'cachelength' => 86400) * array('type' => 'mdx', server => 'http://mdx.server.com:8080', 'cachedir' => '/var/simplesamlphp/mdx-cache', 'cachelength' => 86400)
* ), * ),
* *
* This example defines an pdo source.
* 'metadata.sources' => array(
* array('type' => 'pdo', server => 'mysql:host=localhost;dbname=saml', 'username' => 'simplesamlphp', 'password' => 'SuperSecretPassword')
* ),
*
* Default: * Default:
* 'metadata.sources' => array( * 'metadata.sources' => array(
* array('type' => 'flatfile') * array('type' => 'flatfile')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment