`core:AttributeMap`
===================

Filter to change attribute names.

This filter can either contain the name of a map file or a set of name => value pairs describing the transformation.
If configuration references a map file, the file must be located in the `attributemap/`-directory.

Examples
--------

Attribute maps embedded as parameters:

    'authproc' => array(
        50 => array(
            'class' => 'core:AttributeMap',
            'mail' => 'email',
            'uid' => 'user'
        ),
    ),

Attribute map in separate file:

    'authproc' => array(
        50 => array(
            'class' => 'core:AttributeMap',
            'name2oid',
        ),
    ),

This filter will use the map file from `simpesamlphp/attributemap/name2oid.php`.

`core:AttributeMap`
===================

Filter to change attribute names.

This filter can either contain the name of a map file or a set of name => value pairs describing the transformation.
If configuration references a map file, the file must be located in the `attributemap/`-directory.

It can also create multiple attributes from a single attribute by specifying multiple target attributes as an array.

Examples
--------

Attribute maps embedded as parameters:

    'authproc' => array(
        50 => array(
            'class' => 'core:AttributeMap',
            'mail' => 'email',
            'uid' => 'user'
            'cn' => array('name', 'displayName'),
        ),
    ),

Attribute map in separate file:

    'authproc' => array(
        50 => array(
            'class' => 'core:AttributeMap',
            'name2oid',
        ),
    ),

This filter will use the map file from `simpesamlphp/attributemap/name2oid.php`.

Document support for multiple target attributes.
core:AttributeMap: Document support for multiple target attributes.

git-svn-id: a243b28a2a52d65555a829a95c8c333076d39ae1@2289 44740490-163a-0410-bde0-09ae8108e29a
