Módosítások

Attribute Conversion for simpleSAMLphp

939 bájt hozzáadva, 2009. május 12., 16:29
Attribute Conversion library for simpleSAMLphp
Please note that enabling the cache is strongly recommended in production environment.
==Differences between the Java and the PHP implementations ==* ''LocalProvider'' matching is unsupported in simpleSAMLphp. Unfortunately when simpleSAMLphp is in bridging mode (using the SP module to protect and IdP), the IdP processing filters do not see the peer entity of the SP module. However, you can archieve the correct behavior by putting one ''edugain:Attributes'' processing filter in the SP configuration and use ''RemoteProvider'' matches to filter and convert attributes there.* Regular expressions are somewhat different in PHP. The eduGAIN module uses perl-compatible regular expressions (see [http://hu.php.net/manual/en/function.preg-match.php preg_match documentation] for details). Plus, the reading of the configuration involves ''eval'', and thus it swallows the escaping characters. So if one wants to escape something in their regular expressions, double-escaping is needed (eg. 'foo\\.bar' instead of 'foo\.bar').
565
szerkesztés

Navigációs menü