What are the fro attributes and what are the to attributes?
In basic.py you have:
MAP = {
"identifier": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"fro": {
'urn:mace:dir:attribute-def:aRecord': 'aRecord',
...
}
}
Is the left side a SAML attribute name and the right side a Python dict key? or they are both in the SAML realm?
I am setting up an IdP which needs to be compatible with assertions in the form:
<saml:Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic" Name="FirstName">
<saml:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">SAML</saml:AttributeValue>
</saml:Attribute>
I'm guessing my map would be:
MAP = {
"identifier": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"fro": {
'FirstName': 'FirstName',
...
}
}
Do I even need a map?
What are the
froattributes and what are thetoattributes?In
basic.pyyou have:Is the left side a SAML attribute name and the right side a Python dict key? or they are both in the SAML realm?
I am setting up an IdP which needs to be compatible with assertions in the form:
I'm guessing my map would be:
Do I even need a map?