[Satosa-dev] Best strategy for adding a new attribute schemain Satosa?

Ivan Kanakarakis ivan.kanak at gmail.com
Thu May 3 12:38:15 UTC 2018


On 3 May 2018 at 12:28, Niels van Dijk <niels.vandijk at surfnet.nl> wrote:
> Hi all,
> I would like to mint a new attribute scheme called voPerson
> (https://voperson.org/) for use in a SaToSa? What would be the best
> approach?

Please read this email/thread:

SATOSA is not concerned with the attributes themselves. It is pysaml2
that handles them. SATOSA is only concerned with how attributes are
translated/mapped from one protocol to (an internal name, to) another
(and sometimes the same) protocol.

Attributes should be defined in a "MAP-structure" as seen under the
src/saml2/attributemaps directory:

Once you have such a structure, you can point to a folder holding it
with the attribute_map_dir configuration option:
Note! that the default attribute maps will not be used if you define
the attribute_map_dir option - ie under the path that you will define,
you have to place all other attribute files that you will use (ie copy
over the saml_uri.py to be able to use saml attributes, etc)

Ofcourse, you can make a PR to include the voperson attributes in the
default attributemaps ;)


Ivan c00kiemon5ter Kanakarakis  >:3

More information about the Satosa-dev mailing list