It's all about the answers!

Ask a question

How to use ibm BluePage Photos for RTC users


Wang Jian Qiu (2622) | asked Dec 15 '08, 2:20 a.m.
I have configed Jazz Server to use LDAP authentication:

User Property Names Mapping : userId=preferredIdentity,name=cn,emailAddress=mail

My question is how to config Jazz Server using Bluepages photo

2 answers



permanent link
Matt Lavin (2.7k2) | answered Dec 15 '08, 8:48 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
It is not currently possible to import the LDAP photos into RTC
automatically. Enhancement 53877 is open to track the status of that
suggestion

-
Matt Lavin
Jazz Server Team


On Mon, 2008-12-15 at 07:27 +0000, wangjq wrote:
I have configed Jazz Server to use LDAP authentication:

User Property Names Mapping :
userId=preferredIdentity,name=cn,emailAddress=mail

My question is how to config Jazz Server using Bluepages photo

permanent link
SEC Servizi (94622547) | answered Sep 22 '11, 6:01 a.m.
It is not currently possible to import the LDAP photos into RTC
automatically.

Could I force the photo uploads with a POST action via cURL?
Well, I try this to upload photos and it works:
SET _photoFileLocation=./sample.jpg

curl -k -L -b cookies.txt -F "photoFileLocation=@%_photoFileLocation%" -# http://localhost:9080/jazz/service/com.ibm.team.repository.service.internal.IMemberPhotoService

But when I try to save this edit action (with JSON):
curl -k -L -b cookies.txt -H "Content-Type: text/json" -d photoLocation=%_photoLocation% -d photoSize=%_photoSize% -d photoContentType=%_photoContentType% -d photoChecksum=%_photoChecksum% -# http://%_host_with_port%/jazz/service/com.ibm.team.repository.service.internal.IAdminRestService/contributor

I got response:
HTTP/1.1 400 Bad Request


The request sent by the client was syntactically incorrect ().

:oops:
Thanks in advance.

Enhancement 53877 is open to track the status of that suggestion

Glad to hear it.
Cheers.

Your answer


Register or to post your answer.