attributeID with upper/lowercase value is not transmitted to SP
sshabbir
sshabbir at bmj.com
Tue Jul 17 13:51:28 EDT 2018
Hello,
With the following config setup, an attribute id such as "userName" is not
transmitted. However, amending to "username" works fine. The same applies to
custom values such as "orgId". Not sure how to override this. File entries
are
<bean id="icsmappings"
class="net.shibboleth.idp.attribute.resolver.dc.rdbms.impl.StringResultMappingStrategy"
p:noResultAnError="true" p:multipleResultsAnError="true">
<property name="resultRenamingMap">
<map>
.....
<entry key="userName" value="userName" />
</map>
</property>
</bean>
<AttributeRule attributeID="userName">
<PermitValueRule xsi:type="ANY" />
</AttributeRule>
<AttributeDefinition xsi:type="Simple" id="userName"
sourceAttributeID="userName">
<Dependency ref="icsDatabase" />
<AttributeEncoder xsi:type="SAML1ScopedString"
name="urn:mace:dir:attribute-def:userName" encodeType="false" />
<AttributeEncoder xsi:type="SAML2ScopedString"
name="urn:oid:2.5.4.44" friendlyName="userName" encodeType="false" />
</AttributeDefinition>
...
(select identityid from acs_login login where
username='$resolutionContext.principal') as userName,
...
attribute consent page displays
*
Information to be Provided to Service
first სახელი
last ვეფხისტყაოსანი
mail sshabbir at bmjgroup.com
orgid rtop
role Student
*
Is there anyway to override/use ignore-case.
Thanks in advance.
-----
Syed
--
Sent from: http://shibboleth.1660669.n2.nabble.com/Shibboleth-Users-f1660767.html
More information about the users
mailing list