Módosítások

Attribute Conversion for simpleSAMLphp

146 bájt törölve, 2009. május 18., 13:11
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 an IdP), the IdP processing filters do not see the peer entity of the SP module. However, you can achieve the correct behavior by putting one ''edugain:Attributes'' processing filter in the SP configuration and use '''RemoteProvider''' matches to filter and convert attributes there.
* You don't need to use a separate attribute name mapper, because simpleSAMLphp contains built-in '''name2oid''','''oid2name''', '''name2urn''' and '''urn2name''' methods, which provide the same functionality.
* 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 == Change Log ==* '''Revision 28, the reading of the configuration involves 18th May 2009''': changed configuration eval'', and thus it swallows the escaping characters. So if one wants to escape something in their regular expressionscode, so double-escaping is no longer needed (eg. * ''foo\\.bar' instead of Revision 27, 14th May 2009''foo\.bar').{{TODO_EN|Double escaping sucks: first public release. We are looking for solutions to circumvent this limitation}}
565
szerkesztés

Navigációs menü