[Building Sakai] EB client example code?

David Horwitz david.horwitz at uct.ac.za
Tue Jul 17 06:47:00 PDT 2012


Hi,

It turned out to be user agent related. Changed it to match the one curl 
sent and it worked. I suspect the request filter is being a bit tool 
clever ...

connection.setRequestProperty("User-Agent", "curl/7.21.2 
(i686-pc-linux-gnu) libcurl/7.21.2 OpenSSL/1.0.0c zlib/1.2.5 libidn/1.15 
libssh2/1.2.7");


D
On 07/17/2012 03:24 PM, Bryan Holladay wrote:
> (I accidentally replied to a different email.  This is the one I
> really meant to reply to.)
>
> I just had this problem when trying to test MSGCNTR-687... I haven't
> tried this, but this is what Mar Savitisky suggested:
>
> Is basic auth turned on in your sakai configuration?
>
> #allow basic auth
> allow.basic.auth.login=true
>
>
>
>
> On Mon, Jul 16, 2012 at 7:30 AM, David Horwitz <david.horwitz at uct.ac.za> wrote:
>> Hi All,
>>
>> Anyone got example code for talking to the EB REST endpoints from Java?
>> Looking to at an intergration from another system and can't seem to get
>> the auth to work. Pretty sure there is some basic trick I'm missing ...
>>
>>
>> D
>>
>> _______________________________________________
>> 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"





More information about the sakai-dev mailing list