[mitreid-connect] ldap-openid-connect-server - Empty preferredUsername

Justin Richer jricher at mit.edu
Wed Aug 2 13:57:35 EDT 2017


The UserInfo isn't being loaded from the repository, which in your case 
is LDAP. You should look at the LDAP adapter code to make sure it's 
mapping things appropriately for your server. Also you'll want to look 
at the configuration in user-context.xml to make sure it's pointing to 
the right server with the right searches.

Please note: The LDAP server project isn't really supported out of the 
box but is more of an example extension project. Best of luck,

-- Justin

On 7/27/2017 8:23 AM, IVAN MAURICIO MONTILLA FIGUEROA wrote:
>
> Hello,
>
> I cloned the master branch of 
> https://github.com/mitreid-connect/ldap-openid-connect-server
>
> I just changed <security:ldap-server url="${ldap.server}" /> to 
> <security:ldap-server url="${ldap.server}" 
> manager-password="${ldap.server.user}" 
> manager-dn="${ldap.server.password}" />
>
> The authentication process is working fine  but the preferredUsername 
> is empty - ui.setPreferredUsername(attr.get("uid").get().toString());
>
> User profile is not showing anything 
> /ldap-openid-connect-server/manage/user/profile
>
> Any advice? Am I missing something?
>
> Regards,
>
> Mauricio
>
>
> ------------------------------------------------------------------------
>
> Este mensaje y sus adjuntos se dirigen exclusivamente a su 
> destinatario, puede contener información privilegiada o confidencial y 
> es para uso exclusivo de la persona o entidad de destino. Si no es 
> usted. el destinatario indicado, queda notificado de que la lectura, 
> utilización, divulgación y/o copia sin autorización puede estar 
> prohibida en virtud de la legislación vigente. Si ha recibido este 
> mensaje por error, le rogamos que nos lo comunique inmediatamente por 
> esta misma vía y proceda a su destrucción.
>
> The information contained in this transmission is privileged and 
> confidential information intended only for the use of the individual 
> or entity named above. If the reader of this message is not the 
> intended recipient, you are hereby notified that any dissemination, 
> distribution or copying of this communication is strictly prohibited. 
> If you have received this transmission in error, do not read it. 
> Please immediately reply to the sender that you have received this 
> communication in error and then delete it.
>
> Esta mensagem e seus anexos se dirigem exclusivamente ao seu 
> destinatário, pode conter informação privilegiada ou confidencial e é 
> para uso exclusivo da pessoa ou entidade de destino. Se não é vossa 
> senhoria o destinatário indicado, fica notificado de que a leitura, 
> utilização, divulgação e/ou cópia sem autorização pode estar proibida 
> em virtude da legislação vigente. Se recebeu esta mensagem por erro, 
> rogamos-lhe que nos o comunique imediatamente por esta mesma via e 
> proceda a sua destruição
>
>
> _______________________________________________
> mitreid-connect mailing list
> mitreid-connect at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mitreid-connect

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20170802/32b80dd3/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3980 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20170802/32b80dd3/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 28339 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20170802/32b80dd3/attachment-0003.png


More information about the mitreid-connect mailing list