Authentication in 1.1.7

Excuse me if this is posted somewhere but I can't find it with a basic
google search.

I have 1.1.7 installed and I'm told it supports authentication. But no
idea how to implement this on my custom aggregator. Can some one
please point me to API docs or some specification of how ODK does
auth? Thanks.

openrosa api

https://bitbucket.org/javarosa/javarosa/wiki/AuthorizationAPI
https://bitbucket.org/javarosa/javarosa/wiki/OpenRosaRequest

collect code

http://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/tasks/DownloadFormListTask.java?repo=collect
http://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/tasks/DownloadFormsTask.java?repo=collect
http://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/utilities/WebUtils.java?repo=collect

··· On Tue, Jul 12, 2011 at 08:59, Thomas Smyth wrote: > Excuse me if this is posted somewhere but I can't find it with a basic > google search. > > I have 1.1.7 installed and I'm told it supports authentication. But no > idea how to implement this on my custom aggregator. Can some one > please point me to API docs or some specification of how ODK does > auth? Thanks. >

Hello Thomas,

I just did it one hour ago.
I have read https://bitbucket.org/javarosa/javarosa/wiki/AuthorizationAPI

Regards,
Thales

··· On Tue, Jul 12, 2011 at 12:59 PM, Thomas Smyth wrote:

Excuse me if this is posted somewhere but I can't find it with a basic
google search.

I have 1.1.7 installed and I'm told it supports authentication. But no
idea how to implement this on my custom aggregator. Can some one
please point me to API docs or some specification of how ODK does
auth? Thanks.

Hello,
I am new in ODK develepment and now I am implementing a custom aggregate. I have managed to implement the protocol in most of the parts but i have failed to impliment the Authentication part. I am using Java.

I get the pop up for entering username and password on the client but i failed to get the inputs values from the Servlets request.

Please advice. Sample code will be helpful.

Thanks

both. also, this is in the docs :slight_smile:

··· On Tue, Jul 12, 2011 at 09:04, Thomas Smyth wrote: > Fantastic. Thanks to you both. Does ODK support basic, digest, or both? > > On 12 July 2011 12:02, Thales A. Ceolin wrote: >> Hello Thomas, >> I just did it one hour ago. >> I have read https://bitbucket.org/javarosa/javarosa/wiki/AuthorizationAPI >> Regards, >> Thales >> >> >> On Tue, Jul 12, 2011 at 12:59 PM, Thomas Smyth wrote: >>> >>> Excuse me if this is posted somewhere but I can't find it with a basic >>> google search. >>> >>> I have 1.1.7 installed and I'm told it supports authentication. But no >>> idea how to implement this on my custom aggregator. Can some one >>> please point me to API docs or some specification of how ODK does >>> auth? Thanks. >> >> >

Fantastic. Thanks to you both. Does ODK support basic, digest, or both?

··· On 12 July 2011 12:02, Thales A. Ceolin wrote: > Hello Thomas, > I just did it one hour ago. > I have read https://bitbucket.org/javarosa/javarosa/wiki/AuthorizationAPI > Regards, > Thales > > > On Tue, Jul 12, 2011 at 12:59 PM, Thomas Smyth wrote: >> >> Excuse me if this is posted somewhere but I can't find it with a basic >> google search. >> >> I have 1.1.7 installed and I'm told it supports authentication. But no >> idea how to implement this on my custom aggregator. Can some one >> please point me to API docs or some specification of how ODK does >> auth? Thanks. > >

According to documentaion is both,

I don't know why, but I had to comment the digest part in package
org.odk.collect.android.utilities.Webutils.java

I'm using Basic this moment.

··· -- Thales

On Tue, Jul 12, 2011 at 1:04 PM, Thomas Smyth thomas.smyth@gatech.eduwrote:

Fantastic. Thanks to you both. Does ODK support basic, digest, or both?

On 12 July 2011 12:02, Thales A. Ceolin ceolin@gmail.com wrote:

Hello Thomas,
I just did it one hour ago.
I have read
https://bitbucket.org/javarosa/javarosa/wiki/AuthorizationAPI
Regards,
Thales

On Tue, Jul 12, 2011 at 12:59 PM, Thomas Smyth thomas.smyth@gatech.edu wrote:

Excuse me if this is posted somewhere but I can't find it with a basic
google search.

I have 1.1.7 installed and I'm told it supports authentication. But no
idea how to implement this on my custom aggregator. Can some one
please point me to API docs or some specification of how ODK does
auth? Thanks.

Java?

I just have to ask -- Why?

ODK Aggregate is open source, it is written in Java. It is free.

The interface spec for ODK Collect is defined here:
https://bitbucket.org/javarosa/javarosa/wiki/OpenRosaAPI

The authentication is using Digest Auth, an (old) international standard.

··· On Thu, Mar 6, 2014 at 9:10 AM, wrote:

Hello,
I am new in ODK develepment and now I am implementing a custom aggregate.
I have managed to implement the protocol in most of the parts but i have
failed to impliment the Authentication part. I am using Java.

I get the pop up for entering username and password on the client but i
failed to get the inputs values from the Servlets request.

Please advice. Sample code will be helpful.

Thanks

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Collect supports both.

Aggregate 1.0 will only support digest auth unless you hand-configure your
server configuration; you would also need to do some work in the "change
password" code to support setting the basic auth password (the client-side
Javascript is sending up nulls now).

Mitch

··· On Tue, Jul 12, 2011 at 9:07 AM, Thales A. Ceolin wrote:

According to documentaion is both,

I don't know why, but I had to comment the digest part in package
org.odk.collect.android.utilities.Webutils.java

I'm using Basic this moment.

--
Thales

On Tue, Jul 12, 2011 at 1:04 PM, Thomas Smyth thomas.smyth@gatech.eduwrote:

Fantastic. Thanks to you both. Does ODK support basic, digest, or both?

On 12 July 2011 12:02, Thales A. Ceolin ceolin@gmail.com wrote:

Hello Thomas,
I just did it one hour ago.
I have read
https://bitbucket.org/javarosa/javarosa/wiki/AuthorizationAPI
Regards,
Thales

On Tue, Jul 12, 2011 at 12:59 PM, Thomas Smyth <thomas.smyth@gatech.edu wrote:

Excuse me if this is posted somewhere but I can't find it with a basic
google search.

I have 1.1.7 installed and I'm told it supports authentication. But no
idea how to implement this on my custom aggregator. Can some one
please point me to API docs or some specification of how ODK does
auth? Thanks.

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com