cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Windchill Odata Rest Endpoint with form based authentication

xolomon
13-Aquamarine

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!

ACCEPTED SOLUTION

Accepted Solutions
xolomon
13-Aquamarine
(To:xolomon)

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. 

View solution in original post

1 REPLY 1
xolomon
13-Aquamarine
(To:xolomon)

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. 

Announcements

Top Tags