.createAddress("Shootme <sip:" + myAddress + ":" + myPort
+ ">");
ContactHeader contactHeader = protocolObjects.headerFactory
.createContactHeader(address);
response.addHeader(contactHeader);
new DigestServerAuthenticationHelper().generateChallenge(protocolObjects.headerFactory,response,"127.0.0.1");
st.sendResponse(response);
} else {
if ( ! new DigestServerAuthenticationHelper().doAuthenticatePlainTextPassword(request, "password")) {
TestCase.fail("Authentication failed");
}
Response response = protocolObjects.messageFactory.createResponse(
Response.OK, request);
((ToHeader) response.getHeader(ToHeader.NAME))