Hi,
I'm trying to configure ISAM as SP in a SAML federation. My problem is getting attributes from assertion to find the user in the registry.
I'm trying to create a mapping rule to read the content and find the user in LDAP. I'm using this command:
may var = stsuu.getAttributeContainer().getAttributeValueByName("urn:oid:2.16.840.1.113730.3.1.241");
but always returns null.
If anyone can help me, I'd appreciate that.
This is part of stsuu trace:
?xml version="1.0" encoding="UTF-8"?>
<stsuuser:STSUniversalUser xmlns:stsuuser="urn:ibm:names:ITFIM:1.0:stsuuser">
<stsuuser:Principal>
<stsuuser:Attribute name="name" type="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">
<stsuuser:Value>anonymous</stsuuser:Value>
</stsuuser:Attribute>
</stsuuser:Principal>
<stsuuser:AttributeList>
<stsuuser:Attribute name="https://samltest.id/attributes/role" type="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<stsuuser:Value>
manager@samltest.id</stsuuser:Value>
</stsuuser:Attribute>
<stsuuser:Attribute name="urn:oid:2.16.840.1.113730.3.1.241" type="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<stsuuser:Value>Rick Sanchez</stsuuser:Value>
</stsuuser:Attribute>
<stsuuser:Attribute name="urn:oid:0.9.2342.19200300.100.1.1" type="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<stsuuser:Value>rick</stsuuser:Value>
</stsuuser:Attribute>
<stsuuser:Attribute name="urn:oid:2.5.4.20" type="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<stsuuser:Value>+1-555-555-5515</stsuuser:Value>
</stsuuser:Attribute>
<stsuuser:Attribute name="urn:oid:2.5.4.42" type="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<stsuuser:Value>Rick</stsuuser:Value>
</stsuuser:Attribute>
<stsuuser:Attribute name="urn:oid:0.9.2342.19200300.100.1.3" type="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<stsuuser:Value>
rsanchez@samltest.id</stsuuser:Value>
</stsuuser:Attribute>
<stsuuser:Attribute name="urn:oid:2.5.4.4" type="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<stsuuser:Value>Sanchez</stsuuser:Value>
</stsuuser:Attribute>
<stsuuser:Attribute name="AuthenticationInstant" type="urn:oasis:names:tc:SAML:2.0:assertion">
<stsuuser:Value>2020-01-14T19:23:00Z</stsuuser:Value>
</stsuuser:Attribute>
<stsuuser:Attribute name="urn:oasis:names:tc:SAML:attribute:subject-id" type="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<stsuuser:Value>
rsanchez@samltest.id</stsuuser:Value>
</stsuuser:Attribute>