i'm using android spring library like client for a RestFull Service. This service requires BASIC http authentication.
how can i put user and password in the request?
thanks so much
i'm using android spring library like client for a RestFull Service. This service requires BASIC http authentication.
how can i put user and password in the request?
thanks so much
@androidgal We are currently discussing this functionality in the following pull request. I've also created a JIRA for it.
https://github.com/SpringSource/spring-android/pull/2
https://jira.springsource.org/browse/ANDROID-70
Roy Clarkson
Spring Mobile Projects Lead
Why do not use android build-in apache httpclient? I think spring android can handle several features, but for the basic usage, the basic android package is helpful.
Thanks for add support for basic authentication in 1.0.0.RC1 Released.
Are there any sample for use about that?
thanks.
@jiechu there is built in support, using the Authenticator class [1]. However, there are also issues with regard to this on versions prior to Gingerbread [2]. Still, I'll look into leveraging the Authenticator class where it can be used.
[1] http://developer.android.com/referen...enticator.html
[2] http://code.google.com/p/android/issues/detail?id=4326
@androidgal there are no samples available yet, but I've added a task to include one [3].
[3] https://jira.springsource.org/browse/ANDROID-79
Roy Clarkson
Spring Mobile Projects Lead