Skip to main content
Feb 4, 2021 12:28 PM UTC
Solved

Windchill Odata Rest Endpoint with form based authentication

Hi,

 

in our project, customer decided to switch from basic authentication to form based authentication.

 

We have existing interfaces which were configured to use the basic authentication. 

 

I have found that adding "/protocolAuth" to the Rest Urls would work form based authentication. But this will require that the interface partners have to update their urls. Is there an another way to handle this conversion, without having to update the URLs of the interface a?

 

Thanks in advance!

xolomonAnswer
Jun 2, 2021 7:48 AM UTC

We have managed to configure Basic Authentication for the Odata requests. 

 

We have added the in the "AuthResAdditions.xml" Data “<resource type="protocolAuth">servlet/odata</resource>” and applied "ant -f applyApacheWebAppConfig.xml " command in “Windchill/Windchill_112/Windchill/apacheConf/config" folder. The changes are applied in the "30-app-Windchill-Auth.conf" file in /Windchill/Windchill_112/HTTPServer/conf/conf.d. Beside of this, we have added in WEB.xml security constraint for the Odata URL Pattern. 

1 reply

xolomonAuthorAnswer
Jun 2, 2021 7:48 AM UTC

We have managed to configure Basic Authentication for the Odata requests. 

 

We have added the in the "AuthResAdditions.xml" Data “<resource type="protocolAuth">servlet/odata</resource>” and applied "ant -f applyApacheWebAppConfig.xml " command in “Windchill/Windchill_112/Windchill/apacheConf/config" folder. The changes are applied in the "30-app-Windchill-Auth.conf" file in /Windchill/Windchill_112/HTTPServer/conf/conf.d. Beside of this, we have added in WEB.xml security constraint for the Odata URL Pattern.