Forum Discussion

mchong's avatar
mchong
New Contributor
9 years ago

Does soapUI 5.1.3 support Kerberos authentication?

Hi,

     I'm trying configure soapUI to use Kerberos authentication when submitting a web service call:

 

soapui capture.JPG

 

I've configure the global HTTP setting to do "preemptive authentication" and have also followed the instructions given in http://www.soapui.org/soap-and-wsdl/spnego/kerberos-authentication.html?_ga=1.157907901.681813866.1428399671

to further set up Kerberos authentication. However, upon testing, soapUI 5.1.3 did send any authorization headers at all to the web service server:

 

Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "POST /IHIS HTTP/1.1[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "SOAPAction: "http://warehouse.acme.com/ws/listProducts"[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "Content-Length: 282[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "Host: explore.apim.ca:8080[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "Connection: Keep-Alive[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://warehouse.acme.com/ws">[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " <soapenv:Header/>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " <soapenv:Body>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " <ws:listProducts>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " <ws:delay>1</ws:delay>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " </ws:listProducts>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " </soapenv:Body>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "</soapenv:Envelope>"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "HTTP/1.1 401 Unauthorized[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "Server: Apache-Coyote/1.1[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "WWW-Authenticate: Negotiate[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "L7-Policy-URL: http://explore.apim.ca:8080/ssg/policy/disco?serviceoid=4c0fe71b6a3370793a6a38b0f454ae9b[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "Content-Length: 23[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "Date: Mon, 22 Jun 2015 02:33:58 GMT[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "Authentication Required"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "POST /IHIS HTTP/1.1[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "SOAPAction: "http://warehouse.acme.com/ws/listProducts"[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "Content-Length: 282[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "Host: explore.apim.ca:8080[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "Connection: Keep-Alive[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://warehouse.acme.com/ws">[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " <soapenv:Header/>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " <soapenv:Body>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " <ws:listProducts>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " <ws:delay>1</ws:delay>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " </ws:listProducts>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> " </soapenv:Body>[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:>> "</soapenv:Envelope>"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "HTTP/1.1 401 Unauthorized[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "Server: Apache-Coyote/1.1[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "WWW-Authenticate: Negotiate[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "L7-Policy-URL: http://explore.apim.ca:8080/ssg/policy/disco?serviceoid=4c0fe71b6a3370793a6a38b0f454ae9b[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "Content-Length: 23[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "Date: Mon, 22 Jun 2015 02:33:58 GMT[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "[\r][\n]"
Mon Jun 22 10:33:59 SGT 2015:DEBUG:<< "Authentication Required"

 

Does sopaUI 5.1.3 support Kerberos authentication? Or is this a bug?

No RepliesBe the first to reply