문제

One thing I am still not clear on is whether my client still needs to include the Authentication value in the http header once he has the session id value. Once the client has authenticated and received the session id value shouldn't that be all they have to return?

I am working with an iPad developer who is far away and I am having a hard time simulating his response locally. The answer to this question would help me a lot.

도움이 되었습니까?

해결책

Once you have authenticated with the BasicAuthProvider you will have a valid session cookie.

This cookie is required to access the secure resources. The BasicAuthProvider simply extends the CredentialsAuthProvider. See source code here

So make your Basic Auth request to /Auth, this will provide the session cookie, then you can access the secure resources without the Authorization Basic header.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top