[Building Sakai] BasicLTI profile pictures

Steve Swinsburg steve.swinsburg at gmail.com
Wed Dec 19 05:16:30 PST 2012


Yup there is a bean you can enable in sakai props which does that. It's on by default and the roster uses it. It's not ideal though, as soon as we can get roster2 in we can remove both roster1 and profile1. 

Sent from my iPhone

On 19/12/2012, at 21:34, Adrian Fish <adrian.r.fish at gmail.com> wrote:

> Thanks. Maybe I should make sure that profile and profile2 present the same picture url api, a compat layer. I seem to remember it does already. Steve, can you recall that to be so?
> 
> 
> On 17 December 2012 14:41, Aaron Zeckoski <azeckoski at unicon.net> wrote:
>> > I'd rather avoid reflection if possible due to the cost.
>> 
>> Just FYI that if you cache the reflection lookups (which is pretty
>> safe since it is unlikely the APIs will change at runtime) then the
>> reflection calls will be as fast as running without reflection so I
>> would say it is of limited concern here.
>> 
>> -AZ
>> 
>> 
>> 
>> On Mon, Dec 17, 2012 at 6:27 AM, Adrian Fish <adrian.r.fish at gmail.com> wrote:
>> > Hi all,
>> >
>> > I'm looking at https://jira.sakaiproject.org/browse/BLTI-155 which covers
>> > the acceptance and provisioning of profile pictures from a LTI consumer.
>> >
>> > The easiest way to do this would be to compile profile2 api calls directly
>> > into the blti code although this would mean a coupling between the two
>> > projects. An alternative would be to use reflection to test for the
>> > availability of the profile2 apis at runtime. Another alternative would be
>> > to use the legacy profile api call, setPictureUrl.
>> >
>> > I'd rather avoid reflection if possible due to the cost. Any ideas anybody?
>> >
>> > Cheers,
>> > Adrian.
>> >
>> > _______________________________________________
>> > sakai-dev mailing list
>> > sakai-dev at collab.sakaiproject.org
>> > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> >
>> > TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
>> > with a subject of "unsubscribe"
>> 
>> 
>> 
>> --
>> Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121220/009f6f23/attachment.html 


More information about the sakai-dev mailing list