PHP Classes

File: web/SSO/modules/aggregator/config-templates/module_aggregator.php

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/SSO/modules/aggregator/config-templates/module_aggregator.php   Download  
File: web/SSO/modules/aggregator/config-templates/module_aggregator.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 1,268 bytes
 

Contents

Class file image Download
<?php

/* Configuration for the aggregator module. */
$config = array(

   
/* List of aggregators. */
   
'aggregators' => array(
       
'example' => array(
           
'sources' => array(
                array(
'type' => 'flatfile'), /* Metadata from metadata-directory. */
               
array('type' => 'xml', 'url' => 'https://idp.example.org/Metadata'),
                array(
'type' => 'xml', 'file' => 'static-metadata.xml'),
            ),
        ),
       
'example2' => array(
           
'sources' => array(
                array(
'type' => 'xml', 'url' => 'https://idp.example.org/Metadata2'),
            ),
           
'set' => 'saml2',
           
'sign.privatekey' => 'server2.key',
           
'sign.certificate' => 'server2.crt',
        )
    ),

   
   
'maxDuration' => 60*60*24*5, // Maximum 5 days duration on ValidUntil.

    // If base64 encoded for entity is already cached in the entity, should we
    // reconstruct the XML or re-use.
   
'reconstruct' => FALSE,

   
/* Whether metadata should be signed. */
   
'sign.enable' => FALSE,

   
/* Private key which should be used when signing the metadata. */
   
'sign.privatekey' => 'server.key',

   
/* Password to decrypt private key, or NULL if the private key is unencrypted. */
   
'sign.privatekey_pass' => NULL,

   
/* Certificate which should be included in the signature. Should correspond to the private key. */
   
'sign.certificate' => 'server.crt',

);