Okay, I've narrowed my question down. Basically it's this. I need to
use preemptive authentication as I'm writing my own REST services and
not issuing a standard challenge / response, but rather just expecting
a correct username and password and using HTTP to transport it. So if
anyone has done something like this on Android my question would be
how you setup a CredentialsProvider so that it has that username and
password in the HttpRequestInterceptor.

Preston

On May 6, 5:31 pm, Preston <[email protected]> wrote:
> I have some questions about a REST client that I'm writing for
> Android. I'm struggling with how to properly do preemptive
> authorization.
>
> Basically I'm storing client credentials encoded on the client. I want
> to pass them through whenever the user makes a request over HTTPS with
> some caching on the server side.
>
> #1 - I got the idea to use credentials as opposed to cookies or
> something of that nature from some REST developers. However, I wanted
> to check on the sanity of storing those credentials on the client.
>
> #2 - Assuming that sounds kosher, then here comes the part where I'm
> struggling. I'm struggling getting those credentials passed
> preemptively once I have them. I've looked at examples using
> HttpRequestInterceptor and they all show it pulling credentials out of
> a CredentialsProvider. Do I have to set that up or is there another
> way?
>
> Thanks,
>
> Preston
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to