convert uid to lowercase

Daniel Fisher dfisher at vt.edu
Mon Oct 5 15:23:09 EDT 2015


On Mon, Oct 5, 2015 at 11:29 AM, Vignesh, Vanna G. <vignesh at musc.edu> wrote:

> In our Ldap, some of the UIDs are lowercase and some are mixed case. Is
> there  a way to convert all the UIDs to lowercase on the IDP side before it
> is passed to SPs?
>

If you're using v3 and springResources[1] for your configuration, you can
do this for the LDAP data connector:

<bean class="org.ldaptive.SearchExecutor"
p:baseDn="%{idp.attribute.resolver.LDAP.baseDN}">
    <property name="searchEntryHandlers">
        <bean class="org.ldaptive.handler.CaseChangeEntryHandler"
p:attributeValueCaseChange="LOWER" />
    </property>
</bean>

[1] https://wiki.shibboleth.net/confluence/display/IDP30/LDAPConnector

--Daniel Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20151005/be56b060/attachment.html>


More information about the users mailing list