Módosítások

Attribute Conversion for simpleSAMLphp

786 bájt hozzáadva, 2009. május 12., 16:19
Attribute Conversion library for simpleSAMLphp
The eduGAIN attribute converter and filter module defines its own XML schema for attribute conversion and attribute filtering purposes. See the [[Attribute_Conversion_for_eduGAIN]] page for configuration reference.
== SimpleSAMLphp Enabling the simpleSAMLphp module ==This module depends on the ''xsl'' php extensions (more specifically, the ''XSLTProcessor'' class), so make sure it is properly configured. The module can be enabled by creating an empty file named ''modules/edugain/default-enable''. == simpleSAMLphp module configuration ==
EduGAIN is available for simpleSAMLphp as an authentication processing filter: ''edugain:Attributes''. The Attributes processing filter takes the following configuration properties:
In eduGAIN terms, the ''idp'' mode is often referred as ''home bridging element'', and ''sp'' is referred as ''remote bridging element''.
 
== Configuration reading ==
The simpleSAMLphp eduGAIN module reads the eduGAIN XML configuration format and transforms it into php arrays using XSL transformation. The submodules (''edugain:SplitMerge'' and ''edugain:Filter') are configured automatically by the edugain:Attributes class.
 
The ''edugain:SplitMerge'' implements the ''BasicRule'', ''MergeRule'', and ''SplitRule'' rules, the ''edugain:Filter'' implements the ''FilterRule''.
 
PHP configuration interface for these filters are not public and may be subject of change, so please use the XML configuration.
== Configuration cache ==
The simpleSAMLphp eduGAIN module reads the eduGAIN format XML configuration. This XML reading is very time-consuming as every request triggers it. Because of that, the eduGAIN module can cache the XML configuration locally in a directory named ''cache''.
If cache is enabled, the parsed configuration is serialized into a file (named ''md5(full_configuration_file_path).cache.php''). If the XML file modification time is older than the cache file, then the cache is used.
Please note that enabling the cache is strongly recommended in production environment.
 
==
565
szerkesztés

Navigációs menü