Authorization header
"Miguel Freitas" <[email protected]> Wed, 24 Jan 2007 15:38:41 +0000
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
Cheers.
I'm having a problem with the Authorization header.
This is what I do when I build a 1st REGISTER request:
AuthorizationHeader authorization =
sipManCallback.headerFactory.createAuthorizationHeader("Digest");
authorization.setUsername(privateID);
authorization.setRealm(realm);
authorization.setParameter("uri",uri);
authorization.setNonce("");
authorization.setResponse("");
registerRequest.addHeader(authorization);
And this is the parsed header that is sent to the network:
Authorization: Digest uri="ptinovacao.pt",realm="ptinovacao.pt",username="
[email protected]",nonce,response
nonce and response parameters should appear with an empty value, in the form
of nonce="" and response="".
This code worked with previous JAIN-SIP releases.
Any idea what could be the problem?
Thanks,
Miguel Freitas
--
- - - - - - - -
- Telecommunications Institute -
- Instituto de Telecomunicacoes -
- Aveiro, Portugal -
- www.it.pt -
- - - - - - - -
_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip