Basic Authentication using LANSA Integrator

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
jccobank
Posts: 2
Joined: Thu Oct 05, 2023 1:37 am

Basic Authentication using LANSA Integrator

Post by jccobank »

We are using the JSM HTTP Server in order to implement basic authentication for web services.

We are using SoapUI Client to test the web service:

Endpoint: http://172.30.120.23:82
Resource: /cgi-bin/jsmdirect?service=Z$WS001
Method: POST

We are using the default credentials specified in the httpd.xml file i.e (User="user" and password= "password")
The httpd.xml contains access code "bb644a9819425bfd8586b408896a1031" which is a hash of user, password and realm

Question 1: how do we compute a new hash if we want to change user credentials?

Question 2: We were able to get past the authentication when we passed the default user credentials but got another error:

Error:
<html>
<head><title>501 Method Not Implemented</title></head>
<body>
<p>
<b>HTTP POST method is not implemented</b>
</p>

How do I specify the method in the http.xml? I guess we need to somehow define cgi-bin/jsmdirect?

Any help would be appreciated.
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: Basic Authentication using LANSA Integrator

Post by René Houba »

HI jccobank,

This is NOT related the the LANSA Integrator SOAPServerService, correct?

Kind regards,
René
Post Reply